Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp138 const char first_char = *cur; in utf32_at_internal() local
139 if ((first_char & 0x80) == 0) { // ASCII in utf32_at_internal()
146 char32_t utf32 = first_char; in utf32_at_internal()
148 (first_char & mask); in utf32_at_internal()
367 const char first_char = *cur++; in utf8_length() local
368 if ((first_char & 0x80) == 0) { // ASCII in utf8_length()
374 if ((first_char & 0x40) == 0) { in utf8_length()
382 num_to_read < 5 && (first_char & mask); in utf8_length()
395 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()