Lines Matching refs:inv
230 unsigned char *inv;
234 inv = dict->inverse_translations[m];
236 if (!inv) {
237 inv = dict->inverse_translations[m] = kmalloc(MAX_GLYPH,
239 if (!inv)
242 memset(inv, 0, MAX_GLYPH);
246 if (glyph >= 0 && glyph < MAX_GLYPH && inv[glyph] < 32) {
248 inv[glyph] = ch;
256 u16 *inv;
261 inv = dict->inverse_trans_unicode;
262 if (!inv) {
263 inv = dict->inverse_trans_unicode = kmalloc_array(MAX_GLYPH,
264 sizeof(*inv), GFP_KERNEL);
265 if (!inv)
268 memset(inv, 0, MAX_GLYPH * sizeof(*inv));
280 if (glyph < MAX_GLYPH && inv[glyph] < 32)
281 inv[glyph] = UNI(d, r, g);