/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | uhang_to_utf_sub.c | 55 hcode_type utf_code; in _unified_hangul_to_utf8() local 64 utf_code.code = 0; in _unified_hangul_to_utf8() 66 return(utf_code); in _unified_hangul_to_utf8() 73 utf_code = _udcidx_to_utf(udc_index); in _unified_hangul_to_utf8() 75 if (utf_code.code == UTF_UDC_ERROR) in _unified_hangul_to_utf8() 76 utf_code.code = UTF8_NON_ID_CHAR; /* Failed */ in _unified_hangul_to_utf8() 78 return(utf_code); in _unified_hangul_to_utf8() 97 utf_code = _uni_to_utf8(node_ptr->utf8); in _unified_hangul_to_utf8() 99 printf("*->%2x%2x%2x*",utf_code.byte.byte2,utf_code.byte.byte3,utf_code.byte.byte4); in _unified_hangul_to_utf8() 102 return(utf_code); in _unified_hangul_to_utf8() [all …]
|
H A D | unihan_to_UCS_sub.c | 47 hcode_type utf_code; in _unified_hangul_to_UCS2LE() local 56 utf_code.code = 0; in _unified_hangul_to_UCS2LE() 58 return(utf_code); in _unified_hangul_to_UCS2LE() 65 utf_code = _udcidx_to_utf(udc_index); in _unified_hangul_to_UCS2LE() 67 if (utf_code.code == UTF_UDC_ERROR) in _unified_hangul_to_UCS2LE() 68 utf_code.code = UTF8_NON_ID_CHAR; /* Failed */ in _unified_hangul_to_UCS2LE() 70 return(utf_code); in _unified_hangul_to_UCS2LE() 80 utf_code = node_ptr->utf8; in _unified_hangul_to_UCS2LE() 82 utf_code.code = UTF8_NON_ID_CHAR; in _unified_hangul_to_UCS2LE() 83 return(utf_code); in _unified_hangul_to_UCS2LE()
|
H A D | njh_to_utf_sub.c | 44 hcode_type utf_code; in _johap92_to_utf8() local 54 utf_code.code = 0; in _johap92_to_utf8() 56 return(utf_code); in _johap92_to_utf8() 66 utf_code = _udcidx_to_utf(udc_index); in _johap92_to_utf8() 68 if (utf_code.code == UTF_UDC_ERROR) in _johap92_to_utf8() 69 utf_code.code = UTF8_NON_ID_CHAR; /* Failed */ in _johap92_to_utf8() 71 return(utf_code); in _johap92_to_utf8() 86 utf_code.code = UTF8_NON_ID_CHAR; in _johap92_to_utf8() 87 return(utf_code); in _johap92_to_utf8() 106 utf_code = _uni_to_utf8(unicode); in _johap92_to_utf8() [all …]
|
H A D | euc_to_utf_sub.c | 45 hcode_type utf_code; in _wansung_to_utf8() local 59 utf_code.code = 0; in _wansung_to_utf8() 61 return(utf_code); in _wansung_to_utf8() 68 utf_code = _udcidx_to_utf(udc_index); in _wansung_to_utf8() 70 if (utf_code.code == UTF_UDC_ERROR) in _wansung_to_utf8() 71 utf_code.code = UTF8_NON_ID_CHAR; /* Failed */ in _wansung_to_utf8() 73 return(utf_code); in _wansung_to_utf8() 85 utf_code.code = UTF8_NON_ID_CHAR; in _wansung_to_utf8() 86 return(utf_code); in _wansung_to_utf8()
|
H A D | ojh_to_utf_sub.c | 34 hcode_type utf_code; in _johap82_to_utf8() local 40 utf_code.code = 0; /* Not Hangul */ in _johap82_to_utf8() 41 return(utf_code); in _johap82_to_utf8() 50 utf_code.code = 0; /* Not Hangul */ in _johap82_to_utf8() 51 return(utf_code); in _johap82_to_utf8() 58 utf_code = _uni_to_utf8(unicode); in _johap82_to_utf8() 60 return(utf_code); in _johap82_to_utf8()
|
H A D | euc_to_utf_main.c | 79 hcode_type euc_code, utf_code; in _icv_iconv() local 99 utf_code = _wansung_to_utf8(euc_code); in _icv_iconv() 101 if (utf_code.code != 0) in _icv_iconv() 114 if((char)utf_code.byte.byte2 != '\0') in _icv_iconv() 118 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv() 119 if((char)utf_code.byte.byte3 != '\0') in _icv_iconv() 126 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv() 127 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | uhang_to_utf_main.c | 79 hcode_type euc_code, utf_code; in _icv_iconv() local 129 utf_code = _unified_hangul_to_utf8(euc_code); in _icv_iconv() 131 if (utf_code.code != 0) in _icv_iconv() 140 if(utf_code.byte.byte2) in _icv_iconv() 141 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv() 142 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv() 143 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | njh_to_utf_main.c | 79 hcode_type njh_code, utf_code; in _icv_iconv() local 92 utf_code = _johap92_to_utf8(njh_code); in _icv_iconv() 94 if (utf_code.code != 0) in _icv_iconv() 103 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv() 104 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv() 105 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | ojh_to_utf_main.c | 79 hcode_type ojh_code, utf_code; in _icv_iconv() local 92 utf_code = _johap82_to_utf8(ojh_code); in _icv_iconv() 94 if (utf_code.code != 0) in _icv_iconv() 103 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv() 104 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv() 105 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | iso_to_utf_main.c | 104 hcode_type euc_code, utf_code; in _icv_iconv() local 153 utf_code = _wansung_to_utf8(euc_code); in _icv_iconv() 155 if (utf_code.code != 0) in _icv_iconv() 164 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv() 165 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv() 166 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | utf_to_johap92.c | 267 unsigned short _utf8_to_jahap92(utf_code.code) in _icv_iconv() 324 unsigned short _utf8_to_jahap92(unsigned long utf_code) in _utf8_to_jahap92() argument 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_utf.c | 115 int _utf_to_udcidx(hcode_type utf_code) in _utf_to_udcidx() argument 119 unicode = _utf8_to_uni(utf_code); in _utf_to_udcidx()
|
H A D | common_utf.h | 53 extern int _utf_to_udcidx(hcode_type utf_code);
|
/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/ |
H A D | 838_to_874_sub.c | 45 hcode_type utf_code; in _838_to_874() local 58 utf_code.code = 0; in _838_to_874() 60 return(utf_code); in _838_to_874() 67 utf_code = _udcidx_to_utf(udc_index); in _838_to_874() 69 if (utf_code.code == UTF_UDC_ERROR) in _838_to_874() 70 utf_code.code = 0; /* Failed */ in _838_to_874() 72 return(utf_code); in _838_to_874() 88 utf_code.code = 0; in _838_to_874() 89 return(utf_code); in _838_to_874()
|
H A D | 874_to_838_sub.c | 45 hcode_type utf_code; in _874_to_838() local 58 utf_code.code = 0; in _874_to_838() 60 return(utf_code); in _874_to_838() 67 utf_code = _udcidx_to_utf(udc_index); in _874_to_838() 69 if (utf_code.code == UTF_UDC_ERROR) in _874_to_838() 70 utf_code.code = 0; /* Failed */ in _874_to_838() 72 return(utf_code); in _874_to_838() 88 utf_code.code = 0; in _874_to_838() 89 return(utf_code); in _874_to_838()
|
H A D | euc_to_utf_sub.c | 45 hcode_type utf_code; in _eucTH_to_utf8() local 54 utf_code.code = 0; in _eucTH_to_utf8() 56 return(utf_code); in _eucTH_to_utf8() 63 utf_code = _udcidx_to_utf(udc_index); in _eucTH_to_utf8() 65 if (utf_code.code == UTF_UDC_ERROR) in _eucTH_to_utf8() 66 utf_code.code = 0; /* Failed */ in _eucTH_to_utf8() 68 return(utf_code); in _eucTH_to_utf8() 80 utf_code.code = 0; in _eucTH_to_utf8() 81 return(utf_code); in _eucTH_to_utf8()
|
H A D | euc_to_utf_main.c | 79 hcode_type euc_code, utf_code; in _icv_iconv() local 100 utf_code = _eucTH_to_utf8(euc_code); in _icv_iconv() 102 if (utf_code.code != 0) in _icv_iconv() 111 *ob++ = (char)utf_code.byte.byte2; in _icv_iconv() 112 *ob++ = (char)utf_code.byte.byte3; in _icv_iconv() 113 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | 838_to_874_main.c | 76 hcode_type euc_code, utf_code; in _icv_iconv() local 92 utf_code = _838_to_874(euc_code); in _icv_iconv() 94 if (utf_code.code != 0) in _icv_iconv() 102 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | 874_to_838_main.c | 76 hcode_type euc_code, utf_code; in _icv_iconv() local 92 utf_code = _874_to_838(euc_code); in _icv_iconv() 94 if (utf_code.code != 0) in _icv_iconv() 102 *ob++ = (char)utf_code.byte.byte4; in _icv_iconv()
|
H A D | common_utf.c | 83 int _utf_to_udcidx(hcode_type utf_code) in _utf_to_udcidx() argument 87 unicode = _utf8_to_uni(utf_code); in _utf_to_udcidx()
|
H A D | common_utf.h | 53 extern int _utf_to_udcidx(hcode_type utf_code);
|