/titanic_50/usr/src/lib/iconv_modules/zh/common/ |
H A D | zh_CN.gbk%zh_HK.hkscs.c | 33 #define ONEBYTE 0xff macro 212 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); 238 gbk_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in gbk_to_hkscs() 242 *buf = (hkscs_val >> 8) & ONEBYTE; in gbk_to_hkscs() 243 *(buf + 1) = hkscs_val & ONEBYTE; in gbk_to_hkscs() 260 gbk_val = ((keepc[0] & ONEBYTE) << 24) + ((keepc[1] & ONEBYTE) << 16) + in gbk4_to_hkscs() 261 ((keepc[2] & ONEBYTE) << 8 ) + (keepc[3] & ONEBYTE); 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%zh_CN.gbk.c | 32 #define ONEBYTE 0xff macro 159 unsigned int buf = (unsigned int)(inbuf & ONEBYTE); 183 hkscs_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in hkscs_to_gbk2k() 189 c = gbk_val & ONEBYTE; in hkscs_to_gbk2k() 197 *buf = ( gbk_val >> 24) & ONEBYTE; in hkscs_to_gbk2k() 198 *(buf + 1) = (gbk_val >> 16) & ONEBYTE; in hkscs_to_gbk2k() 199 *(buf + 2) = (gbk_val >> 8) & ONEBYTE; in hkscs_to_gbk2k() 204 *buf = (gbk_val >> 8) & ONEBYTE; in hkscs_to_gbk2k()
|
H A D | zh_TW-big5p%UTF-8.c | 33 #define ONEBYTE 0xff /* right most byte */ macro 203 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); in big5p_2nd_byte() 224 big5p_val = ((keepc[0]&ONEBYTE) << 8) + (keepc[1]&ONEBYTE); in big5p_to_utf8() 248 fprintf(stderr, "%x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE); in big5p_to_utf8() 264 fprintf(stderr, "%x %x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE, *(buf+2)&ONEBYTE); in big5p_to_utf8()
|
H A D | zh_HK.hkscs%UTF-8.c | 38 #define ONEBYTE 0xff /* right most byte */ macro 262 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); in hkscs_2nd_byte() 319 hkscs_val = ((keepc[0]&ONEBYTE) << 8) + (keepc[1]&ONEBYTE); in hkscs_to_utf8() 378 fprintf(stderr, "%x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE); in hkscs_to_utf8() 394 fprintf(stderr, "%x %x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE, *(buf+2)&ONEBYTE); in hkscs_to_utf8()
|
H A D | zh_TW-big5%UTF-8.c | 38 #define ONEBYTE 0xff /* right most byte */ macro 251 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); in big5_2nd_byte() 307 big5_val = ((keepc[0]&ONEBYTE) << 8) + (keepc[1]&ONEBYTE); in big5_to_utf8() 367 fprintf(stderr, "%x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE); in big5_to_utf8() 383 fprintf(stderr, "%x %x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE, *(buf+2)&ONEBYTE); in big5_to_utf8()
|
H A D | zh_CN.euc%zh_TW-big5.c | 32 #define ONEBYTE 0xff macro 159 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); 183 gb_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); 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 D | zh_TW-big5p%zh_HK.hkscs.c | 32 #define ONEBYTE 0xff macro 158 unsigned int buf = (unsigned int)(inbuf & ONEBYTE); 182 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5p_to_hkscs() 186 *buf = (gbk_val >> 8) & ONEBYTE; in big5p_to_hkscs() 187 *(buf + 1) = gbk_val & ONEBYTE; in big5p_to_hkscs()
|
H A D | zh_HK.hkscs%zh_TW-big5p.c | 32 #define ONEBYTE 0xff macro 159 unsigned int buf = (unsigned int)(inbuf & ONEBYTE); 183 hkscs_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in hkscs_to_big5p() 187 *buf = (gbk_val >> 8) & ONEBYTE; in hkscs_to_big5p() 188 *(buf + 1) = gbk_val & ONEBYTE; in hkscs_to_big5p()
|
H A D | zh_TW-big5%zh_CN.gbk.c | 33 #define ONEBYTE 0xff macro 159 unsigned int buf = (unsigned int)(inbuf & ONEBYTE); 183 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5_to_gbk() 187 *buf = (gbk_val >> 8) & ONEBYTE; in big5_to_gbk() 188 *(buf + 1) = gbk_val & ONEBYTE; in big5_to_gbk()
|
H A D | zh_TW-big5p%zh_CN.gbk.c | 33 #define ONEBYTE 0xff macro 159 unsigned int buf = (unsigned int)(inbuf & ONEBYTE); 183 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5p_to_gbk() 187 *buf = (gbk_val >> 8) & ONEBYTE; in big5p_to_gbk() 188 *(buf + 1) = gbk_val & ONEBYTE; in big5p_to_gbk()
|
H A D | zh_TW-big5%zh_CN.euc.c | 33 #define ONEBYTE 0xff macro 159 unsigned int buf = (unsigned int)(inbuf & ONEBYTE); 183 big5_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); in big5_to_gb2312() 187 *buf = (gb_val >> 8) & ONEBYTE; in big5_to_gb2312() 188 *(buf + 1) = gb_val & ONEBYTE; in big5_to_gb2312()
|
H A D | UTF-8%zh_TW-big5p.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 179 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 209 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 210 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv() 321 unicode = (unsigned long) ((c1 & ONEBYTE) << 8) + (c2 & ONEBYTE); in get_big5p_by_utf()
|
H A D | zh_CN.gbk%zh_TW-big5.c | 33 #define ONEBYTE 0xff macro 208 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); 234 gbk_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); 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 D | zh_CN.gbk%zh_TW-big5p.c | 33 #define ONEBYTE 0xff macro 190 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); 216 gbk_val = ((keepc[0] & ONEBYTE) << 8) + (keepc[1] & ONEBYTE); 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 D | zh_CN.gbk%zh_CN.iso2022-CN.c | 40 #define ONEBYTE 0xff /* right most byte */ macro 89 c0 = st->keepc[0] & ONEBYTE; in isGBK2() 90 c1 = st->keepc[1] & ONEBYTE; in isGBK2() 505 unsigned char buf1 = (unsigned char) (st->keepc[0] & ONEBYTE); in isGB2312Char() 506 unsigned char buf2 = (unsigned char) (st->keepc[1] & ONEBYTE); in isGB2312Char() 518 (unsigned int) (((st->keepc[0] & ONEBYTE) << 8) | \ in isBIG5Char() 519 (st->keepc[1] & ONEBYTE)); in isBIG5Char() 532 st->keepc[0] = (unsigned char)((big5code >> 8) & ONEBYTE); in isBIG5Char() 533 st->keepc[1] = (unsigned char)(big5code & ONEBYTE); in isBIG5Char() 546 unsigned char buf = (unsigned char) (inbuf & ONEBYTE); [all …]
|
H A D | zh_CN.gbk%UTF-8.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 289 unsigned int buf = (unsigned int) (inbuf & ONEBYTE); in gbk_2nd_byte() 311 gbk_val = ((keepc[0]&ONEBYTE) << 8) + (keepc[1]&ONEBYTE); 315 gbk_val = keepc[0] & ONEBYTE; 317 gbk_val = (gbk_val << 8) + (keepc[i] & ONEBYTE);
|
H A D | UTF-8%zh_TW-iso2022-7.c | 37 #define ONEBYTE 0xff /* right most byte */ macro 216 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 246 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 247 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv() 390 unicode = (unsigned long) ((c1 & ONEBYTE) << 8) + (c2 & ONEBYTE); in get_plane_no_by_utf()
|
H A D | UTF-8%zh_CN.gbk.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 268 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 299 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 300 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv() 308 unichr = (unsigned long) ((c1 & ONEBYTE) << 8) + (c2 & ONEBYTE); in _icv_iconv()
|
H A D | zh_TW-iso2022-7%UTF-8.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 399 fprintf(stderr, "%x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE); in iso_to_utf8() 412 fprintf(stderr, "%x %x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE, *(buf+2)&ONEBYTE); in iso_to_utf8()
|
H A D | UTF-8%zh_HK.hkscs.c | 36 #define ONEBYTE 0xff /* right most byte */ macro 214 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 244 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 245 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv()
|
/titanic_50/usr/src/lib/iconv_modules/common/ |
H A D | cnv_ibmutf8.c | 37 #define ONEBYTE 0xff /* right most byte */ macro 151 ibm_val = ((st->keepc[0]&ONEBYTE) << 8) + (st->keepc[1]&ONEBYTE); 183 fprintf(stderr, "%x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE); 199 fprintf(stderr, "%x %x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE, *(buf+2)&ONEBYTE);
|
H A D | ibm%utf8.c | 39 #define ONEBYTE 0xff /* right most byte */ macro 183 ibm_val = ((st->keepc[0]&ONEBYTE) << 8) + (st->keepc[1]&ONEBYTE); 223 fprintf(stderr, "%x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE); 239 fprintf(stderr, "%x %x %x\n", *buf&ONEBYTE, *(buf+1)&ONEBYTE, *(buf+2)&ONEBYTE);
|
H A D | cnv_utf8ibm.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 130 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 158 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 159 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv() 230 unicode = (unsigned long) ((c1 & ONEBYTE) << 8) + (c2 & ONEBYTE);
|
H A D | utf8%ibm.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 140 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 168 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 169 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv() 240 unicode = (unsigned long) ((c1 & ONEBYTE) << 8) + (c2 & ONEBYTE);
|
/titanic_50/usr/src/lib/iconv_modules/vi/common/ |
H A D | UTF-8%viscii.c | 35 #define ONEBYTE 0xff /* right most byte */ macro 181 st->keepc[0]&ONEBYTE, st->keepc[1]&ONEBYTE); in _icv_iconv() 212 fprintf(stderr, "UTF8: %02x%02x%02x --> ", st->keepc[0]&ONEBYTE, in _icv_iconv() 213 st->keepc[1]&ONEBYTE, **inbuf&ONEBYTE); in _icv_iconv() 221 uni = (unsigned long) ((c1 & ONEBYTE) << 8) + (c2 & ONEBYTE); in _icv_iconv()
|