Lines Matching refs:index
287 int index; in sjisibm2euc() local
289 index = ((sjis_hi - 0xFA) * (0xFD - 0x40)) + (sjis_lo - 0x40); in sjisibm2euc()
290 if (IS_EUC_IBM2JISX0208(sjisibm2euc_map[index][0], in sjisibm2euc()
291 sjisibm2euc_map[index][1])) { in sjisibm2euc()
292 euc[0] = sjisibm2euc_map[index][0]; in sjisibm2euc()
293 euc[1] = sjisibm2euc_map[index][1]; in sjisibm2euc()
297 euc[1] = sjisibm2euc_map[index][0]; in sjisibm2euc()
298 euc[2] = sjisibm2euc_map[index][1]; in sjisibm2euc()
307 int index, min_index, max_index; in euc2sjisibm_jisx0212() local
315 index = (min_index + max_index) / 2; in euc2sjisibm_jisx0212()
316 if (euc < euc2sjisibm_jisx0212_map[index].euc) in euc2sjisibm_jisx0212()
317 max_index = index - 1; in euc2sjisibm_jisx0212()
319 min_index = index + 1; in euc2sjisibm_jisx0212()
320 if (euc == euc2sjisibm_jisx0212_map[index].euc) { in euc2sjisibm_jisx0212()
321 sjis[0] = euc2sjisibm_jisx0212_map[index].sjis[0]; in euc2sjisibm_jisx0212()
322 sjis[1] = euc2sjisibm_jisx0212_map[index].sjis[1]; in euc2sjisibm_jisx0212()
333 int index; in euc2sjisibm_g3upper() local
336 index = ((euc_hi << 8) | euc_lo) - 0xF3F3; in euc2sjisibm_g3upper()
338 index = ((euc_hi << 8) | euc_lo) - 0xF4A1 + 12; in euc2sjisibm_g3upper()
340 if ((index < 0) || (index >= ARRAY_SIZE(euc2sjisibm_g3upper_map))) in euc2sjisibm_g3upper()
343 sjis[0] = euc2sjisibm_g3upper_map[index][0]; in euc2sjisibm_g3upper()
344 sjis[1] = euc2sjisibm_g3upper_map[index][1]; in euc2sjisibm_g3upper()