Home
last modified time | relevance | path

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

/ndk/sources/android/support/src/
Dwchar_support.c46 wchar_t wc1 = towlower(s1[n]); in wcscasecmp() local
48 if (wc1 != wc2) in wcscasecmp()
49 return (wc1 > wc2) ? +1 : -1; in wcscasecmp()
50 if (wc1 == L'\0') in wcscasecmp()
130 wchar_t wc1 = towlower(s1[i]); in wcsncasecmp() local
132 if (wc1 != wc2) in wcsncasecmp()
133 return (wc1 > wc2) ? +1 : -1; in wcsncasecmp()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dlocale.cpp1794 uint16_t wc1 = *frm_nxt; in utf16_to_utf8() local
1795 if (wc1 > Maxcode) in utf16_to_utf8()
1797 if (wc1 < 0x0080) in utf16_to_utf8()
1801 *to_nxt++ = static_cast<uint8_t>(wc1); in utf16_to_utf8()
1803 else if (wc1 < 0x0800) in utf16_to_utf8()
1807 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6)); in utf16_to_utf8()
1808 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F)); in utf16_to_utf8()
1810 else if (wc1 < 0xD800) in utf16_to_utf8()
1814 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12)); in utf16_to_utf8()
1815 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6)); in utf16_to_utf8()
[all …]