Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp549 char16_t* u16cur = u16str; in utf8_to_utf16_no_null_terminator() local
558 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_no_null_terminator()
562 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_no_null_terminator()
563 *u16cur++ = (char16_t) ((codepoint & 0x3FF) + 0xDC00); in utf8_to_utf16_no_null_terminator()
568 return u16cur; in utf8_to_utf16_no_null_terminator()
580 char16_t* u16cur = dst; in utf8_to_utf16_n() local
582 while (u8cur < u8end && u16cur < u16end) { in utf8_to_utf16_n()
589 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_n()
593 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_n()
594 if (u16cur >= u16end) { in utf8_to_utf16_n()
[all …]