Home
last modified time | relevance | path

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

/frameworks/native/libs/utils/
DUnicode.cpp137 const char first_char = *cur; in utf32_at_internal() local
138 if ((first_char & 0x80) == 0) { // ASCII in utf32_at_internal()
145 char32_t utf32 = first_char; in utf32_at_internal()
147 (first_char & mask); in utf32_at_internal()
368 const char first_char = *cur++; in utf8_length() local
369 if ((first_char & 0x80) == 0) { // ASCII in utf8_length()
375 if ((first_char & 0x40) == 0) { in utf8_length()
383 num_to_read < 5 && (first_char & mask); in utf8_length()
396 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()
459 const char first_char = *cur; in utf8_to_utf32_length() local
[all …]