diff options
author | Alexander Smirnov <alex@ydb.tech> | 2025-03-24 03:42:34 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2025-03-24 03:42:34 +0000 |
commit | 3df8b53ce7c70b73ace8d17c34f466062e0b7ac1 (patch) | |
tree | afab61cb1a33f19529b7c2a0731408a65832eb6b /util/charset | |
parent | d7e55a6b32b9591d28485ff45ed016c3e4e6ca0d (diff) | |
parent | 1726c59403606d2788b58987a0a52288c0889479 (diff) | |
download | ydb-main.tar.gz |
Diffstat (limited to 'util/charset')
-rw-r--r-- | util/charset/wide.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/charset/wide.h b/util/charset/wide.h index 4792a65953..387a2fc071 100644 --- a/util/charset/wide.h +++ b/util/charset/wide.h @@ -804,8 +804,8 @@ bool ToUpper(TUtf16String& text, size_t pos = 0, size_t count = TUtf16String::np * * NOTE: `pos` and `count` are measured in `wchar16`, not in codepoints. */ -bool ToLower(TUtf32String& /*text*/, size_t /*pos*/ = 0, size_t /*count*/ = TUtf16String::npos); -bool ToUpper(TUtf32String& /*text*/, size_t /*pos*/ = 0, size_t /*count*/ = TUtf16String::npos); +bool ToLower(TUtf32String& /*text*/, size_t /*pos*/ = 0, size_t /*count*/ = TUtf32String::npos); +bool ToUpper(TUtf32String& /*text*/, size_t /*pos*/ = 0, size_t /*count*/ = TUtf32String::npos); /* Titlecase first symbol and lowercase the rest, see `ToLower` for more details. */ @@ -813,7 +813,7 @@ bool ToTitle(TUtf16String& text, size_t pos = 0, size_t count = TUtf16String::np /* Titlecase first symbol and lowercase the rest, see `ToLower` for more details. */ -bool ToTitle(TUtf32String& /*text*/, size_t /*pos*/ = 0, size_t /*count*/ = TUtf16String::npos); +bool ToTitle(TUtf32String& /*text*/, size_t /*pos*/ = 0, size_t /*count*/ = TUtf32String::npos); /* @param text Pointer to the string to modify * @param length Length of the string to modify @@ -855,9 +855,9 @@ TUtf16String ToLowerRet(const TWtringBuf text, size_t pos = 0, size_t count = TW TUtf16String ToUpperRet(const TWtringBuf text, size_t pos = 0, size_t count = TWtringBuf::npos) Y_WARN_UNUSED_RESULT; TUtf16String ToTitleRet(const TWtringBuf text, size_t pos = 0, size_t count = TWtringBuf::npos) Y_WARN_UNUSED_RESULT; -TUtf32String ToLowerRet(const TUtf32StringBuf text, size_t pos = 0, size_t count = TWtringBuf::npos) Y_WARN_UNUSED_RESULT; -TUtf32String ToUpperRet(const TUtf32StringBuf text, size_t pos = 0, size_t count = TWtringBuf::npos) Y_WARN_UNUSED_RESULT; -TUtf32String ToTitleRet(const TUtf32StringBuf text, size_t pos = 0, size_t count = TWtringBuf::npos) Y_WARN_UNUSED_RESULT; +TUtf32String ToLowerRet(const TUtf32StringBuf text, size_t pos = 0, size_t count = TUtf32StringBuf::npos) Y_WARN_UNUSED_RESULT; +TUtf32String ToUpperRet(const TUtf32StringBuf text, size_t pos = 0, size_t count = TUtf32StringBuf::npos) Y_WARN_UNUSED_RESULT; +TUtf32String ToTitleRet(const TUtf32StringBuf text, size_t pos = 0, size_t count = TUtf32StringBuf::npos) Y_WARN_UNUSED_RESULT; //! replaces the '<', '>' and '&' characters in string with '<', '>' and '&' respectively // insertBr=true - replace '\r' and '\n' with "<BR>" |