diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 17:59:15 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 17:59:15 +0100 |
| commit | 1be243700efc9e36060c5fb65c951d5db6b98e94 (patch) | |
| tree | 2f57d5092f4de4798e80e80b6dd29f984edb7683 /Private/Source/Utils.cxx | |
| parent | 1d3bed385c9666db5b1803ee8e02a2c4fdcc9f29 (diff) | |
Add ROADMAP details, add EFI Library for bootloader.
Add assignee to code in MailMap.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/Utils.cxx')
| -rw-r--r-- | Private/Source/Utils.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Private/Source/Utils.cxx b/Private/Source/Utils.cxx index 3a3ba2a0..7c61ec96 100644 --- a/Private/Source/Utils.cxx +++ b/Private/Source/Utils.cxx @@ -107,13 +107,13 @@ const Char *alloc_string(const Char *text) { return string; } -Int to_uppercase(Int character) { +Int rt_to_uppercase(Int character) { if (character >= 'a' && character <= 'z') return character - 0x20; return character; } -Int to_lower(Int character) { +Int rt_to_lower(Int character) { if (character >= 'A' && character <= 'Z') return character + 0x20; return character; @@ -143,7 +143,7 @@ Boolean is_space(Char chr) { return chr == ' '; } Boolean is_newln(Char chr) { return chr == '\n'; } -voidPtr string_in_string(const char *in, const char *needle) { +voidPtr rt_string_in_string(const char *in, const char *needle) { for (size_t i = 0; i < string_length(in); ++i) { if (string_compare(in + i, needle, string_length(needle)) == 0) return reinterpret_cast<voidPtr>(const_cast<char *>(in + i)); @@ -154,7 +154,7 @@ voidPtr string_in_string(const char *in, const char *needle) { // @brief Checks for a string start at the character. -char *string_from_char(char *str, const char chr) { +char *rt_string_from_char(char *str, const char chr) { while (*str != chr) { ++str; |
