Lines Matching defs:us
157 int us, ls, ret;
188 for (us = 0 ; us < 0x80 ; us++) {
196 c = ((ls & 0x100 ? us | 0x80 : us) << 8) | (u_char)ls;
205 table[us] = c | XLAT16_HAS_LOWER_CASE;
210 table[us] = c | XLAT16_HAS_UPPER_CASE;
212 table[us] = 0;
216 if (table[us])
229 table[us] = 0;
239 table[us] = (ud << 8) | ld;
240 table[us] |= (u_char)dst[2] << 16;
241 table[us] |= XLAT16_IS_3BYTE_CHR;
243 table[us] = 0;
248 table[us] = quirk_unix2vendor((ud << 8) | ld,
250 if ((table[us] >> 8) == 0)
251 table[us] |= XLAT16_ACCEPT_NULL_OUT;
254 table[us] = ud;
256 table[us] |= (u_char)tolower(ud) << 16;
257 table[us] |= XLAT16_HAS_LOWER_CASE;
260 table[us] |= (u_char)toupper(ud) << 16;
261 table[us] |= XLAT16_HAS_UPPER_CASE;
269 table[us] |= XLAT16_ACCEPT_NULL_IN;
272 c = ls > 0xff ? us | 0x80 : us;
274 table[us] |= (u_char)tolower(c) << 16;
275 table[us] |= XLAT16_HAS_FROM_LOWER_CASE;
278 table[us] |= (u_char)toupper(c) << 16;
279 table[us] |= XLAT16_HAS_FROM_UPPER_CASE;
284 if (table[us] == 0)