Searched refs:u16cur (Results 1 – 1 of 1) sorted by relevance
543 char16_t* u16cur = dst; in utf8_to_utf16_no_null_terminator() local545 while (u8cur < u8end && u16cur < u16end) { in utf8_to_utf16_no_null_terminator()552 *u16cur++ = (char16_t) codepoint; in utf8_to_utf16_no_null_terminator()556 *u16cur++ = (char16_t) ((codepoint >> 10) + 0xD800); in utf8_to_utf16_no_null_terminator()557 if (u16cur >= u16end) { in utf8_to_utf16_no_null_terminator()559 return u16cur-1; in utf8_to_utf16_no_null_terminator()561 *u16cur++ = (char16_t) ((codepoint & 0x3FF) + 0xDC00); in utf8_to_utf16_no_null_terminator()566 return u16cur; in utf8_to_utf16_no_null_terminator()