Lines Matching refs:uc
315 uc_width (ucs4_t uc, const char *encoding) in uc_width() argument
318 if ((uc >> 9) < 240) in uc_width()
320 int ind = nonspacing_table_ind[uc >> 9]; in uc_width()
322 if ((nonspacing_table_data[64*ind + ((uc >> 3) & 63)] >> (uc & 7)) & 1) in uc_width()
324 if (uc > 0 && uc < 0xa0) in uc_width()
330 else if ((uc >> 9) == (0xe0000 >> 9)) in uc_width()
332 if (uc >= 0xe0100) in uc_width()
334 if (uc <= 0xe01ef) in uc_width()
339 if (uc >= 0xe0020 ? uc <= 0xe007f : uc == 0xe0001) in uc_width()
347 if (uc >= 0x1100 in uc_width()
348 && ((uc < 0x1160) /* Hangul Jamo */ in uc_width()
349 || (uc >= 0x2329 && uc < 0x232b) /* Angle Brackets */ in uc_width()
350 || (uc >= 0x2e80 && uc < 0xa4d0 /* CJK ... Yi */ in uc_width()
351 && !(uc == 0x303f) && !(uc >= 0x4dc0 && uc < 0x4e00)) in uc_width()
352 || (uc >= 0xac00 && uc < 0xd7a4) /* Hangul Syllables */ in uc_width()
353 || (uc >= 0xf900 && uc < 0xfb00) /* CJK Compatibility Ideographs */ in uc_width()
354 || (uc >= 0xfe10 && uc < 0xfe20) /* Presentation Forms for Vertical */ in uc_width()
355 || (uc >= 0xfe30 && uc < 0xfe70) /* CJK Compatibility Forms */ in uc_width()
356 || (uc >= 0xff00 && uc < 0xff61) /* Fullwidth Forms */ in uc_width()
357 || (uc >= 0xffe0 && uc < 0xffe7) /* Fullwidth Signs */ in uc_width()
358 || (uc >= 0x20000 && uc <= 0x2ffff) /* Supplementary Ideographic Plane */ in uc_width()
359 || (uc >= 0x30000 && uc <= 0x3ffff) /* Tertiary Ideographic Plane */ in uc_width()
364 if (uc >= 0x00A1 && uc < 0xFF61 && uc != 0x20A9 in uc_width()