Lines Matching refs:index
289 int index; in sjisibm2euc() local
291 index = ((sjis_hi - 0xFA) * (0xFD - 0x40)) + (sjis_lo - 0x40); in sjisibm2euc()
292 if (IS_EUC_IBM2JISX0208(sjisibm2euc_map[index][0], in sjisibm2euc()
293 sjisibm2euc_map[index][1])) { in sjisibm2euc()
294 euc[0] = sjisibm2euc_map[index][0]; in sjisibm2euc()
295 euc[1] = sjisibm2euc_map[index][1]; in sjisibm2euc()
299 euc[1] = sjisibm2euc_map[index][0]; in sjisibm2euc()
300 euc[2] = sjisibm2euc_map[index][1]; in sjisibm2euc()
309 int index, min_index, max_index; in euc2sjisibm_jisx0212() local
317 index = (min_index + max_index) / 2; in euc2sjisibm_jisx0212()
318 if (euc < euc2sjisibm_jisx0212_map[index].euc) in euc2sjisibm_jisx0212()
319 max_index = index - 1; in euc2sjisibm_jisx0212()
321 min_index = index + 1; in euc2sjisibm_jisx0212()
322 if (euc == euc2sjisibm_jisx0212_map[index].euc) { in euc2sjisibm_jisx0212()
323 sjis[0] = euc2sjisibm_jisx0212_map[index].sjis[0]; in euc2sjisibm_jisx0212()
324 sjis[1] = euc2sjisibm_jisx0212_map[index].sjis[1]; in euc2sjisibm_jisx0212()
335 int index; in euc2sjisibm_g3upper() local
338 index = ((euc_hi << 8) | euc_lo) - 0xF3F3; in euc2sjisibm_g3upper()
340 index = ((euc_hi << 8) | euc_lo) - 0xF4A1 + 12; in euc2sjisibm_g3upper()
342 if ((index < 0) || (index >= MAP_ELEMENT_OF(euc2sjisibm_g3upper_map))) in euc2sjisibm_g3upper()
345 sjis[0] = euc2sjisibm_g3upper_map[index][0]; in euc2sjisibm_g3upper()
346 sjis[1] = euc2sjisibm_g3upper_map[index][1]; in euc2sjisibm_g3upper()