Lines Matching refs:first_char
131 const char first_char = *cur; in utf32_at_internal() local
132 if ((first_char & 0x80) == 0) { // ASCII in utf32_at_internal()
139 char32_t utf32 = first_char; in utf32_at_internal()
141 (first_char & mask); in utf32_at_internal()
387 const char first_char = *cur++; in utf8_length() local
388 if ((first_char & 0x80) == 0) { // ASCII in utf8_length()
394 if ((first_char & 0x40) == 0) { in utf8_length()
402 num_to_read < 5 && (first_char & mask); in utf8_length()
415 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()
478 const char first_char = *cur; in utf8_to_utf32_length() local
480 if ((first_char & 0x80) == 0) { // ASCII in utf8_to_utf32_length()
485 for (mask = 0x40; (first_char & mask); num_to_skip++, mask >>= 1) { in utf8_to_utf32_length()