Lines Matching refs:ucs
109 bisearch(uint32_t ucs, const struct interval *table, int max) in bisearch() argument
114 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
119 if (ucs > table[mid].last) in bisearch()
121 else if (ucs < table[mid].first) in bisearch()
171 uint32_t ucs = (uint32_t) _ucs; in __wcwidth() local
188 if (ucs == 0) in __wcwidth()
192 if (ucs >= 0x20 && ucs < 0x7f) in __wcwidth()
196 if (ucs < 0xa0) in __wcwidth()
200 if (ucs >= (uint32_t) 0xd800 && ucs <= (uint32_t) 0xdfff) in __wcwidth()
208 && bisearch(ucs, ambiguous, in __wcwidth()
213 if (bisearch(ucs, combining, in __wcwidth()
221 && bisearch(ucs, wide, in __wcwidth()
227 if (iswprint (ucs)) in __wcwidth()
229 if (iswcntrl (ucs) || ucs == L'\0') in __wcwidth()