/titanic_50/usr/src/lib/iconv_modules/zh/common/ |
H A D | zh_TW-big5%zh_TW-euc.c | 117 unsigned long cnscode; in _icv_iconv() local 153 st->keepc[1], &unidx, &cnscode); in _icv_iconv() 161 n = big5_to_cns(plane_no, unidx, cnscode, in _icv_iconv() 235 int *unidx, unsigned long *cnscode) in get_plane_no_by_big5() argument 243 *cnscode = big5_cns_tab[*unidx].value; in get_plane_no_by_big5() 247 fprintf(stderr, "Big-5=%04x, idx=%5d, CNS=%x ", big5code, *unidx, *cnscode); in get_plane_no_by_big5() 250 ret = (int) (*cnscode >> 16); in get_plane_no_by_big5() 281 static int big5_to_cns(int plane_no, int unidx, unsigned long cnscode, in big5_to_cns() argument 293 val = cnscode & 0xffff; in big5_to_cns()
|
H A D | zh_TW-iso2022-CN-EXT%zh_TW-euc.c | 87 static int make_cns(_iconv_st *st, unsigned long cnscode, unsigned char **outbuf, size_t *outbytesl… in make_cns() argument 91 ret = (int) (cnscode >> 16); in make_cns() 134 *(*outbuf)++ = (unsigned char) (((cnscode >> 8) & 0xff) | MSB); in make_cns() 135 *(*outbuf)++ = (unsigned char) ((cnscode & 0xff) | MSB); in make_cns() 157 if ( ptr && ptr->cnscode > 0 ) in gb_to_euc() 158 return make_cns(st, ptr->cnscode, outbuf, outbytesleft); in gb_to_euc()
|
H A D | zh_TW-big5%zh_TW-iso2022-7.c | 132 unsigned long cnscode; in _icv_iconv() local 189 st->keepc[1], &unidx, &cnscode); in _icv_iconv() 231 n = big5_to_iso(plane_no, unidx, cnscode, in _icv_iconv() 295 int *unidx, unsigned long *cnscode) in get_plane_no_by_big5() argument 303 *cnscode = big5_cns_tab[*unidx].value; in get_plane_no_by_big5() 307 fprintf(stderr, "Big-5=%04x, idx=%5d, CNS=%06x ", big5code, *unidx, *cnscode); in get_plane_no_by_big5() 310 ret = (int) (*cnscode >> 16); in get_plane_no_by_big5() 341 static int big5_to_iso(int plane_no, int unidx, unsigned long cnscode, in big5_to_iso() argument 357 val = cnscode & 0xffff; in big5_to_iso()
|
H A D | UTF-8%zh_TW-euc.c | 126 unsigned long cnscode; in _icv_iconv() local 264 plane_no = get_plane_no_by_utf(ucs, &unidx, &cnscode); in _icv_iconv() 273 n = utf8_to_cns(plane_no, unidx, cnscode, in _icv_iconv() 398 int *unidx, unsigned long *cnscode) in get_plane_no_by_utf() argument 410 *cnscode = ((byte1 << 8) & 0xff00) | (byte2 & 0xff); in get_plane_no_by_utf() 424 *cnscode = utf_cns_tab[*unidx].cnscode; in get_plane_no_by_utf() 428 fprintf(stderr, "Unicode=%04x, idx=%5d, CNS=%x ", unicode, *unidx, *cnscode); in get_plane_no_by_utf() 431 ret = (int) (*cnscode >> 16); in get_plane_no_by_utf() 463 static int utf8_to_cns(int plane_no, int unidx, unsigned long cnscode, in utf8_to_cns() argument 479 val = cnscode & 0xffff; in utf8_to_cns()
|
H A D | UTF-8%zh_TW-iso2022-7.c | 138 unsigned long cnscode; in _icv_iconv() local 255 plane_no = get_plane_no_by_utf(c1, c2, &unidx, &cnscode); in _icv_iconv() 299 n = utf8_to_iso(plane_no, unidx, cnscode, in _icv_iconv() 385 int *unidx, unsigned long *cnscode) in get_plane_no_by_utf() argument 396 *cnscode = utf_cns_tab[*unidx].cnscode; in get_plane_no_by_utf() 400 fprintf(stderr, "Unicode=%04x, idx=%5d, CNS=%x ", unicode, *unidx, *cnscode); in get_plane_no_by_utf() 403 ret = (int) (*cnscode >> 16); in get_plane_no_by_utf() 436 static int utf8_to_iso(int plane_no, int unidx, unsigned long cnscode, in utf8_to_iso() argument 454 val = cnscode & 0xffff; in utf8_to_iso()
|
H A D | zh_CN.gbk%zh_CN.iso2022-CN.c | 82 int big5_to_iso(_iconv_st * st, int unidx, unsigned long cnscode, char * buf, 177 unsigned long cnscode; in _icv_iconv() local 272 get_plane_no_by_big5(st, &unidx, &cnscode); in _icv_iconv() 370 n = big5_to_iso(st, unidx, cnscode, in _icv_iconv() 565 unsigned long * cnscode) { in get_plane_no_by_big5() argument 573 *cnscode = big5_cns_tab[*unidx].value; in get_plane_no_by_big5() 577 ret = (int) (*cnscode >> 16); in get_plane_no_by_big5() 613 unsigned long cnscode, in big5_to_iso() argument 626 val = cnscode & 0xffff; in big5_to_iso()
|
H A D | zh_TW-big5%zh_TW-iso2022-CN-EXT.c | 561 unsigned long cnscode; in getcnsbytes() local 565 cnscode = big5_cns_tab[idx].value; in getcnsbytes() 567 plane = (int) (cnscode >> 16); in getcnsbytes() 596 val = cnscode & 0xffff; in getcnsbytes()
|
H A D | zh_TW-iso2022-7%UTF-8.c | 444 if (x < v[mid].cnscode) in binsearch() 446 else if (x > v[mid].cnscode) in binsearch()
|
H A D | zh_TW-euc%UTF-8.c | 520 if (x < v[mid].cnscode) in binsearch() 522 else if (x > v[mid].cnscode) in binsearch()
|
/titanic_50/usr/src/lib/iconv_modules/inc/ |
H A D | gb2312_cns11643.h | 29 long cnscode; member
|
H A D | unicode_cns11643_TW.h | 40 unsigned long cnscode; member
|
H A D | cns11643_unicode_TW.h | 45 unsigned long cnscode; member
|