Home | History | Annotate | Download | only in utils

Lines Matching refs:utf32

145     char32_t utf32 = first_char;
150 utf32 = (utf32 << 6) + (*cur++ & 0x3F);
153 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1)));
156 return static_cast<int32_t>(utf32);
343 char32_t utf32;
346 utf32 = (*cur_utf16++ - 0xD800) << 10;
347 utf32 |= *cur_utf16++ - 0xDC00;
348 utf32 += 0x10000;
350 utf32 = (char32_t) *cur_utf16++;
352 const size_t len = utf32_codepoint_utf8_length(utf32);
353 utf32_codepoint_to_utf8((uint8_t*)cur, utf32, len);
381 char32_t utf32 = 0;
389 utf32 = (utf32 << 6) + (*cur++ & 0x3F);
396 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1));
397 if (utf32 > kUnicodeMaxCodepoint) {
555 // Convert the UTF32 codepoint to one or more UTF16 codepoints