Lines Matching refs:wc
33 int wcwidth(wchar_t wc) {
35 if (wc >= 0x20 && wc < 0x7f) return 1;
38 if (wc == 0) return 0;
41 if (wc < ' ' || (wc >= 0x7f && wc <= 0xa0)) return -1;
47 switch (__icu_charType(wc)) {
58 if (__icu_hasBinaryProperty(wc, UCHAR_DEFAULT_IGNORABLE_CODE_POINT, nullptr)) return 0;
61 switch (__icu_getIntPropertyValue(wc, UCHAR_HANGUL_SYLLABLE_TYPE)) {
71 if (wc >= 0x3248 && wc <= 0x4dff) {
74 if (wc <= 0x324f) return 2;
76 if (wc >= 0x4dc0) return 2;
80 switch (__icu_getIntPropertyValue(wc, UCHAR_EAST_ASIAN_WIDTH)) {