/PHP-7.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf7imap.c | 92 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 96 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 110 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 114 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 140 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 148 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 180 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 207 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 249 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() 251 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() [all …]
|
H A D | mbfilter_utf7.c | 119 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 123 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 137 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 141 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 167 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 175 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 207 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 234 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 294 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7() 296 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7() [all …]
|
H A D | mbfilter_jis.c | 140 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar() 149 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 155 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 189 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 193 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 198 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 215 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar() 346 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis() 385 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_jis() 447 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp() [all …]
|
H A D | mbfilter_sjis_2004.c | 146 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 200 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 265 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 267 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 272 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 280 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 282 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 287 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 293 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 396 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() [all …]
|
H A D | mbfilter_qprint.c | 89 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc() 107 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_qprintenc() 108 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_qprintenc() 123 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc() 130 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintenc() 135 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_qprintenc() 192 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() 205 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_qprintdec() 210 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() 218 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() [all …]
|
H A D | mbfilter_base64.c | 68 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 102 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc() 103 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc() 131 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush() 132 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc_flush() 138 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 139 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 142 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 189 CK((*filter->output_function)((n >> 16) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() 190 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 114 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 166 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 176 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 181 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 186 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 203 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 221 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 222 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 380 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jpms() [all …]
|
H A D | mbfilter_cp5022x.c | 267 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 273 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 316 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 320 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 325 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 528 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis_ms() 567 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_jis_ms() 780 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50221() 793 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50221() 932 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp50222() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 164 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 170 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 225 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 229 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 234 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 250 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 267 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 268 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 283 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 408 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jp_mobile() [all …]
|
H A D | mbfilter_utf16.c | 161 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 165 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 183 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 214 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 218 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 222 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 249 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf16be() 279 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 283 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 287 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_utf8.c | 105 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_put_invalid_char() 121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_wchar() 132 CK(mbfl_filt_put_invalid_char(c, filter)); in mbfl_filt_conv_utf8_wchar() 142 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_wchar() 144 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 159 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 174 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 183 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 206 CK(mbfl_filt_put_invalid_char(cache, filter)); in mbfl_filt_conv_utf8_wchar_flush() 222 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8() [all …]
|
H A D | mbfilter_hz.c | 97 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 101 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 121 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 123 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 128 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 140 CK((*filter->output_function)(0x007e, filter->data)); in mbfl_filt_conv_hz_wchar() 201 CK((*filter->output_function)(0x7e, filter->data)); in mbfl_filt_conv_wchar_hz() 203 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz() 211 CK((*filter->output_function)(s & 0x7f, filter->data)); in mbfl_filt_conv_wchar_hz() 215 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_hz() [all …]
|
H A D | mbfilter_euc_jp.c | 112 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 123 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 142 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 144 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 149 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 157 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 159 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 170 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 192 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_iso2022_kr.c | 103 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 107 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 142 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 146 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 151 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 160 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 169 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 170 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022kr_wchar() 180 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 249 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr() [all …]
|
H A D | mbfilter_sjis_mac.c | 142 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 259 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 261 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 368 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 492 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 529 CK(mbfl_filt_conv_illegal_output(c1, filter)); in mbfl_filt_conv_wchar_sjis_mac() 530 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 562 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() 617 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_sjis_mac() [all …]
|
H A D | mbfilter_euc_tw.c | 112 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 122 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 141 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 143 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 148 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 155 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 172 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 181 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 205 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_utf32.c | 177 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_utf32_wchar() 181 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 184 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 216 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 219 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 234 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 237 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_utf32be() 267 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar() 270 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32le_wchar() 282 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le() [all …]
|
H A D | mbfilter_utf8_mobile.c | 207 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar() 218 CK(mbfl_filt_put_invalid_char(c, filter)); in mbfl_filt_conv_utf8_mobile_wchar() 244 CK((*filter->output_function)(snd, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar() 246 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar() 248 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar() 263 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar() 278 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar() 287 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar() 327 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile() 330 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile() [all …]
|
H A D | mbfilter_byte4.c | 95 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 116 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4be_wchar() 123 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 124 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 125 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 126 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 149 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4le_wchar() 156 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() 157 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() 158 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() [all …]
|
H A D | mbfilter_ucs4.c | 178 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs4_wchar() 181 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar() 211 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar() 222 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 224 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 225 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 228 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs4be() 257 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4le_wchar() 268 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() 269 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() [all …]
|
H A D | mbfilter_euc_jp_win.c | 115 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 126 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 167 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 169 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 174 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 182 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 184 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 189 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 195 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() 238 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjpwin_wchar() [all …]
|
H A D | mbfilter_ucs2.c | 126 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 159 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs2_wchar() 162 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar() 184 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 195 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 196 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 199 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_ucs2be() 220 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2le_wchar() 232 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 233 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2le() [all …]
|
H A D | mbfilter_cp51932.c | 121 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 130 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 171 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 173 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 178 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 186 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 188 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 193 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 289 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932() 298 CK(mbfl_filt_conv_illegal_output(c, filter)); in mbfl_filt_conv_wchar_cp51932() [all …]
|
H A D | mbfilter_byte2.c | 93 #define CK(statement) do { if ((statement) < 0) return (-1); } while (0) macro 106 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2be_wchar() 113 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 114 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2be() 129 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte2le_wchar() 136 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le() 137 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte2le()
|
H A D | mbfilter_cp936.c | 113 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar() 115 CK((*filter->output_function)(0x20ac, filter->data)); in mbfl_filt_conv_cp936_wchar() 120 CK((*filter->output_function)(0xf8f5, filter->data)); in mbfl_filt_conv_cp936_wchar() 132 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 136 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 150 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 169 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 171 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp936_wchar() 176 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar() 278 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp936() [all …]
|