Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 25 of 149) sorted by relevance

123456

/illumos-gate/usr/src/lib/iconv_modules/ko/common/
H A Dcommon_utf.c44 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()
53 utf8.utf8.high8bits = 0x00; in _uni_to_utf8()
54 utf8.utf8.sign1 = 0x0E; in _uni_to_utf8()
55 utf8.utf8.data1 = unicode.unicode.data1; in _uni_to_utf8()
[all …]
H A Dutf_to_uhang_sub.c38 …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 Duhang_to_utf_sub.c88 …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 DUTF2_to_johap92.c164 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 DUTF2_to_euc.c166 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 Dutf_to_euc_sub.c35 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 DUTF2_to_iso2022-7.c193 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 Dutf_to_njh_sub.c35 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 Dcommon_han.h73 } utf8; member
118 } utf8; member
H A Dutf_to_johap92.c330 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 Dcommon_def.h43 hcode_type utf8; member
/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/
H A Dcommon_utf.c40 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()
59 unicode.unicode.data1 = utf8.utf8.data1; in _utf8_to_uni()
60 unicode.unicode.data2 = utf8.utf8.data2; in _utf8_to_uni()
61 unicode.unicode.data3 = utf8.utf8.data3; in _utf8_to_uni()
[all …]
H A Dutf_to_euc_sub.c35 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 Dcommon_thai.h66 } utf8; member
104 } utf8; member
H A Dcommon_def.h39 hcode_type utf8; member
/illumos-gate/usr/src/cmd/ldap/common/
H A Dconvutf8.c179 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;
706 if( utf8 == NULL ) {
717 free(utf8);
723 if( utf8 == NULL )
724 utf8 = strdup(src);
[all …]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_ko/
H A Dkiconv_ko.c46 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 Dkiconv_tc.c74 static int8_t utf8_to_cp950hkscs(uint32_t utf8, uchar_t **inbuf,
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()
934 index = kiconv_binsearch(utf8, kiconv_utf8_hkscs, in utf8_to_big5hkscs()
988 index = kiconv_binsearch(utf8, table, nitems); in utf8_to_big5_common()
1012 utf8_to_big5(uint32_t utf8, uchar_t **inbuf, uchar_t *ibtail, in utf8_to_big5() argument
1015 return (utf8_to_big5_common(utf8, ob, obtail, ret_val, in utf8_to_big5()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dshtests19 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 Dkiconv_sc.c49 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,
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()
894 utf8_to_gb2312(uint32_t utf8, uchar_t **inbuf, uchar_t *intail, in utf8_to_gb2312() argument
[all …]
/illumos-gate/usr/src/lib/iconv_modules/common/
H A DMakefile.common29 SRCS = tab_lookup.c utf8%ibm.c ibm%utf8.c
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/aggs/
H A Dtst.aggpackbanner.ksh64 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 DMakefile.com197 $(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 DMakefile.com193 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 Dkbd.h320 keymap_entry_t utf8; /* equivalent UTF-8 code */ member
329 keymap_entry_t utf8; /* equivalent UTF-8 code */ member

123456