/illumos-gate/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_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 | 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 | 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
|
/illumos-gate/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
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ko/ |
H A D | kiconv_ko.c | 46 static int8_t utf8_to_euckr(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 48 static int8_t utf8_to_uhc(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 464 utf8_to_ko(uint32_t utf8, uchar_t *ob, uchar_t *obtail, size_t *ret_val, in utf8_to_ko() argument 471 if (KICONV_KO_IS_UDC_IN_UTF8(utf8)) { in utf8_to_ko() 473 kocode = (((utf8 & 0xF0000) >> 4) | ((utf8 & 0x3F00) >> 2) | in utf8_to_ko() 474 (utf8 & 0x3F)) - KICONV_KO_UDA_UCS4_START; in utf8_to_ko() 486 index = kiconv_binsearch(utf8, table, nitems); in utf8_to_ko() 512 utf8_to_uhc(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_uhc() argument 515 return (utf8_to_ko(utf8, ob, obtail, ret_val, kiconv_utf8_uhc, in utf8_to_uhc() 524 utf8_to_euckr(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_euckr() argument [all …]
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_tc/ |
H A D | kiconv_tc.c | 70 static int8_t utf8_to_big5(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 72 static int8_t utf8_to_euctw(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 74 static int8_t utf8_to_cp950hkscs(uint32_t utf8, uchar_t **inbuf, 76 static int8_t utf8_to_big5hkscs(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 856 utf8_to_euctw(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_euctw() argument 864 if (utf8 >= KICONV_TC_UDA_UTF8_START && in utf8_to_euctw() 865 utf8 <= KICONV_TC_UDA_UTF8_END) { in utf8_to_euctw() 870 index = (((utf8 & 0x7000000) >> 6) | ((utf8 & 0x3F0000) >> 4) | in utf8_to_euctw() 871 ((utf8 & 0x3F00) >> 2) | (utf8 & 0x3F)) - in utf8_to_euctw() 883 index = kiconv_binsearch(utf8, kiconv_utf8_euctw, in utf8_to_euctw() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | shtests | 19 none of the \b--posix --utf8 --compile\b options are specified then 34 [l:locale?Disable \b--utf8\b and run the \b--posix\b and \b--compile\b 41 [u:utf8?Run the test scripts in the ast-specific C.UTF-8 locale.] 171 integer compile=-1 posix=-1 utf8=-1 191 u) utf8=$OPTARG 221 if (( compile <= 0 && posix <= 0 && utf8 <= 0 )) 224 (( utf8 )) && utf8=1 228 (( utf8 < 0 )) && utf8=0 230 then utf8=0 317 if (( posix || utf8 )) [all …]
|
/illumos-gate/usr/src/uts/common/kiconv/kiconv_sc/ |
H A D | kiconv_sc.c | 49 static int8_t utf8_to_gb2312(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 51 static int8_t utf8_to_gbk(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 53 static int8_t utf8_to_gb18030(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, 800 utf8_to_gb18030(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_gb18030() argument 807 if (utf8 >= KICONV_SC_PLANE1_UTF8_START) { in utf8_to_gb18030() 811 u32 = (((utf8 & 0x07000000) >> 6) | ((utf8 & 0x3F0000) >> 4) | in utf8_to_gb18030() 812 ((utf8 & 0x3F00) >> 2) | (utf8 & 0x3F)) - in utf8_to_gb18030() 820 index = kiconv_binsearch(utf8, kiconv_utf8_gb18030, in utf8_to_gb18030() 853 utf8_to_gbk(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_gbk() argument 860 index = kiconv_binsearch(utf8, kiconv_utf8_gb18030, in utf8_to_gbk() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/common/ |
H A D | Makefile.common | 29 SRCS = tab_lookup.c utf8%ibm.c ibm%utf8.c
|
/illumos-gate/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
|
/illumos-gate/usr/src/lib/iconv_modules/ko/ |
H A D | Makefile.com | 197 $(U2C933): UTF8_to_Cp933.o utf8%ibm.o tab_lookup.o $(ICONV_COMMON)tab_lookup.h 198 $(CC) $(LDFLAGS) $(CFLAGS) -o $@ UTF8_to_Cp933.o utf8%ibm.o tab_lookup.o 201 $(C9332U): Cp933_to_UTF8.o ibm%utf8.o tab_lookup.o $(ICONV_COMMON)tab_lookup.h 202 $(CC) $(LDFLAGS) $(CFLAGS) -o $@ Cp933_to_UTF8.o ibm%utf8.o tab_lookup.o 228 ibm%utf8.o : $(ICONV_COMMON)ibm%utf8.c $(COMMON)common_def.h 229 $(CC) $(CPPFLAGS) -c $(CFLAGS) $(ICONV_COMMON)ibm%utf8.c -o $@ 232 utf8%ibm.o: $(ICONV_COMMON)utf8%ibm.c $(COMMON)common_def.h 233 $(CC) $(CPPFLAGS) -c $(CFLAGS) $(ICONV_COMMON)utf8%ibm.c -o $@
|
/illumos-gate/usr/src/lib/iconv_modules/zh/ |
H A D | Makefile.com | 193 utf8%ibm.o: $(ICONV_COMMON)/utf8%ibm.c 194 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $(ICONV_COMMON)/utf8%ibm.c 201 zh_TW-cp937%UTF-8.so: zh_TW-cp937%UTF-8.o utf8%ibm.o tab_lookup.o 202 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_TW-cp937%UTF-8.o utf8%ibm.o tab_lookup.o 205 UTF-8%zh_CN-cp935.so: UTF-8%zh_CN-cp935.o utf8%ibm.o tab_lookup.o 206 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_CN-cp935.o utf8%ibm.o tab_lookup.o 209 zh_CN-cp935%UTF-8.so: zh_CN-cp935%UTF-8.o utf8%ibm.o tab_lookup.o 210 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ zh_CN-cp935%UTF-8.o utf8%ibm.o tab_lookup.o 213 UTF-8%zh_TW-cp937.so: UTF-8%zh_TW-cp937.o utf8%ibm.o tab_lookup.o 214 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ UTF-8%zh_TW-cp937.o utf8%ibm.o tab_lookup.o
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | kbd.h | 320 keymap_entry_t utf8; /* equivalent UTF-8 code */ member 329 keymap_entry_t utf8; /* equivalent UTF-8 code */ member
|