/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 90 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 94 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 108 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 112 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 138 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 146 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 178 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 205 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 247 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() 249 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() [all …]
|
H A D | mbfilter_utf7.c | 117 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 121 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 135 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 139 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 165 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 173 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 205 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 232 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 292 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7() 294 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7() [all …]
|
H A D | mbfilter_jis.c | 136 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar() 145 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 151 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 185 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 189 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 194 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 211 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar() 342 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis() 381 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_jis() 443 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp() [all …]
|
H A D | mbfilter_sjis_2004.c | 144 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 198 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 263 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 265 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 270 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 278 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 280 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 285 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 291 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 394 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() [all …]
|
H A D | mbfilter_qprint.c | 87 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc() 105 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_qprintenc() 106 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_qprintenc() 121 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc() 128 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc() 133 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc() 190 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() 203 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintdec() 208 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() 216 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() [all …]
|
H A D | mbfilter_base64.c | 66 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 100 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc() 101 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc() 129 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush() 130 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc_flush() 136 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 137 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 140 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 187 CK((*filter->output_function)((n >> 16) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() 188 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 112 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 118 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 174 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 179 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 184 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 201 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 219 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 220 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 378 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jpms() [all …]
|
H A D | mbfilter_cp5022x.c | 257 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 263 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 306 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 310 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 315 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 518 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis_ms() 557 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_jis_ms() 770 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50221() 783 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50221() 922 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50222() [all …]
|
H A D | mbfilter_utf16.c | 155 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 159 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 177 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 208 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 212 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 216 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 243 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf16be() 273 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 277 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 281 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 162 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 168 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 223 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 227 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 232 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 248 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 265 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 266 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 281 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 406 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jp_mobile() [all …]
|
H A D | mbfilter_hz.c | 95 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 99 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 119 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 126 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 138 CK((*filter->output_function)(0x007e, filter->data)); in mbfl_filt_conv_hz_wchar() 199 CK((*filter->output_function)(0x7e, filter->data)); in mbfl_filt_conv_wchar_hz() 201 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz() 209 CK((*filter->output_function)(s & 0x7f, filter->data)); in mbfl_filt_conv_wchar_hz() 213 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_hz() [all …]
|
H A D | mbfilter_euc_jp.c | 110 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 121 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 140 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 142 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 147 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 155 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 157 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 162 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 168 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 190 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_sjis_mac.c | 140 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 162 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 257 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 259 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 366 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 490 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 527 CK(mbfl_filt_conv_illegal_output(c1, filter)); in mbfl_filt_conv_wchar_sjis_mac() 528 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 560 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 615 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() [all …]
|
H A D | mbfilter_iso2022_kr.c | 101 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 105 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 140 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 144 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 149 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 158 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 167 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 168 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022kr_wchar() 178 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 247 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr() [all …]
|
H A D | mbfilter_euc_tw.c | 110 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 139 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 141 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 146 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 153 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 162 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 170 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 179 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 203 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_utf32.c | 171 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_utf32_wchar() 175 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 178 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 210 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 213 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 228 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 231 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf32be() 261 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar() 264 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar() 276 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le() [all …]
|
H A D | mbfilter_ucs4.c | 172 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs4_wchar() 175 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar() 205 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar() 216 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 218 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 219 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 222 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs4be() 251 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4le_wchar() 262 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() 263 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() [all …]
|
H A D | mbfilter_byte4.c | 91 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 112 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4be_wchar() 119 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 120 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 121 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 122 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 145 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4le_wchar() 152 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() 153 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() 154 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() [all …]
|
H A D | mbfilter_euc_jp_win.c | 113 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 124 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 165 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 167 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 172 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 180 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 182 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 187 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 193 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 236 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() [all …]
|
H A D | mbfilter_ucs2.c | 120 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 153 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs2_wchar() 156 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar() 178 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 189 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 190 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 193 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs2be() 214 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2le_wchar() 226 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 227 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le() [all …]
|
H A D | mbfilter_cp51932.c | 119 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 128 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 169 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 171 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 176 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 184 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 186 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 191 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 287 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932() 296 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp51932() [all …]
|
H A D | mbfilter_utf8.c | 94 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 103 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_put_invalid_char() 118 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_wchar() 139 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_wchar() 219 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8() 221 CK((*filter->output_function)(((c >> 6) & 0x1f) | 0xc0, filter->data)); in mbfl_filt_conv_wchar_utf8() 222 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8() 225 CK((*filter->output_function)(((c >> 6) & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8() 226 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8() 231 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8() [all …]
|
H A D | mbfilter_cp936.c | 111 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar() 113 CK((*filter->output_function)(0x20ac, filter->data)); in mbfl_filt_conv_cp936_wchar() 118 CK((*filter->output_function)(0xf8f5, filter->data)); in mbfl_filt_conv_cp936_wchar() 130 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 134 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 148 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 167 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 169 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar() 174 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 276 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp936() [all …]
|
H A D | mbfilter_byte2.c | 89 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 102 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2be_wchar() 109 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 110 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 125 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2le_wchar() 132 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le() 133 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le()
|
H A D | mbfilter_euc_cn.c | 96 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euccn_wchar() 116 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar() 135 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar() 137 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euccn_wchar() 142 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euccn_wchar() 202 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_euccn() 204 CK((*filter->output_function)((s >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_euccn() 205 CK((*filter->output_function)(s & 0xff, filter->data)); in mbfl_filt_conv_wchar_euccn() 209 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_euccn()
|