Lines Matching refs:us
156 int us, ls, ret;
187 for (us = 0 ; us < 0x80 ; us++) {
195 c = ((ls & 0x100 ? us | 0x80 : us) << 8) | (u_char)ls;
204 table[us] = c | XLAT16_HAS_LOWER_CASE;
209 table[us] = c | XLAT16_HAS_UPPER_CASE;
211 table[us] = 0;
215 if (table[us])
228 table[us] = 0;
238 table[us] = (ud << 8) | ld;
239 table[us] |= (u_char)dst[2] << 16;
240 table[us] |= XLAT16_IS_3BYTE_CHR;
242 table[us] = 0;
247 table[us] = quirk_unix2vendor((ud << 8) | ld,
249 if ((table[us] >> 8) == 0)
250 table[us] |= XLAT16_ACCEPT_NULL_OUT;
253 table[us] = ud;
255 table[us] |= (u_char)tolower(ud) << 16;
256 table[us] |= XLAT16_HAS_LOWER_CASE;
259 table[us] |= (u_char)toupper(ud) << 16;
260 table[us] |= XLAT16_HAS_UPPER_CASE;
268 table[us] |= XLAT16_ACCEPT_NULL_IN;
271 c = ls > 0xff ? us | 0x80 : us;
273 table[us] |= (u_char)tolower(c) << 16;
274 table[us] |= XLAT16_HAS_FROM_LOWER_CASE;
277 table[us] |= (u_char)toupper(c) << 16;
278 table[us] |= XLAT16_HAS_FROM_UPPER_CASE;
283 if (table[us] == 0)