Lines Matching refs:wc
11 int wcwidth(wchar_t wc) {
12 if (wc < 0xffU)
13 return ((wc + 1) & 0x7f) >= 0x21 ? 1 : wc ? -1 : 0;
14 if ((wc & 0xfffeffffU) < 0xfffe) {
15 if ((table[table[wc >> 8] * 32 + ((wc & 255) >> 3)] >> (wc & 7)) & 1)
17 if ((wtable[wtable[wc >> 8] * 32 + ((wc & 255) >> 3)] >> (wc & 7)) & 1)
21 if ((wc & 0xfffe) == 0xfffe)
23 if (wc - 0x20000U < 0x20000)
25 if (wc == 0xe0001 || wc - 0xe0020U < 0x5f || wc - 0xe0100 < 0xef)