Home
last modified time | relevance | path

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

/external/libcxx/src/
Dlocale.cpp1826 uint16_t wc2 = frm_nxt[1]; in utf16_to_utf8() local
1827 if ((wc2 & 0xFC00) != 0xDC00) in utf16_to_utf8()
1832 ((wc1 & 0x003FUL) << 10) + (wc2 & 0x03FF) > Maxcode) in utf16_to_utf8()
1838 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6)); in utf16_to_utf8()
1839 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F)); in utf16_to_utf8()
1903 uint16_t wc2 = static_cast<uint16_t>(frm_nxt[1]); in utf16_to_utf8() local
1904 if ((wc2 & 0xFC00) != 0xDC00) in utf16_to_utf8()
1909 ((wc1 & 0x003FUL) << 10) + (wc2 & 0x03FF) > Maxcode) in utf16_to_utf8()
1915 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6)); in utf16_to_utf8()
1916 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F)); in utf16_to_utf8()