Searched refs:cur_utf16 (Results 1 – 1 of 1) sorted by relevance
334 const char16_t* cur_utf16 = src; in utf16_to_utf8() local337 while (cur_utf16 < end_utf16) { in utf16_to_utf8()340 if((*cur_utf16 & 0xFC00) == 0xD800 && (cur_utf16 + 1) < end_utf16 in utf16_to_utf8()341 && (*(cur_utf16 + 1) & 0xFC00) == 0xDC00) { in utf16_to_utf8()342 utf32 = (*cur_utf16++ - 0xD800) << 10; in utf16_to_utf8()343 utf32 |= *cur_utf16++ - 0xDC00; in utf16_to_utf8()346 utf32 = (char32_t) *cur_utf16++; in utf16_to_utf8()