/titanic_50/usr/src/uts/common/kiconv/kiconv_ko/ |
H A D | kiconv_ko.c | 49 uchar_t *ob, uchar_t *obtail, size_t *ret_val); 51 uchar_t *ob, uchar_t *obtail, size_t *ret_val); 52 static int8_t ko_to_utf8(uint32_t ko_val, uchar_t *ob, uchar_t *obtail, 91 uchar_t *obtail; in kiconv_fr_euckr() local 111 obtail = ob + *outbufleft; in kiconv_fr_euckr() 115 if (ob >= obtail) { in kiconv_fr_euckr() 148 sz = ko_to_utf8(euckr_val, ob, obtail, &ret_val, in kiconv_fr_euckr() 162 *outbufleft = obtail - ob; in kiconv_fr_euckr() 177 uchar_t *obtail; in kiconvstr_fr_euckr() local 188 obtail = ob + *outlen; in kiconvstr_fr_euckr() [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_sc/ |
H A D | kiconv_sc.c | 48 uchar_t *obtail, size_t *ret_val); 49 static int8_t gbk_to_utf8(uint32_t gbk_val, uchar_t *ob, uchar_t *obtail, 52 uchar_t *ob, uchar_t *obtail, size_t *ret); 54 uchar_t *ob, uchar_t *obtail, size_t *ret); 56 uchar_t *ob, uchar_t *obtail, size_t *ret); 123 uchar_t *obtail; in kiconv_fr_gb18030() local 144 obtail = ob + *outbytesleft; in kiconv_fr_gb18030() 148 if (ob >= obtail) { in kiconv_fr_gb18030() 193 sz = gbk_to_utf8(gb_val, ob, obtail, &ret_val, isgbk4); in kiconv_fr_gb18030() 205 *outbytesleft = obtail - ob; in kiconv_fr_gb18030() [all …]
|
H A D | kiconv_cck_common.c | 83 uchar_t *obtail; in kiconv_utf8_to_cck() local 106 obtail = ob + *outbytesleft; in kiconv_utf8_to_cck() 124 if (ob >= obtail) { in kiconv_utf8_to_cck() 173 sz = ptr_utf8tocck(u8, &ib, ibtail, ob, obtail, &ret_val); in kiconv_utf8_to_cck() 186 *outbytesleft = obtail - ob; in kiconv_utf8_to_cck() 196 uchar_t *obtail; in kiconvstr_utf8_to_cck() local 206 obtail = ob + *outlen; in kiconvstr_utf8_to_cck() 218 if (ob >= obtail) { in kiconvstr_utf8_to_cck() 265 sz = ptr_utf8tocck(u8, &ib, ibtail, ob, obtail, &ret_val); in kiconvstr_utf8_to_cck() 275 if (ob >= obtail) { in kiconvstr_utf8_to_cck() [all …]
|
/titanic_50/usr/src/uts/common/kiconv/kiconv_tc/ |
H A D | kiconv_tc.c | 70 uchar_t *obtail, size_t *ret_val); 73 uchar_t *ob, uchar_t *obtail, size_t *ret_val); 75 uchar_t *ob, uchar_t *obtail, size_t *ret_val); 77 uchar_t *ibtail, uchar_t *ob, uchar_t *obtail, size_t *ret_val); 79 uchar_t *ob, uchar_t *obtail, size_t *ret_val); 80 static int8_t big5_to_utf8(uint32_t big5_val, uchar_t *ob, uchar_t *obtail, 83 uchar_t *obtail, size_t *ret_val); 85 uchar_t *obtail, size_t *ret_val); 87 uchar_t *ob, uchar_t *obtail, size_t *ret_val); 141 uchar_t *obtail; in kiconv_fr_big5_common() local [all …]
|
/titanic_50/usr/src/lib/iconv_modules/ko/common/ |
H A D | johap92_to_UTF2.c | 70 unsigned char* obtail; in _icv_iconv() local 84 obtail = ob + *outbufleft; in _icv_iconv() 110 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv() 131 if ((obtail - ob) < 3) in _icv_iconv() 153 if (ob >= obtail) in _icv_iconv() 166 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | iso2022-7_to_UTF2.c | 71 unsigned char* obtail; in _icv_iconv() local 89 obtail = ob + *outbufleft; in _icv_iconv() 118 if (ob >= obtail) in _icv_iconv() 150 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv() 171 if ((obtail - ob) < 3) in _icv_iconv() 211 if (ob >= obtail) in _icv_iconv() 224 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | euc_to_UTF2.c | 70 unsigned char* obtail; in _icv_iconv() local 84 obtail = ob + *outbufleft; in _icv_iconv() 118 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv() 139 if ((obtail - ob) < 3) in _icv_iconv() 161 if (ob >= obtail) in _icv_iconv() 174 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | utf_to_njh_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 79 if (ob >= obtail) in _icv_iconv() 120 if ((obtail - ob) < 2) in _icv_iconv() 167 if ((obtail - ob) < offset) in _icv_iconv() 183 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | utf_to_ojh_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 79 if (ob >= obtail) in _icv_iconv() 120 if ((obtail - ob) < 2) in _icv_iconv() 167 if ((obtail - ob) < offset) in _icv_iconv() 183 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | utf_to_euc_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 79 if (ob >= obtail) in _icv_iconv() 112 if ((obtail - ob) < 2) in _icv_iconv() 157 if ((obtail - ob) < 2) in _icv_iconv() 208 if ((obtail - ob) < offset2) in _icv_iconv() 228 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | utf_to_uhang_main.c | 58 unsigned char* obtail; in _icv_iconv() local 72 obtail = ob + *outbufleft; in _icv_iconv() 77 if (ob >= obtail) in _icv_iconv() 116 if ((obtail - ob) < 2) in _icv_iconv() 161 if ((obtail - ob) < 2) in _icv_iconv() 208 if ((obtail - ob) < offset) in _icv_iconv() 224 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | euc_to_iso2022-7.c | 92 unsigned char* obtail; in _icv_iconv() local 125 obtail = ob + *outbufleft; in _icv_iconv() 133 if (ob >= obtail) in _icv_iconv() 142 if (ob >= obtail) in _icv_iconv() 161 if ((obtail - ob) < 4) in _icv_iconv() 173 if (ob >= obtail) in _icv_iconv() 183 if ((obtail - ob) < 2) in _icv_iconv() 197 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | njh_to_utf_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 96 if ((obtail - ob) < 3) in _icv_iconv() 119 if (ob >= obtail) in _icv_iconv() 132 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | ojh_to_utf_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 96 if ((obtail - ob) < 3) in _icv_iconv() 119 if (ob >= obtail) in _icv_iconv() 132 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | UTF2_to_iso2022-7.c | 74 unsigned char* obtail; in _icv_iconv() local 107 obtail = ob + *outbufleft; in _icv_iconv() 115 if ((obtail - ob) < (cd->state == WANSUNG ? 2 : 1)) in _icv_iconv() 183 if ((obtail - ob) < num) in _icv_iconv() 218 if (ob >= obtail) in _icv_iconv() 258 if ((obtail - ob) < 2) in _icv_iconv() 299 if ((obtail - ob) < offset) in _icv_iconv() 315 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | UTF2_to_johap92.c | 70 unsigned char* obtail; in _icv_iconv() local 87 obtail = ob + *outbufleft; in _icv_iconv() 95 if (ob >= obtail) in _icv_iconv() 154 if ((obtail - ob) < 2) in _icv_iconv() 204 if ((obtail - ob) < 2) in _icv_iconv() 245 if ((obtail - ob) < offset) in _icv_iconv() 261 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | UTF2_to_euc.c | 72 unsigned char* obtail; in _icv_iconv() local 89 obtail = ob + *outbufleft; in _icv_iconv() 97 if (ob >= obtail) in _icv_iconv() 156 if ((obtail - ob) < 2) in _icv_iconv() 205 if ((obtail - ob) < 2) in _icv_iconv() 246 if ((obtail - ob) < offset) in _icv_iconv() 262 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | UTF2_to_johap.c | 70 unsigned char* obtail; in _icv_iconv() local 87 obtail = ob + *outbufleft; in _icv_iconv() 95 if (ob >= obtail) in _icv_iconv() 153 if ((obtail - ob) < 2) in _icv_iconv() 194 if ((obtail - ob) < offset) in _icv_iconv() 210 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | euc_to_utf_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 103 if ((obtail - ob) < 3) in _icv_iconv() 141 if (ob >= obtail) in _icv_iconv() 154 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | johap_to_UTF2.c | 70 unsigned char* obtail; in _icv_iconv() local 84 obtail = ob + *outbufleft; in _icv_iconv() 110 if ((obtail - ob) < (cf ? 9 : 6)) in _icv_iconv() 141 if (ob >= obtail) in _icv_iconv() 154 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | iso_to_utf_main.c | 80 unsigned char* obtail; in _icv_iconv() local 98 obtail = ob + *outbufleft; in _icv_iconv() 121 if (ob >= obtail) in _icv_iconv() 157 if ((obtail - ob) < 3) in _icv_iconv() 198 if (ob >= obtail) in _icv_iconv() 211 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | unihan_to_UCS_main.c | 82 unsigned char* obtail; in _icv_iconv() local 96 obtail = ob + *outbufleft; in _icv_iconv() 157 if ((obtail - ob) < 3) in _icv_iconv() 197 if ((obtail - ob) < 3) in _icv_iconv() 210 if ((obtail - ob) < 1) in _icv_iconv() 234 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | uhang_to_utf_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 133 if ((obtail - ob) < 3) in _icv_iconv() 157 if (ob >= obtail) in _icv_iconv() 170 *outbufleft = obtail - ob; in _icv_iconv()
|
/titanic_50/usr/src/lib/iconv_modules/th_TH/common/ |
H A D | euc_to_utf_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 104 if ((obtail - ob) < 3) in _icv_iconv() 127 if (ob >= obtail) in _icv_iconv() 140 *outbufleft = obtail - ob; in _icv_iconv()
|
H A D | utf_to_euc_main.c | 59 unsigned char* obtail; in _icv_iconv() local 73 obtail = ob + *outbufleft; in _icv_iconv() 79 if (ob >= obtail) in _icv_iconv() 132 if ((obtail - ob) < 1) in _icv_iconv() 183 if ((obtail - ob) < offset) in _icv_iconv() 199 *outbufleft = obtail - ob; in _icv_iconv()
|