Home
last modified time | relevance | path

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

/ndk/sources/android/support/src/
Dwchar_support.c45 wchar_t wc1 = towlower(s1[n]); in wcscasecmp() local
47 if (wc1 != wc2) in wcscasecmp()
48 return (wc1 > wc2) ? +1 : -1; in wcscasecmp()
49 if (wc1 == L'\0') in wcscasecmp()
129 wchar_t wc1 = towlower(s1[i]); in wcsncasecmp() local
131 if (wc1 != wc2) in wcsncasecmp()
132 return (wc1 > wc2) ? +1 : -1; in wcsncasecmp()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dlocale.cpp1711 uint16_t wc1 = *frm_nxt; in utf16_to_utf8() local
1712 if (wc1 > Maxcode) in utf16_to_utf8()
1714 if (wc1 < 0x0080) in utf16_to_utf8()
1718 *to_nxt++ = static_cast<uint8_t>(wc1); in utf16_to_utf8()
1720 else if (wc1 < 0x0800) in utf16_to_utf8()
1724 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6)); in utf16_to_utf8()
1725 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F)); in utf16_to_utf8()
1727 else if (wc1 < 0xD800) in utf16_to_utf8()
1731 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12)); in utf16_to_utf8()
1732 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6)); in utf16_to_utf8()
[all …]