Lines Matching refs:translations
41 static unsigned short translations[][E_TABSZ] = { variable
229 unsigned short *t = translations[m]; in set_inverse_transl()
244 for (unsigned int ch = 0; ch < ARRAY_SIZE(translations[m]); ch++) { in set_inverse_transl()
290 return translations[m]; in set_translate()
365 memcpy(translations[USER_MAP], inbuf, sizeof(inbuf)); in con_set_trans_old()
374 unsigned short *p = translations[USER_MAP]; in con_get_trans_old()
396 memcpy(translations[USER_MAP], inbuf, sizeof(inbuf)); in con_set_trans_new()
407 memcpy(outbuf, translations[USER_MAP], sizeof(outbuf)); in con_get_trans_new()
849 unsigned short uni = translations[USER_MAP][c]; in conv_8bit_to_uni()
856 for (c = 0; c < ARRAY_SIZE(translations[USER_MAP]); c++) in conv_uni_to_8bit()
857 if (translations[USER_MAP][c] == uni || in conv_uni_to_8bit()
858 (translations[USER_MAP][c] == (c | 0xf000) && uni == c)) in conv_uni_to_8bit()