Searched refs:uni_val (Results 1 – 8 of 8) sorted by relevance
/titanic_50/usr/src/lib/iconv_modules/zh/common/ |
H A D | zh_TW-euc%UTF-8.c | 327 unsigned long uni_val = 0; /* Unicode */ in cns_to_utf8() local 349 uni_val = cns1_utf_tab[unidx].unicode; in cns_to_utf8() 354 uni_val = cns2_utf_tab[unidx].unicode; in cns_to_utf8() 359 uni_val = cns3_utf_tab[unidx].unicode; in cns_to_utf8() 364 uni_val = cns4_utf_tab[unidx].unicode; in cns_to_utf8() 369 uni_val = cns5_utf_tab[unidx].unicode; in cns_to_utf8() 374 uni_val = cns6_utf_tab[unidx].unicode; in cns_to_utf8() 379 uni_val = cns7_utf_tab[unidx].unicode; in cns_to_utf8() 385 uni_val = getUnicodeFromUDA(plane_no, (uchar_t)keepc[2], (uchar_t)keepc[3]); in cns_to_utf8() 391 uni_val = cns15_utf_tab[unidx].unicode; in cns_to_utf8() [all …]
|
H A D | zh_HK.hkscs%UTF-8.c | 316 unsigned long uni_val = 0; /* Unicode */ in hkscs_to_utf8() local 325 if ((uni_val = ifUDC(udc, hkscs_val)) == 0) { in hkscs_to_utf8() 329 uni_val = hkscs_utf_tab[unidx].unicode; in hkscs_to_utf8() 334 fprintf(stderr, "unidx = %d, unicode = %x\t", unidx, uni_val); in hkscs_to_utf8() 343 if (unidx < 0 || uni_val > 0x00ffff ) { in hkscs_to_utf8() 344 uni_val = ICV_CHAR_UCS2_REPLACEMENT; in hkscs_to_utf8() 360 *(buf + size++) = (uchar_t)(uni_val & 0xff); in hkscs_to_utf8() 361 *(buf + size++) = (uchar_t)((uni_val >> 8) & 0xff); in hkscs_to_utf8() 367 if (uni_val >= 0x0080 && uni_val <= 0x07ff) { in hkscs_to_utf8() 375 *buf = (char)((uni_val >> 6) & 0x1f) | 0xc0; in hkscs_to_utf8() [all …]
|
H A D | zh_TW-big5%UTF-8.c | 304 unsigned long uni_val = 0; /* Unicode */ in big5_to_utf8() local 313 if ((uni_val = ifUDC(udc, big5_val)) == 0) { in big5_to_utf8() 318 uni_val = big5_utf_tab[unidx].unicode; in big5_to_utf8() 323 fprintf(stderr, "unidx = %d, unicode = %x\t", unidx, uni_val); in big5_to_utf8() 332 if (unidx < 0 || uni_val > 0x00ffff ) { in big5_to_utf8() 333 uni_val = ICV_CHAR_UCS2_REPLACEMENT; in big5_to_utf8() 349 *(buf + size++) = (uchar_t)(uni_val & 0xff); in big5_to_utf8() 350 *(buf + size++) = (uchar_t)((uni_val >> 8) & 0xff); in big5_to_utf8() 356 if (uni_val >= 0x0080 && uni_val <= 0x07ff) { in big5_to_utf8() 364 *buf = (char)((uni_val >> 6) & 0x1f) | 0xc0; in big5_to_utf8() [all …]
|
H A D | zh_TW-big5p%UTF-8.c | 222 unsigned long uni_val; /* Unicode */ in big5p_to_utf8() local 231 uni_val = big5p_utf_tab[unidx].unicode; in big5p_to_utf8() 233 fprintf(stderr, "unidx = %d, unicode = %x\t", unidx, uni_val); in big5p_to_utf8() 237 if (uni_val > 0x0080 && uni_val <= 0x07ff) { in big5p_to_utf8() 245 *buf = (char)((uni_val >> 6) & 0x1f) | 0xc0; in big5p_to_utf8() 246 *(buf+1) = (char)(uni_val & 0x3f) | 0x80; in big5p_to_utf8() 252 if (uni_val > 0x0800 && uni_val <= 0xffff) { in big5p_to_utf8() 260 *buf = (char)((uni_val >> 12) & 0xf) | 0xe0; in big5p_to_utf8() 261 *(buf+1) = (char)((uni_val >>6) & 0x3f) | 0x80; in big5p_to_utf8() 262 *(buf+2) = (char)(uni_val & 0x3f) | 0x80; in big5p_to_utf8()
|
H A D | zh_TW-iso2022-7%UTF-8.c | 347 unsigned long uni_val; /* Unicode */ in iso_to_utf8() local 368 uni_val = cns1_utf_tab[unidx].unicode; in iso_to_utf8() 373 uni_val = cns2_utf_tab[unidx].unicode; in iso_to_utf8() 379 uni_val = cns3_utf_tab[unidx].unicode; in iso_to_utf8() 387 fprintf(stderr, "unidx = %d, unicode = %x\t", unidx, uni_val); in iso_to_utf8() 391 if (uni_val > 0x0080 && uni_val <= 0x07ff) { in iso_to_utf8() 396 *buf = (char)((uni_val >> 6) & 0x1f) | 0xc0; in iso_to_utf8() 397 *(buf+1) = (char)(uni_val & 0x3f) | 0x80; in iso_to_utf8() 403 if (uni_val > 0x0800 && uni_val <= 0xffff) { in iso_to_utf8() 408 *buf = (char)((uni_val >> 12) & 0xf) | 0xe0; in iso_to_utf8() [all …]
|
H A D | zh_CN.gbk%UTF-8.c | 303 unsigned long uni_val = 0xffffffff; /* Unicode */ local 322 if ( unidx >= 0 ) uni_val = gbk4_unicode_tab[unidx].value; 325 if ( unidx >= 0 ) uni_val = gbk_unicode_tab[unidx].value; 328 return uni_val;
|
/titanic_50/usr/src/lib/iconv_modules/common/ |
H A D | ibm%utf8.c | 181 unsigned long uni_val; /* Unicode */ local 194 uni_val = st->table[unidx].right_code; 196 uni_val = st->table[unidx].left_code; 200 fprintf(stderr, "unidx = %d, unicode = %x\t", unidx, uni_val); 204 if (uni_val <= 0x07f) { 209 *buf = uni_val; 212 if (uni_val >= 0x0080 && uni_val <= 0x07ff) { 220 *buf = (char)((uni_val >> 6) & 0x1f) | 0xc0; 221 *(buf+1) = (char)(uni_val & 0x3f) | 0x80; 227 if (uni_val >= 0x0800 && uni_val <= 0xffff) { [all …]
|
H A D | cnv_ibmutf8.c | 149 unsigned long uni_val; /* Unicode */ local 162 uni_val = st->table[unidx].right_code; 164 uni_val = st->table[unidx].left_code; 168 fprintf(stderr, "unidx = %d, unicode = %x\t", unidx, uni_val); 172 if (uni_val > 0x0000 && uni_val <= 0x07ff) { 180 *buf = (char)((uni_val >> 6) & 0x1f) | 0xc0; 181 *(buf+1) = (char)(uni_val & 0x3f) | 0x80; 187 if (uni_val > 0x0800 && uni_val <= 0xffff) { 195 *buf = (char)((uni_val >> 12) & 0xf) | 0xe0; 196 *(buf+1) = (char)((uni_val >>6) & 0x3f) | 0x80; [all …]
|