Home | History | Annotate | Download | only in libutils

Lines Matching defs: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;
347 utf32 = (*cur_utf16++ - 0xD800) << 10;
348 utf32 |= *cur_utf16++ - 0xDC00;
349 utf32 += 0x10000;
351 utf32 = (char32_t) *cur_utf16++;
353 const size_t len = utf32_codepoint_utf8_length(utf32);
354 utf32_codepoint_to_utf8((uint8_t*)cur, utf32, len);
382 char32_t utf32 = 0;
390 utf32 = (utf32 << 6) + (*cur++ & 0x3F);
397 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1));
398 if (utf32 > kUnicodeMaxCodepoint) {
556 // Convert the UTF32 codepoint to one or more UTF16 codepoints
587 // Convert the UTF32 codepoint to one or more UTF16 codepoints