Lines Matching refs:utf32
146 char32_t utf32 = first_char; in utf32_at_internal() local
151 utf32 = (utf32 << 6) + (*cur++ & 0x3F); in utf32_at_internal()
154 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1))); in utf32_at_internal()
157 return static_cast<int32_t>(utf32); in utf32_at_internal()
338 char32_t utf32; in utf16_to_utf8() local
342 utf32 = (*cur_utf16++ - 0xD800) << 10; in utf16_to_utf8()
343 utf32 |= *cur_utf16++ - 0xDC00; in utf16_to_utf8()
344 utf32 += 0x10000; in utf16_to_utf8()
346 utf32 = (char32_t) *cur_utf16++; in utf16_to_utf8()
348 const size_t len = utf32_codepoint_utf8_length(utf32); in utf16_to_utf8()
350 utf32_codepoint_to_utf8((uint8_t*)cur, utf32, len); in utf16_to_utf8()
380 char32_t utf32 = 0; in utf8_length() local
388 utf32 = (utf32 << 6) + (*cur++ & 0x3F); in utf8_length()
395 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_length()
396 if (utf32 > kUnicodeMaxCodepoint) { in utf8_length()