Searched refs:utf32 (Results 1 – 3 of 3) sorted by relevance
139 char32_t utf32 = first_char; in utf32_at_internal() local144 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() local365 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()[all …]
258 const wchar_t* utf32; in TEST() member279 WideToUTF8(convert_cases[i].utf32, in TEST()280 wcslen(convert_cases[i].utf32), in TEST()
880 uint32_t utf32; in utf8_character_length() local894 for (utf32 = 1, num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80; in utf8_character_length()903 utf32 = (utf32 << 6) + (*cur++ & 0b00111111); in utf8_character_length()910 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1)); in utf8_character_length()911 if (utf32 > kUnicodeMaxCodepoint) { in utf8_character_length()