Home
last modified time | relevance | path

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

/external/libcxx/src/
Dlocale.cpp1742 uint16_t wc1 = *frm_nxt; in utf16_to_utf8() local
1743 if (wc1 > Maxcode) in utf16_to_utf8()
1745 if (wc1 < 0x0080) in utf16_to_utf8()
1749 *to_nxt++ = static_cast<uint8_t>(wc1); in utf16_to_utf8()
1751 else if (wc1 < 0x0800) in utf16_to_utf8()
1755 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6)); in utf16_to_utf8()
1756 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F)); in utf16_to_utf8()
1758 else if (wc1 < 0xD800) in utf16_to_utf8()
1762 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12)); in utf16_to_utf8()
1763 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6)); in utf16_to_utf8()
[all …]