Lines Matching refs:utf32
139 char32_t utf32 = first_char; in utf32_at_internal() local
144 utf32 = (utf32 << 6) + (*cur++ & 0x3F); in utf32_at_internal()
147 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1))); in utf32_at_internal()
150 return static_cast<int32_t>(utf32); in utf32_at_internal()
361 char32_t utf32; in utf16_to_utf8() local
365 utf32 = (*cur_utf16++ - 0xD800) << 10; in utf16_to_utf8()
366 utf32 |= *cur_utf16++ - 0xDC00; in utf16_to_utf8()
367 utf32 += 0x10000; in utf16_to_utf8()
369 utf32 = (char32_t) *cur_utf16++; in utf16_to_utf8()
371 const size_t len = utf32_codepoint_utf8_length(utf32); in utf16_to_utf8()
372 utf32_codepoint_to_utf8((uint8_t*)cur, utf32, len); in utf16_to_utf8()
400 char32_t utf32 = 0; in utf8_length() local
408 utf32 = (utf32 << 6) + (*cur++ & 0x3F); in utf8_length()
415 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()
416 if (utf32 > kUnicodeMaxCodepoint) { in utf8_length()