Home
last modified time | relevance | path

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

/external/toybox/toys/example/
Ddemo_utf8towc.c23 wchar_t wc1, wc2; in demo_utf8towc_main() local
29 wc1 = wc2 = 0; in demo_utf8towc_main()
36 len2 = utf8towc(&wc2, str, len2); in demo_utf8towc_main()
37 if (len1 != len2 || wc1 != wc2) in demo_utf8towc_main()
38 printf("%x %d %x %d %x\n", u, len1, wc1, len2, wc2); in demo_utf8towc_main()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dwidenable-conditions.ll119 %wc2 = call i1 @llvm.experimental.widenable.condition()
120 %and = and i1 %wc, %wc2
134 %wc2 = call i1 @llvm.experimental.widenable.condition()
135 %and = and i1 %wc, %wc2
148 %wc2 = call i1 @llvm.experimental.widenable.condition()
149 call void @use(i1 %wc2)
150 %and = and i1 %wc, %wc2
/external/libcxx/src/
Dlocale.cpp1781 uint16_t wc2 = frm_nxt[1]; in utf16_to_utf8() local
1782 if ((wc2 & 0xFC00) != 0xDC00) in utf16_to_utf8()
1787 ((wc1 & 0x003FUL) << 10) + (wc2 & 0x03FF) > Maxcode) in utf16_to_utf8()
1793 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6)); in utf16_to_utf8()
1794 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F)); in utf16_to_utf8()
1858 uint16_t wc2 = static_cast<uint16_t>(frm_nxt[1]); in utf16_to_utf8() local
1859 if ((wc2 & 0xFC00) != 0xDC00) in utf16_to_utf8()
1864 ((wc1 & 0x003FUL) << 10) + (wc2 & 0x03FF) > Maxcode) in utf16_to_utf8()
1870 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6)); in utf16_to_utf8()
1871 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F)); in utf16_to_utf8()
/external/llvm-project/libcxx/src/
Dlocale.cpp1794 uint16_t wc2 = frm_nxt[1]; in utf16_to_utf8() local
1795 if ((wc2 & 0xFC00) != 0xDC00) in utf16_to_utf8()
1800 ((wc1 & 0x003FUL) << 10) + (wc2 & 0x03FF) > Maxcode) in utf16_to_utf8()
1806 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6)); in utf16_to_utf8()
1807 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F)); in utf16_to_utf8()
1871 uint16_t wc2 = static_cast<uint16_t>(frm_nxt[1]); in utf16_to_utf8() local
1872 if ((wc2 & 0xFC00) != 0xDC00) in utf16_to_utf8()
1877 ((wc1 & 0x003FUL) << 10) + (wc2 & 0x03FF) > Maxcode) in utf16_to_utf8()
1883 *to_nxt++ = static_cast<uint8_t>(0x80 | ((wc1 & 0x0003) << 4) | ((wc2 & 0x03C0) >> 6)); in utf16_to_utf8()
1884 *to_nxt++ = static_cast<uint8_t>(0x80 | (wc2 & 0x003F)); in utf16_to_utf8()
/external/toybox/toys/pending/
Dsh.c996 wchar_t wc1, wc2; in utf8chr() local
1004 if(1>(ll = utf8towc(&wc2, chrs, 99))) chrs++; in utf8chr()
1006 if (wc1 == wc2) return wc1; in utf8chr()
/external/llvm-project/llvm/test/Transforms/LoopPredication/
Dpredicate-exits.ll1052 %wc2 = call i1 @llvm.experimental.widenable.condition()
1078 %wb_cond = and i1 %within.bounds2, %wc2