Home
last modified time | relevance | path

Searched refs:big5_val (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/lib/iconv_modules/zh/common/
H A Dzh_TW-euc%zh_TW-big5.c271 unsigned long big5_val, val; /* Big-5 code */ in cns_to_big5() local
297 big5_val = cns_big5_tab1[unidx].value; in cns_to_big5()
302 big5_val = cns_big5_tab2[unidx].value; in cns_to_big5()
307 big5_val = cns_big5_tab3[unidx].value; in cns_to_big5()
315 fprintf(stderr, "unidx = %d, value = %x\t", unidx, big5_val); in cns_to_big5()
321 val = big5_val & 0xffff; in cns_to_big5()
H A Dzh_CN.euc%zh_TW-big5.c176 unsigned long big5_val; /* BIG5 value */ in gb2312_to_big5() local
186 big5_val = gb_big5_tab[index].value; in gb2312_to_big5()
187 *buf = (big5_val >> 8) & ONEBYTE; in gb2312_to_big5()
188 *(buf + 1) = big5_val & ONEBYTE; in gb2312_to_big5()
H A Dzh_CN.gbk%zh_TW-big5.c227 unsigned long big5_val; /* BIG5 value */ in gbk_to_big5() local
237 big5_val = gbk_big5_tab[index].value; in gbk_to_big5()
238 *buf = (big5_val >> 8) & ONEBYTE; in gbk_to_big5()
239 *(buf + 1) = big5_val & ONEBYTE; in gbk_to_big5()
H A Dzh_CN.gbk%zh_TW-big5p.c209 unsigned long big5_val; /* BIG5 value */ in gbk_to_big5p() local
219 big5_val = gbk_big5p_tab[index].value; in gbk_to_big5p()
220 *buf = (big5_val >> 8) & ONEBYTE; in gbk_to_big5p()
221 *(buf + 1) = big5_val & ONEBYTE; in gbk_to_big5p()
H A Dzh_TW-big5%UTF-8.c302 unsigned long big5_val; /* Big-5 value */ in big5_to_utf8() local
307 big5_val = ((keepc[0]&ONEBYTE) << 8) + (keepc[1]&ONEBYTE); in big5_to_utf8()
309 fprintf(stderr, "%x\t", big5_val); in big5_to_utf8()
313 if ((uni_val = ifUDC(udc, big5_val)) == 0) { in big5_to_utf8()
315 unidx = binsearch(big5_val, big5_utf_tab, MAX_BIG5_NUM); in big5_to_utf8()
H A Dzh_TW-iso2022-7%zh_TW-big5.c344 unsigned long big5_val, val; /* Big-5 code */ in iso_to_big5() local
370 big5_val = cns_big5_tab1[unidx].value; in iso_to_big5()
375 big5_val = cns_big5_tab2[unidx].value; in iso_to_big5()
383 fprintf(stderr, "unidx = %d, big5code = %x\t", unidx, big5_val); in iso_to_big5()
389 val = big5_val & 0xffff; in iso_to_big5()
H A Dzh_TW-big5p%zh_HK.hkscs.c175 unsigned long big5_val; in big5p_to_hkscs() local
182 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5p_to_hkscs()
183 index = binsearch(big5_val, big5p_hkscs_tab, BIG5MAX); in big5p_to_hkscs()
H A Dzh_TW-big5%zh_CN.gbk.c176 unsigned long big5_val; in big5_to_gbk() local
183 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5_to_gbk()
184 index = binsearch(big5_val, big5_gbk_tab, BIG5MAX); in big5_to_gbk()
H A Dzh_TW-big5p%zh_CN.gbk.c176 unsigned long big5_val; in big5p_to_gbk() local
183 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5p_to_gbk()
184 index = binsearch(big5_val, big5p_gbk_tab, BIG5MAX); in big5p_to_gbk()
H A Dzh_TW-big5%zh_CN.euc.c176 unsigned long big5_val; in big5_to_gb2312() local
183 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5_to_gb2312()
184 index = binsearch(big5_val, big5_gb_tab, BIG5MAX); in big5_to_gb2312()
H A Dzh_CN.iso2022-CN%zh_CN.gbk.c648 unsigned long big5_val, val; /* Big-5 code */ in iso_to_big5_to_gbk() local
669 big5_val = cns_big5_tab1[unidx].value; in iso_to_big5_to_gbk()
674 big5_val = cns_big5_tab2[unidx].value; in iso_to_big5_to_gbk()
686 val = big5_val & 0xffff; in iso_to_big5_to_gbk()
H A Dzh_CN.iso2022-CN%zh_CN.euc.c630 unsigned long big5_val, val; /* Big-5 code */ in iso_to_big5_to_gb() local
651 big5_val = cns_big5_tab1[unidx].value; in iso_to_big5_to_gb()
656 big5_val = cns_big5_tab2[unidx].value; in iso_to_big5_to_gb()
668 val = big5_val & 0xffff; in iso_to_big5_to_gb()
/titanic_50/usr/src/uts/common/kiconv/kiconv_tc/
H A Dkiconv_tc.c80 static int8_t big5_to_utf8(uint32_t big5_val, uchar_t *ob, uchar_t *obtail,
144 uint32_t big5_val; in kiconv_fr_big5_common() local
198 big5_val = (uint32_t)(*ib) << 8 | *(ib + 1); in kiconv_fr_big5_common()
199 sz = ptr_big5touf8(big5_val, ob, obtail, &ret_val); in kiconv_fr_big5_common()
231 uint32_t big5_val; in kiconvstr_fr_big5_common() local
266 big5_val = *ib++; in kiconvstr_fr_big5_common()
267 big5_val = (big5_val << 8) | *ib++; in kiconvstr_fr_big5_common()
268 sz = ptr_big5touf8(big5_val, ob, obtail, &ret_val); in kiconvstr_fr_big5_common()
652 big5_to_utf8_common(uint32_t big5_val, uchar_t *ob, uchar_t *obtail, in big5_to_utf8_common() argument
659 index = kiconv_binsearch(big5_val, table, nitems); in big5_to_utf8_common()
[all …]