Searched refs:hkscs_val (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/iconv_modules/zh/common/ |
H A D | zh_CN.gbk%zh_HK.hkscs.c | 231 unsigned long hkscs_val; /* hkscs value */ in gbk_to_hkscs() local 241 hkscs_val = gbk_hkscs_tab[index].value; in gbk_to_hkscs() 242 *buf = (hkscs_val >> 8) & ONEBYTE; in gbk_to_hkscs() 243 *(buf + 1) = hkscs_val & ONEBYTE; in gbk_to_hkscs() 253 unsigned long hkscs_val; /* hkscs value */ in gbk4_to_hkscs() local 264 hkscs_val = gbk4_hkscs_tab[index].value; in gbk4_to_hkscs() 265 *buf = (hkscs_val >> 8) & ONEBYTE; in gbk4_to_hkscs() 266 *(buf + 1) = hkscs_val & ONEBYTE; in gbk4_to_hkscs()
|
H A D | zh_HK.hkscs%UTF-8.c | 314 unsigned long hkscs_val; /* HKSCS value */ in hkscs_to_utf8() local 319 hkscs_val = ((keepc[0]&ONEBYTE) << 8) + (keepc[1]&ONEBYTE); in hkscs_to_utf8() 321 fprintf(stderr, "%x\t", hkscs_val); in hkscs_to_utf8() 325 if ((uni_val = ifUDC(udc, hkscs_val)) == 0) { in hkscs_to_utf8() 327 unidx = binsearch(hkscs_val, hkscs_utf_tab, MAX_HKSCS_NUM); in hkscs_to_utf8()
|
H A D | zh_HK.hkscs%zh_TW-big5p.c | 176 unsigned long hkscs_val; in hkscs_to_big5p() local 183 hkscs_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in hkscs_to_big5p() 184 index = binsearch(hkscs_val, hkscs_big5p_tab, HKSCSMAX); in hkscs_to_big5p()
|
H A D | zh_HK.hkscs%zh_CN.gbk.c | 176 unsigned long hkscs_val; in hkscs_to_gbk2k() local 183 hkscs_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in hkscs_to_gbk2k() 184 index = binsearch(hkscs_val, hkscs_gbk2k_tab, MAX_HKSCS_NUM); in hkscs_to_gbk2k()
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_tc/ |
H A D | kiconv_tc.c | 80 static int8_t big5hkscs_to_utf8(uint32_t hkscs_val, uchar_t *ob, 82 static int8_t cp950hkscs_to_utf8(uint32_t hkscs_val, uchar_t *ob, 689 cp950hkscs_to_utf8(uint32_t hkscs_val, uchar_t *ob, uchar_t *obtail, in cp950hkscs_to_utf8() argument 692 return (big5_to_utf8_common(hkscs_val, ob, obtail, ret_val, in cp950hkscs_to_utf8() 813 big5hkscs_to_utf8(uint32_t hkscs_val, uchar_t *ob, uchar_t *obtail, in big5hkscs_to_utf8() argument 820 index = kiconv_binsearch(hkscs_val, kiconv_hkscs_utf8, in big5hkscs_to_utf8()
|