Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp155 size_t char_len = utf32_codepoint_utf8_length(*src++); in utf32_to_utf8_length() local
156 if (SSIZE_MAX - char_len < ret) { in utf32_to_utf8_length()
163 ret += char_len; in utf32_to_utf8_length()
326 size_t char_len; in utf16_to_utf8_length() local
330 char_len = 4; in utf16_to_utf8_length()
333 char_len = utf32_codepoint_utf8_length((char32_t)*src++); in utf16_to_utf8_length()
335 if (SSIZE_MAX - char_len < ret) { in utf16_to_utf8_length()
342 ret += char_len; in utf16_to_utf8_length()