Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp568 char16_t* u16cur = u16str; in utf8_to_utf16_no_null_terminator() local
577 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_no_null_terminator()
581 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_no_null_terminator()
582 *u16cur++ = (char16_t) ((codepoint & 0x3FF) + 0xDC00); in utf8_to_utf16_no_null_terminator()
587 return u16cur; in utf8_to_utf16_no_null_terminator()
599 char16_t* u16cur = dst; in utf8_to_utf16_n() local
601 while (u8cur < u8end && u16cur < u16end) { in utf8_to_utf16_n()
608 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_n()
612 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_n()
613 if (u16cur >= u16end) { in utf8_to_utf16_n()
[all …]