Lines Matching refs:index

653 	size_t	index;  in big5_to_utf8_common()  local
657 index = kiconv_binsearch(big5_val, table, nitems); in big5_to_utf8_common()
658 u8 = table[index].u8; in big5_to_utf8_common()
666 if (index == 0) in big5_to_utf8_common()
669 for (index = 0; index < sz; index++) in big5_to_utf8_common()
670 *ob++ = u8[index]; in big5_to_utf8_common()
724 size_t index; in euctw_to_utf8() local
731 index = kiconv_binsearch(euctw_val, kiconv_cns1_utf8, in euctw_to_utf8()
733 u8 = kiconv_cns1_utf8[index].u8; in euctw_to_utf8()
736 index = kiconv_binsearch(euctw_val, kiconv_cns2_utf8, in euctw_to_utf8()
738 u8 = kiconv_cns2_utf8[index].u8; in euctw_to_utf8()
741 index = kiconv_binsearch(euctw_val, kiconv_cns3_utf8, in euctw_to_utf8()
743 u8 = kiconv_cns3_utf8[index].u8; in euctw_to_utf8()
746 index = kiconv_binsearch(euctw_val, kiconv_cns4_utf8, in euctw_to_utf8()
748 u8 = kiconv_cns4_utf8[index].u8; in euctw_to_utf8()
751 index = kiconv_binsearch(euctw_val, kiconv_cns5_utf8, in euctw_to_utf8()
753 u8 = kiconv_cns5_utf8[index].u8; in euctw_to_utf8()
756 index = kiconv_binsearch(euctw_val, kiconv_cns6_utf8, in euctw_to_utf8()
758 u8 = kiconv_cns6_utf8[index].u8; in euctw_to_utf8()
761 index = kiconv_binsearch(euctw_val, kiconv_cns7_utf8, in euctw_to_utf8()
763 u8 = kiconv_cns7_utf8[index].u8; in euctw_to_utf8()
780 index = 1; in euctw_to_utf8()
783 index = kiconv_binsearch(euctw_val, kiconv_cns15_utf8, in euctw_to_utf8()
785 u8 = kiconv_cns15_utf8[index].u8; in euctw_to_utf8()
788 index = 0; in euctw_to_utf8()
789 u8 = kiconv_cns1_utf8[index].u8; in euctw_to_utf8()
798 if (index == 0) in euctw_to_utf8()
801 for (index = 0; index < sz; index++) in euctw_to_utf8()
802 *ob++ = u8[index]; in euctw_to_utf8()
816 size_t index; in big5hkscs_to_utf8() local
820 index = kiconv_binsearch(hkscs_val, kiconv_hkscs_utf8, in big5hkscs_to_utf8()
822 u8 = kiconv_hkscs_utf8[index].u8; in big5hkscs_to_utf8()
840 if (index == 0) in big5hkscs_to_utf8()
843 for (index = 0; index < sz; index++) in big5hkscs_to_utf8()
844 *ob++ = u8[index]; in big5hkscs_to_utf8()
859 size_t index; in utf8_to_euctw() local
870 index = (((utf8 & 0x7000000) >> 6) | ((utf8 & 0x3F0000) >> 4) | in utf8_to_euctw()
873 plane_no = 12 + index / 8836; in utf8_to_euctw()
874 byte1 = 0xA1 + (index % 8836) / 94; in utf8_to_euctw()
875 byte2 = 0xA1 + index % 94; in utf8_to_euctw()
883 index = kiconv_binsearch(utf8, kiconv_utf8_euctw, in utf8_to_euctw()
886 if (index == 0) { in utf8_to_euctw()
898 euctw_val = kiconv_utf8_euctw[index].value; in utf8_to_euctw()
929 size_t index; in utf8_to_big5hkscs() local
934 index = kiconv_binsearch(utf8, kiconv_utf8_hkscs, in utf8_to_big5hkscs()
936 hkscscode = kiconv_utf8_hkscs[index].value; in utf8_to_big5hkscs()
961 if (index == 0) in utf8_to_big5hkscs()
984 size_t index; in utf8_to_big5_common() local
988 index = kiconv_binsearch(utf8, table, nitems); in utf8_to_big5_common()
989 big5code = table[index].value; in utf8_to_big5_common()
997 if (index == 0) in utf8_to_big5_common()