Searched refs:utf32 (Results 1 - 3 of 3) sorted by relevance

/system/core/libutils/
H A DUnicode.cpp139 char32_t utf32 = first_char; local
144 utf32 = (utf32 << 6) + (*cur++ & 0x3F);
147 utf32 &= ~(to_ignore_mask << (6 * (num_to_read - 1)));
150 return static_cast<int32_t>(utf32);
361 char32_t utf32; local
365 utf32 = (*cur_utf16++ - 0xD800) << 10;
366 utf32 |= *cur_utf16++ - 0xDC00;
367 utf32 += 0x10000;
369 utf32
400 char32_t utf32 = 0; local
[all...]
/system/core/base/
H A Dutf8_test.cpp258 const wchar_t* utf32; member in struct:android::base::WideToUTF8Case
279 WideToUTF8(convert_cases[i].utf32,
280 wcslen(convert_cases[i].utf32),
/system/core/liblog/
H A Dlogprint.c880 uint32_t utf32; local
894 for (utf32 = 1, num_to_read = 1, mask = 0x40, to_ignore_mask = 0x80;
903 utf32 = (utf32 << 6) + (*cur++ & 0b00111111);
910 utf32 |= ((~to_ignore_mask) & first_char) << (6 * (num_to_read - 1));
911 if (utf32 > kUnicodeMaxCodepoint) {

Completed in 96 milliseconds