Lines Matching refs:us
155 int us, ls, ret;
186 for (us = 0 ; us < 0x80 ; us++) {
194 c = ((ls & 0x100 ? us | 0x80 : us) << 8) | (u_char)ls;
203 table[us] = c | XLAT16_HAS_LOWER_CASE;
208 table[us] = c | XLAT16_HAS_UPPER_CASE;
210 table[us] = 0;
214 if (table[us])
227 table[us] = 0;
237 table[us] = (ud << 8) | ld;
238 table[us] |= (u_char)dst[2] << 16;
239 table[us] |= XLAT16_IS_3BYTE_CHR;
241 table[us] = 0;
246 table[us] = quirk_unix2vendor((ud << 8) | ld,
248 if ((table[us] >> 8) == 0)
249 table[us] |= XLAT16_ACCEPT_NULL_OUT;
252 table[us] = ud;
254 table[us] |= (u_char)tolower(ud) << 16;
255 table[us] |= XLAT16_HAS_LOWER_CASE;
258 table[us] |= (u_char)toupper(ud) << 16;
259 table[us] |= XLAT16_HAS_UPPER_CASE;
267 table[us] |= XLAT16_ACCEPT_NULL_IN;
270 c = ls > 0xff ? us | 0x80 : us;
272 table[us] |= (u_char)tolower(c) << 16;
273 table[us] |= XLAT16_HAS_FROM_LOWER_CASE;
276 table[us] |= (u_char)toupper(c) << 16;
277 table[us] |= XLAT16_HAS_FROM_UPPER_CASE;
282 if (table[us] == 0)