Searched refs:first_char (Results 1 – 2 of 2) sorted by relevance
131 const char first_char = *cur; in utf32_at_internal() local132 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() local388 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[all …]
876 const char first_char = *cur++; in utf8_character_length() local882 if ((first_char & 0x80) == 0) { /* ASCII */ in utf8_character_length()883 return first_char ? 1 : -1; in utf8_character_length()890 if ((first_char & 0x40) == 0) { in utf8_character_length()895 num_to_read < 5 && (first_char & mask); in utf8_character_length()910 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_character_length()