/titanic_50/usr/src/cmd/localedef/data/ |
H A D | convert_map.pl | 23 my $utf8; 26 $utf8 = sprintf("\\x%02X", $ucs).$utf8; 28 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 30 $utf8 = sprintf("\\x%02X", $ucs | 0xc0).$utf8; 33 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 35 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 37 $utf8 = sprintf("\\x%02X", $ucs | 0xe0).$utf8; 40 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 42 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; 44 $utf8 = sprintf("\\x%02X", ($ucs & 0x3f) | 0x80).$utf8; [all …]
|
/titanic_50/usr/src/lib/iconv_modules/ko/common/ |
H A D | common_utf.c | 36 hcode_type utf8; in _uni_to_utf8() local 37 utf8.code = 0; in _uni_to_utf8() 41 utf8.code = unicode.code; in _uni_to_utf8() 44 utf8.utf8.high8bits = 0x00; in _uni_to_utf8() 45 utf8.utf8.sign1 = 0x00; in _uni_to_utf8() 46 utf8.utf8.data1 = 0x00; in _uni_to_utf8() 47 utf8.utf8.sign2 = 0x03; in _uni_to_utf8() 48 utf8.utf8.data2 = unicode.unicode.data2; in _uni_to_utf8() 49 utf8.utf8.sign3 = 0x02; in _uni_to_utf8() 50 utf8.utf8.data3 = unicode.unicode.data3; in _uni_to_utf8() [all …]
|
H A D | utf_to_uhang_sub.c | 38 …ret = (int)(((const hcode_table *)node1)->utf8.code) -(int)(((const hcode_table *)node2)->utf8.cod… in node_compare2() 46 return((int)(((const hcode_table *)node1)->utf8.code) - in node_compare2() 47 (int)(((const hcode_table *)node2)->utf8.code)); in node_compare2() 81 node.utf8 = _utf8_to_uni(utfcode); in _utf8_to_unified_hangul() 85 printf("*-> %2x %2x %2x*",node.utf8.unicode.data1,node.utf8.unicode.data2,node.utf8.unicode.data3); in _utf8_to_unified_hangul()
|
H A D | uhang_to_utf_sub.c | 88 …printf("*->%2x %2x %2x*",node_ptr->utf8.unicode.data1,node_ptr->utf8.unicode.data2,node_ptr->utf8.… in _unified_hangul_to_utf8() 97 utf_code = _uni_to_utf8(node_ptr->utf8); in _unified_hangul_to_utf8()
|
H A D | UTF2_to_johap92.c | 164 if (utf82johap92_tbl[i].utf8 == u) in _icv_iconv() 166 else if (utf82johap92_tbl[l].utf8 == u) in _icv_iconv() 171 else if (utf82johap92_tbl[h].utf8 == u) in _icv_iconv() 176 else if (utf82johap92_tbl[i].utf8 < u) in _icv_iconv() 182 if (utf82johap92_tbl[i].utf8 != u) in _icv_iconv()
|
H A D | UTF2_to_euc.c | 166 if (utf82euc_tbl[i].utf8 == utf) in _icv_iconv() 168 else if (utf82euc_tbl[l].utf8 == utf) in _icv_iconv() 173 else if (utf82euc_tbl[h].utf8 == utf) in _icv_iconv() 178 else if (utf82euc_tbl[i].utf8 < utf) in _icv_iconv() 184 if (utf82euc_tbl[i].utf8 != utf) in _icv_iconv()
|
H A D | utf_to_euc_sub.c | 35 return((int)(((const hcode_table *)node1)->utf8.code) - in node_compare() 36 (int)(((const hcode_table *)node2)->utf8.code)); in node_compare() 63 node.utf8 = utfcode; in _utf8_to_wansung()
|
H A D | UTF2_to_iso2022-7.c | 193 if (utf82iso2022_tbl[i].utf8 == u) in _icv_iconv() 195 else if (utf82iso2022_tbl[l].utf8 == u) in _icv_iconv() 200 else if (utf82iso2022_tbl[h].utf8 == u) in _icv_iconv() 205 else if (utf82iso2022_tbl[i].utf8 < u) in _icv_iconv() 211 if (utf82iso2022_tbl[i].utf8 != u) in _icv_iconv()
|
H A D | utf_to_njh_sub.c | 35 return((int)(((const hcode_table *)node1)->utf8.code) - in node_compare() 36 (int)(((const hcode_table *)node2)->utf8.code)); in node_compare() 90 node.utf8 = utfcode; in _utf8_to_johap92()
|
H A D | common_han.h | 73 } utf8; member 118 } utf8; member
|
H A D | utf_to_johap92.c | 330 if(utf8_to_johap92_tbl[mid].utf8 = utf_code){ in _utf8_to_jahap92() 332 } else if(utf8_to_johap92_tbl[mid].utf8 > utf_code){ in _utf8_to_jahap92() 334 } else if(utf8_to_johap92_tbl[mid].utf8 < utf_code){ in _utf8_to_jahap92()
|
H A D | common_def.h | 43 hcode_type utf8; member
|
/titanic_50/usr/src/lib/iconv_modules/th_TH/common/ |
H A D | common_utf.c | 38 hcode_type utf8; in _uni_to_utf8() local 40 utf8.utf8.high8bits = 0; in _uni_to_utf8() 41 utf8.utf8.sign1 = 0x0E; /* 1110xxxx */ in _uni_to_utf8() 42 utf8.utf8.data1 = unicode.unicode.data1; in _uni_to_utf8() 43 utf8.utf8.sign2 = 0x02; /* 10xxxxxx */ in _uni_to_utf8() 44 utf8.utf8.data2 = unicode.unicode.data2; in _uni_to_utf8() 45 utf8.utf8.sign3 = 0x02; /* 10xxxxxx */ in _uni_to_utf8() 46 utf8.utf8.data3 = unicode.unicode.data3; in _uni_to_utf8() 48 return(utf8); in _uni_to_utf8() 54 hcode_type _utf8_to_uni(hcode_type utf8) in _utf8_to_uni() argument [all …]
|
H A D | utf_to_euc_sub.c | 35 return((int)(((const hcode_table *)node1)->utf8.code) - in node_compare() 36 (int)(((const hcode_table *)node2)->utf8.code)); in node_compare() 63 node.utf8 = utfcode; in _utf8_to_eucTH()
|
H A D | common_thai.h | 66 } utf8; member 104 } utf8; member
|
H A D | common_def.h | 39 hcode_type utf8; member
|
/titanic_50/usr/src/cmd/ldap/common/ |
H A D | convutf8.c | 179 char *utf8; in ldaptool_local2UTF8() 185 utf8 = strdup(src); in ldaptool_local2UTF8() 186 return ( utf8 ); in ldaptool_local2UTF8() 653 char *utf8; 668 utf8 = strdup(src); 669 return utf8; 705 utf8 = (char *) malloc( outLen + 1); 706 if( utf8 == NULL ) { 713 resultLen = ucnv_convert( "utf-8", ldaptool_charset, utf8, (outLen + 1), src, 717 free(utf8); [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_ko/ |
H A D | kiconv_ko.c | 48 static int8_t utf8_to_euckr(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 50 static int8_t utf8_to_uhc(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 466 utf8_to_ko(uint32_t utf8, uchar_t *ob, uchar_t *obtail, size_t *ret_val, in utf8_to_ko() argument 473 if (KICONV_KO_IS_UDC_IN_UTF8(utf8)) { in utf8_to_ko() 475 kocode = (((utf8 & 0xF0000) >> 4) | ((utf8 & 0x3F00) >> 2) | in utf8_to_ko() 476 (utf8 & 0x3F)) - KICONV_KO_UDA_UCS4_START; in utf8_to_ko() 488 index = kiconv_binsearch(utf8, table, nitems); in utf8_to_ko() 514 utf8_to_uhc(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_uhc() argument 517 return (utf8_to_ko(utf8, ob, obtail, ret_val, kiconv_utf8_uhc, in utf8_to_uhc() 526 utf8_to_euckr(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_euckr() argument [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_tc/ |
H A D | kiconv_tc.c | 72 static int8_t utf8_to_big5(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 74 static int8_t utf8_to_euctw(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 76 static int8_t utf8_to_cp950hkscs(uint32_t utf8, uchar_t **inbuf, 78 static int8_t utf8_to_big5hkscs(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 858 utf8_to_euctw(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_euctw() argument 866 if (utf8 >= KICONV_TC_UDA_UTF8_START && in utf8_to_euctw() 867 utf8 <= KICONV_TC_UDA_UTF8_END) { in utf8_to_euctw() 872 index = (((utf8 & 0x7000000) >> 6) | ((utf8 & 0x3F0000) >> 4) | in utf8_to_euctw() 873 ((utf8 & 0x3F00) >> 2) | (utf8 & 0x3F)) - in utf8_to_euctw() 885 index = kiconv_binsearch(utf8, kiconv_utf8_euctw, in utf8_to_euctw() [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_sc/ |
H A D | kiconv_sc.c | 51 static int8_t utf8_to_gb2312(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 53 static int8_t utf8_to_gbk(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 55 static int8_t utf8_to_gb18030(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 802 utf8_to_gb18030(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_gb18030() argument 809 if (utf8 >= KICONV_SC_PLANE1_UTF8_START) { in utf8_to_gb18030() 813 u32 = (((utf8 & 0x07000000) >> 6) | ((utf8 & 0x3F0000) >> 4) | in utf8_to_gb18030() 814 ((utf8 & 0x3F00) >> 2) | (utf8 & 0x3F)) - in utf8_to_gb18030() 822 index = kiconv_binsearch(utf8, kiconv_utf8_gb18030, in utf8_to_gb18030() 855 utf8_to_gbk(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_gbk() argument 862 index = kiconv_binsearch(utf8, kiconv_utf8_gb18030, in utf8_to_gbk() [all …]
|
/titanic_50/usr/src/lib/iconv_modules/common/ |
H A D | Makefile.common | 29 SRCS = tab_lookup.c utf8%ibm.c ibm%utf8.c
|
/titanic_50/usr/src/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.aggpackbanner.ksh | 64 dtrace -qs /dev/stdin -x encoding=utf8 <<EOF 72 dtrace -qs /dev/stdin -x encoding=utf8 -x aggzoom <<EOF
|
H A D | tst.aggencoding.d | 17 #pragma D option encoding=utf8
|
/titanic_50/usr/src/lib/iconv_modules/ko/ |
H A D | Makefile.com | 193 $(U2C933): UTF8_to_Cp933.o utf8%ibm.o tab_lookup.o $(ICONV_COMMON)tab_lookup.h 194 $(CC) $(LDFLAGS) $(CFLAGS) -o $@ UTF8_to_Cp933.o utf8%ibm.o tab_lookup.o 197 $(C9332U): Cp933_to_UTF8.o ibm%utf8.o tab_lookup.o $(ICONV_COMMON)tab_lookup.h 198 $(CC) $(LDFLAGS) $(CFLAGS) -o $@ Cp933_to_UTF8.o ibm%utf8.o tab_lookup.o 224 ibm%utf8.o : $(ICONV_COMMON)ibm%utf8.c $(COMMON)common_def.h 225 $(CC) -c $(CFLAGS) $(ICONV_COMMON)ibm%utf8.c -o $@ 228 utf8%ibm.o: $(ICONV_COMMON)utf8%ibm.c $(COMMON)common_def.h 229 $(CC) -c $(CFLAGS) $(ICONV_COMMON)utf8%ibm.c -o $@
|
/titanic_50/usr/src/lib/iconv_modules/zh/ |
H A D | Makefile.com | 189 utf8%ibm.o: $(ICONV_COMMON)/utf8%ibm.c 190 $(CC) $(CFLAGS) -c -o $@ $(ICONV_COMMON)/utf8%ibm.c 197 zh_TW-cp937%UTF-8.so: zh_TW-cp937%UTF-8.o utf8%ibm.o tab_lookup.o 198 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_TW-cp937%UTF-8.o utf8%ibm.o tab_lookup.o 201 UTF-8%zh_CN-cp935.so: UTF-8%zh_CN-cp935.o utf8%ibm.o tab_lookup.o 202 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_CN-cp935.o utf8%ibm.o tab_lookup.o 205 zh_CN-cp935%UTF-8.so: zh_CN-cp935%UTF-8.o utf8%ibm.o tab_lookup.o 206 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_CN-cp935%UTF-8.o utf8%ibm.o tab_lookup.o 209 UTF-8%zh_TW-cp937.so: UTF-8%zh_TW-cp937.o utf8%ibm.o tab_lookup.o 210 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_TW-cp937.o utf8%ibm.o tab_lookup.o
|