Home
last modified time | relevance | path

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

/system/core/libutils/
DUnicode.cpp544 char16_t* u16cur = u16str; in utf8_to_utf16_no_null_terminator() local
553 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_no_null_terminator()
557 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_no_null_terminator()
558 *u16cur++ = (char16_t) ((codepoint & 0x3FF) + 0xDC00); in utf8_to_utf16_no_null_terminator()
563 return u16cur; in utf8_to_utf16_no_null_terminator()
575 char16_t* u16cur = dst; in utf8_to_utf16_n() local
577 while (u8cur < u8end && u16cur < u16end) { in utf8_to_utf16_n()
584 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_n()
588 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_n()
589 if (u16cur >= u16end) { in utf8_to_utf16_n()
[all …]