Home
last modified time | relevance | path

Searched refs:utf32 (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/
DUnicode.cpp146 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()
[all …]
/system/libbase/
Dutf8_test.cpp263 const wchar_t* utf32; in TEST() member
284 WideToUTF8(convert_cases[i].utf32, in TEST()
285 wcslen(convert_cases[i].utf32), in TEST()