Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp339 const char16_t* cur_utf16 = src; in utf16_to_utf8() local
342 while (cur_utf16 < end_utf16) { in utf16_to_utf8()
345 if ((*cur_utf16 & 0xFC00) == 0xD800) { in utf16_to_utf8()
346 utf32 = (*cur_utf16++ - 0xD800) << 10; in utf16_to_utf8()
347 utf32 |= *cur_utf16++ - 0xDC00; in utf16_to_utf8()
350 utf32 = (char32_t) *cur_utf16++; in utf16_to_utf8()