Searched refs:wc1 (Results 1 – 1 of 1) sorted by relevance
1798 uint16_t wc1 = *frm_nxt; in utf16_to_utf8() local1799 if (wc1 > Maxcode) in utf16_to_utf8()1801 if (wc1 < 0x0080) in utf16_to_utf8()1805 *to_nxt++ = static_cast<uint8_t>(wc1); in utf16_to_utf8()1807 else if (wc1 < 0x0800) in utf16_to_utf8()1811 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6)); in utf16_to_utf8()1812 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F)); in utf16_to_utf8()1814 else if (wc1 < 0xD800) in utf16_to_utf8()1818 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12)); in utf16_to_utf8()1819 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6)); in utf16_to_utf8()[all …]