/illumos-gate/usr/src/lib/iconv_modules/ko/common/ |
H A D | euc_to_utf_sub.c | 42 hcode_type _wansung_to_utf8(hcode_type euc_code) in _wansung_to_utf8() argument 52 if ( (euc_code.code < 0xc9fa || euc_code.code > 0xc9fe) in _wansung_to_utf8() 53 && ( (EUC_UDC_SEG1 == euc_code.byte.byte3) || in _wansung_to_utf8() 54 (EUC_UDC_SEG2 == euc_code.byte.byte3) ) in _wansung_to_utf8() 56 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _wansung_to_utf8() 57 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _wansung_to_utf8() 64 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _wansung_to_utf8() 66 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _wansung_to_utf8() 76 node.code = euc_code.word.low; in _wansung_to_utf8()
|
H A D | unihan_to_UCS_sub.c | 44 _unified_hangul_to_UCS2LE (hcode_type euc_code) in _unified_hangul_to_UCS2LE() argument 51 if ((EUC_UDC_SEG1 == euc_code.byte.byte3) || in _unified_hangul_to_UCS2LE() 52 (EUC_UDC_SEG2 == euc_code.byte.byte3)) { in _unified_hangul_to_UCS2LE() 53 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _unified_hangul_to_UCS2LE() 54 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _unified_hangul_to_UCS2LE() 61 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _unified_hangul_to_UCS2LE() 63 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _unified_hangul_to_UCS2LE() 73 node.code = euc_code.word.low; in _unified_hangul_to_UCS2LE()
|
H A D | uhang_to_utf_sub.c | 52 hcode_type _unified_hangul_to_utf8(hcode_type euc_code) in _unified_hangul_to_utf8() argument 59 if ((EUC_UDC_SEG1 == euc_code.byte.byte3) || in _unified_hangul_to_utf8() 60 (EUC_UDC_SEG2 == euc_code.byte.byte3)) { in _unified_hangul_to_utf8() 61 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _unified_hangul_to_utf8() 62 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _unified_hangul_to_utf8() 69 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _unified_hangul_to_utf8() 71 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _unified_hangul_to_utf8() 81 node.code = euc_code.word.low; in _unified_hangul_to_utf8()
|
H A D | utf_to_euc_main.c | 89 hcode_type utf8_code, euc_code; in _icv_iconv() local 110 euc_code = _utf8_to_wansung(utf8_code); in _icv_iconv() 119 if (euc_code.code != 0) { in _icv_iconv() 121 *ob++ = euc_code.byte.byte3; in _icv_iconv() 122 *ob++ = euc_code.byte.byte4; in _icv_iconv() 134 hcode_type utf8_code, euc_code; in _icv_iconv() local 155 euc_code = _utf8_to_wansung(utf8_code); in _icv_iconv() 164 if (euc_code.code != 0) { in _icv_iconv() 165 *ob++ = euc_code.byte.byte3; in _icv_iconv() 166 *ob++ = euc_code.byte.byte4; in _icv_iconv()
|
H A D | utf_to_uhang_main.c | 86 hcode_type utf8_code, euc_code; in _icv_iconv() local 106 euc_code = _utf8_to_unified_hangul(utf8_code); in _icv_iconv() 108 if(euc_code.code != 0){ in _icv_iconv() 110 *ob++ = euc_code.byte.byte3; in _icv_iconv() 111 *ob++ = euc_code.byte.byte4; in _icv_iconv() 130 hcode_type utf8_code, euc_code; in _icv_iconv() local 151 euc_code = _utf8_to_unified_hangul(utf8_code); in _icv_iconv() 153 if (euc_code.code != 0) { in _icv_iconv() 155 *ob++ = euc_code.byte.byte3; in _icv_iconv() 156 *ob++ = euc_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 147 euc_code.code = 0; in _icv_iconv() 148 euc_code.byte.byte3 = *ib; in _icv_iconv() 149 euc_code.byte.byte4 = *(ib + 1); in _icv_iconv() 150 euc_code.wansung.msb1 = 1; in _icv_iconv() 151 euc_code.wansung.msb2 = 1; in _icv_iconv() 153 utf_code = _wansung_to_utf8(euc_code); in _icv_iconv()
|
H A D | utf_to_iso_main.c | 137 hcode_type utf8_code, euc_code; in _icv_iconv() local 158 euc_code = _utf8_to_wansung(utf8_code); in _icv_iconv() 160 if (euc_code.code != 0) { in _icv_iconv() 179 euc_code.wansung.msb1 = 0; in _icv_iconv() 180 euc_code.wansung.msb2 = 0; in _icv_iconv() 182 *ob++ = euc_code.byte.byte3; in _icv_iconv() 183 *ob++ = euc_code.byte.byte4; in _icv_iconv()
|
H A D | euc_to_utf_main.c | 79 hcode_type euc_code, utf_code; in _icv_iconv() local 96 euc_code.code = 0; in _icv_iconv() 97 euc_code.byte.byte3 = *ib; in _icv_iconv() 98 euc_code.byte.byte4 = *(ib + 1); in _icv_iconv() 99 utf_code = _wansung_to_utf8(euc_code); in _icv_iconv()
|
H A D | uhang_to_utf_main.c | 79 hcode_type euc_code, utf_code; in _icv_iconv() local 126 euc_code.code = 0; in _icv_iconv() 127 euc_code.byte.byte3 = *ib; in _icv_iconv() 128 euc_code.byte.byte4 = *(ib + 1); in _icv_iconv() 129 utf_code = _unified_hangul_to_utf8(euc_code); in _icv_iconv()
|
H A D | utf_to_johap92.c | 269 if (euc_code.code != 0) { in _icv_iconv() 271 *ob++ = euc_code.byte.byte3; in _icv_iconv() 272 *ob++ = euc_code.byte.byte4; in _icv_iconv()
|
/illumos-gate/usr/src/lib/iconv_modules/th_TH/common/ |
H A D | 838_to_874_sub.c | 42 hcode_type _838_to_874(hcode_type euc_code) in _838_to_874() argument 53 if ((EUC_UDC_SEG1 == euc_code.byte.byte3) || in _838_to_874() 54 (EUC_UDC_SEG2 == euc_code.byte.byte3)) { in _838_to_874() 55 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _838_to_874() 56 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _838_to_874() 63 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _838_to_874() 65 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _838_to_874() 79 node.code = euc_code.word.low; in _838_to_874()
|
H A D | 874_to_838_sub.c | 42 hcode_type _874_to_838(hcode_type euc_code) in _874_to_838() argument 53 if ((EUC_UDC_SEG1 == euc_code.byte.byte3) || in _874_to_838() 54 (EUC_UDC_SEG2 == euc_code.byte.byte3)) { in _874_to_838() 55 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _874_to_838() 56 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _874_to_838() 63 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _874_to_838() 65 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _874_to_838() 79 node.code = euc_code.word.low; in _874_to_838()
|
H A D | euc_to_utf_sub.c | 42 hcode_type _eucTH_to_utf8(hcode_type euc_code) in _eucTH_to_utf8() argument 49 if ((EUC_UDC_SEG1 == euc_code.byte.byte3) || in _eucTH_to_utf8() 50 (EUC_UDC_SEG2 == euc_code.byte.byte3)) { in _eucTH_to_utf8() 51 if ((euc_code.byte.byte4 < EUC_UDC_OFFSET_START) || in _eucTH_to_utf8() 52 (EUC_UDC_OFFSET_END < euc_code.byte.byte4)) { in _eucTH_to_utf8() 59 udc_index = (euc_code.byte.byte3 == EUC_UDC_SEG1) ? in _eucTH_to_utf8() 61 udc_index += (int)(euc_code.byte.byte4 - EUC_UDC_OFFSET_START); in _eucTH_to_utf8() 71 node.code = euc_code.word.low; in _eucTH_to_utf8()
|
H A D | 838_to_874_main.c | 76 hcode_type euc_code, utf_code; in _icv_iconv() local 89 euc_code.code = 0; in _icv_iconv() 90 euc_code.byte.byte4 = *ib; in _icv_iconv() 92 utf_code = _838_to_874(euc_code); in _icv_iconv()
|
H A D | 874_to_838_main.c | 76 hcode_type euc_code, utf_code; in _icv_iconv() local 89 euc_code.code = 0; in _icv_iconv() 90 euc_code.byte.byte4 = *ib; in _icv_iconv() 92 utf_code = _874_to_838(euc_code); in _icv_iconv()
|
H A D | euc_to_utf_main.c | 79 hcode_type euc_code, utf_code; in _icv_iconv() local 97 euc_code.code = 0; in _icv_iconv() 98 euc_code.byte.byte4 = *ib; in _icv_iconv() 100 utf_code = _eucTH_to_utf8(euc_code); in _icv_iconv()
|
H A D | utf_to_euc_main.c | 89 hcode_type utf8_code, euc_code; in _icv_iconv() local 123 euc_code = _utf8_to_eucTH(utf8_code); in _icv_iconv() 125 if (euc_code.code != 0) { in _icv_iconv() 127 *ob++ = euc_code.byte.byte4; in _icv_iconv()
|