Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/src/support/android/
Dwchar_support.c55 wchar_t wc1 = towlower(s1[n]); in wcscasecmp() local
57 if (wc1 != wc2) in wcscasecmp()
58 return (wc1 > wc2) ? +1 : -1; in wcscasecmp()
59 if (wc1 == L'\0') in wcscasecmp()
139 wchar_t wc1 = towlower(s1[i]); in wcsncasecmp() local
141 if (wc1 != wc2) in wcsncasecmp()
142 return (wc1 > wc2) ? +1 : -1; in wcsncasecmp()
/ndk/sources/cxx-stl/llvm-libc++/src/
Dlocale.cpp1635 uint16_t wc1 = *frm_nxt; in utf16_to_utf8() local
1636 if (wc1 > Maxcode) in utf16_to_utf8()
1638 if (wc1 < 0x0080) in utf16_to_utf8()
1642 *to_nxt++ = static_cast<uint8_t>(wc1); in utf16_to_utf8()
1644 else if (wc1 < 0x0800) in utf16_to_utf8()
1648 *to_nxt++ = static_cast<uint8_t>(0xC0 | (wc1 >> 6)); in utf16_to_utf8()
1649 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc1 & 0x03F)); in utf16_to_utf8()
1651 else if (wc1 < 0xD800) in utf16_to_utf8()
1655 *to_nxt++ = static_cast<uint8_t>(0xE0 | (wc1 >> 12)); in utf16_to_utf8()
1656 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0FC0) >> 6)); in utf16_to_utf8()
[all …]