Home
last modified time | relevance | path

Searched refs:charLen (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/src/
H A Dunicode_ex.cpp131 int charLen = 0; in Utf16ToUtf8Length() local
135 charLen = 4; in Utf16ToUtf8Length()
139 charLen = Utf32CodePointUtf8Length(static_cast<char32_t>(*str16++)); in Utf16ToUtf8Length()
142 if (utf8Len > (INT_MAX - charLen)) { in Utf16ToUtf8Length()
145 utf8Len += charLen; in Utf16ToUtf8Length()