Lines Matching refs:uc
324 wcwidth(wchar_t uc)
327 if ((uc >> 9) < 240) {
328 int ind = nonspacing_table_ind[uc >> 9];
330 if ((nonspacing_table_data[64 * ind + ((uc >> 3) & 63)] >> (uc & 7))
332 if (uc > 0 && uc < 0xa0)
337 } else if ((uc >> 9) == (0xe0000 >> 9)) {
338 if (uc >= 0xe0100) {
339 if (uc <= 0xe01ef)
342 if (uc >= 0xe0020 ? uc <= 0xe007f : uc == 0xe0001)
350 if (uc >= 0x1100
351 && ((uc < 0x1160) /* Hangul Jamo */
352 || (uc >= 0x2329 && uc < 0x232b) /* Angle Brackets */
353 || (uc >= 0x2e80 && uc < 0xa4d0 /* CJK ... Yi */
354 && !(uc == 0x303f) && !(uc >= 0x4dc0 && uc < 0x4e00))
355 || (uc >= 0xac00 && uc < 0xd7a4) /* Hangul Syllables */
356 || (uc >= 0xf900 && uc < 0xfb00) /* CJK Compatibility Ideographs */
357 || (uc >= 0xfe10 && uc < 0xfe20) /* Presentation Forms for Vertical */
358 || (uc >= 0xfe30 && uc < 0xfe70) /* CJK Compatibility Forms */
359 || (uc >= 0xff00 && uc < 0xff61) /* Fullwidth Forms */
360 || (uc >= 0xffe0 && uc < 0xffe7) /* Fullwidth Signs */
361 || (uc >= 0x20000 && uc <= 0x2a6d6) /* CJK */
362 || (uc >= 0x2f800 && uc <= 0x2fa1d))) /* CJK Compatibility Ideographs */
367 if (uc >= 0x00A1 && uc < 0xFF61 && uc != 0x20A9) {