Lines Matching defs:wch
80 /* check if 'ch' is an acceptable sbcs mapping for 'wch' */
82 WCHAR wch, unsigned char ch )
85 return (table->cp2uni[ch] == wch);
103 WCHAR wch = *src;
134 ch = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)];
135 *used = !is_valid_sbcs_mapping( table, flags, wch, ch );
228 WCHAR wch = *src;
258 *dst = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)];
259 if (!is_valid_sbcs_mapping( table, flags, wch, *dst ))
273 /* check if 'ch' is an acceptable dbcs mapping for 'wch' */
275 WCHAR wch, unsigned short ch )
283 return (table->cp2uni[(off << 8) + (ch & 0xff)] == wch);
285 return (table->cp2uni[ch & 0xff] == wch);
316 WCHAR wch = *src;
348 res = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)];
349 if (!is_valid_dbcs_mapping( table, flags, wch, res ))
402 WCHAR wch = *src;
433 res = uni2cp_low[uni2cp_high[wch >> 8] + (wch & 0xff)];
434 if (!is_valid_dbcs_mapping( table, flags, wch, res ))