/PHP-8.1/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_utf16.c | 147 filter->cache = filter->status = 0; in mbfl_filt_conv_utf16_wchar() 158 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 160 filter->cache = filter->status = 0; in mbfl_filt_conv_utf16_wchar() 187 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 193 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf16be_wchar() 206 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 210 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 259 CK((*filter->output_function)(filter->cache + ((c & 0xff) << 8), filter->data)); in mbfl_filt_conv_utf16le_wchar() 279 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() 285 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16le_wchar() [all …]
|
H A D | mbfilter_qprint.c | 90 CK((*filter->output_function)(s, filter->data)); 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() 149 (*filter->filter_function)('\0', filter); in mbfl_filt_conv_qprintenc_flush() 192 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_qprintdec() 200 CK((*filter->output_function)(filter->cache, 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_utf7imap.c | 151 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7imap_wchar() 162 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 192 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 201 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 228 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 237 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7imap_wchar() 293 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf7imap_wchar_flush() 325 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() 327 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7imap() 337 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7imap() [all …]
|
H A D | mbfilter_base64.c | 91 filter->status++; in mbfl_filt_conv_base64enc() 101 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc() 102 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc() 130 CK((*filter->output_function)(0x0d, filter->data)); /* CR */ in mbfl_filt_conv_base64enc_flush() 131 CK((*filter->output_function)(0x0a, filter->data)); /* LF */ in mbfl_filt_conv_base64enc_flush() 137 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 138 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 141 CK((*filter->output_function)(0x3d, filter->data)); /* '=' */ in mbfl_filt_conv_base64enc_flush() 188 CK((*filter->output_function)((n >> 16) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() 189 CK((*filter->output_function)((n >> 8) & 0xff, filter->data)); in mbfl_filt_conv_base64dec() [all …]
|
H A D | mbfilter_cp5022x.c | 166 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_cp5022x_wchar() 175 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp5022x_wchar() 220 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp5022x_wchar() 258 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_cp5022x_wchar() 277 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_cp5022x_wchar() 278 CK((*filter->output_function)(0x28, filter->data)); in mbfl_filt_conv_cp5022x_wchar() 321 (*filter->flush_function)(filter->data); in mbfl_filt_conv_cp5022x_wchar_flush() 342 (*filter->output_function)(0, filter->data); in mbfl_filt_conv_wchar_cp50220() 469 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50221() 604 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50222() [all …]
|
H A D | mbfilter_jis.c | 129 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar() 131 CK((*filter->output_function)(0x203e, filter->data)); in mbfl_filt_conv_jis_wchar() 138 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 174 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 212 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_jis_wchar() 231 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_jis_wchar() 232 CK((*filter->output_function)(0x28, filter->data)); in mbfl_filt_conv_jis_wchar() 275 (*filter->flush_function)(filter->data); in mbfl_filt_conv_jis_wchar_flush() 330 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis() 427 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022jp() [all …]
|
H A D | mbfilter_utf8.c | 90 filter->status = filter->cache = 0; in mbfl_filt_put_invalid_char() 91 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_put_invalid_char() 103 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_wchar() 122 filter->status = filter->cache = 0; in mbfl_filt_conv_utf8_wchar() 123 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_wchar() 161 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_wchar() 179 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf8_wchar_flush() 184 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf8_wchar_flush() 194 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8() 197 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8() [all …]
|
H A D | mbfilter_utf7.c | 120 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 124 filter->cache = filter->status = 0; in mbfl_filt_conv_utf7_wchar() 135 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 170 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 184 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 228 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 266 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 288 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf7_wchar_flush() 319 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf7() 392 filter->status = filter->cache = 0; in mbfl_filt_conv_wchar_utf7_flush() [all …]
|
H A D | mbfilter_sjis_2004.c | 135 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 142 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 147 } else if ((filter->status == 0x80 || filter->status == 0x90 || filter->status == 0xa0) in mbfl_filt_conv_jis2004_wchar() 158 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 227 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 252 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 262 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 326 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 346 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 434 return (*filter->flush_function)(filter->data); in mbfl_filt_conv_jis2004_wchar_flush() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 100 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 154 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 220 (*filter->flush_function)(filter->data); in mbfl_filt_conv_2022jpms_wchar_flush() 309 CK((*filter->output_function)('(', filter->data)); in mbfl_filt_conv_wchar_2022jpms() 310 CK((*filter->output_function)('B', filter->data)); in mbfl_filt_conv_wchar_2022jpms() 312 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jpms() 317 CK((*filter->output_function)('(', filter->data)); in mbfl_filt_conv_wchar_2022jpms() 318 CK((*filter->output_function)('I', filter->data)); in mbfl_filt_conv_wchar_2022jpms() 354 CK((*filter->output_function)('(', filter->data)); in mbfl_filt_conv_any_2022jpms_flush() 355 CK((*filter->output_function)('B', filter->data)); in mbfl_filt_conv_any_2022jpms_flush() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 134 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 172 (*filter->output_function)(snd, filter->data); in mbfl_filt_conv_2022jp_mobile_wchar() 187 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 250 (*filter->flush_function)(filter->data); in mbfl_filt_conv_2022jp_mobile_wchar_flush() 297 if (filter->status == 1 && filter->cache) { in mbfl_filt_conv_wchar_2022jp_mobile() 323 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_2022jp_mobile() 355 (*filter->output_function)('(', filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush() 356 (*filter->output_function)('B', filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush() 361 (*filter->output_function)(c1, filter->data); in mbfl_filt_conv_wchar_2022jp_mobile_flush() 363 filter->status = filter->cache = 0; in mbfl_filt_conv_wchar_2022jp_mobile_flush() [all …]
|
H A D | mbfilter_ucs4.c | 192 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar() 223 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar() 234 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 235 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 236 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 237 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 267 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4le_wchar() 278 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() 279 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4le() 293 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs4_wchar_flush() [all …]
|
H A D | mbfilter_iso2022_kr.c | 96 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 98 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_2022kr_wchar() 135 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 183 (*filter->flush_function)(filter->data); in mbfl_filt_conv_2022kr_wchar_flush() 236 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr() 240 CK((*filter->output_function)('$', filter->data)); in mbfl_filt_conv_wchar_2022kr() 241 CK((*filter->output_function)(')', filter->data)); in mbfl_filt_conv_wchar_2022kr() 242 CK((*filter->output_function)('C', filter->data)); in mbfl_filt_conv_wchar_2022kr() 250 CK((*filter->output_function)(s & 0xff, filter->data)); in mbfl_filt_conv_wchar_2022kr() 266 filter->status = filter->cache = 0; in mbfl_filt_conv_any_2022kr_flush() [all …]
|
H A D | mbfilter_utf32.c | 138 CK((*filter->output_function)(n, filter->data)); in emit_char_if_valid() 148 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32_wchar() 152 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar() 171 filter->cache = (filter->cache << 8) | (c & 0xFF); in mbfl_filt_conv_utf32be_wchar() 175 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32be_wchar() 187 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 198 filter->cache |= ((c & 0xFFU) << (8 * filter->status)); in mbfl_filt_conv_utf32le_wchar() 202 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32le_wchar() 211 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32le() 228 filter->cache = filter->status = 0; in mbfl_filt_conv_utf32_wchar_flush() [all …]
|
H A D | mbfilter_euc_tw.c | 100 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 126 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 128 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 138 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 151 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 181 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 183 filter->status = filter->cache = 0; in mbfl_filt_conv_euctw_wchar() 224 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_euctw() 232 CK((*filter->output_function)(0x8e , filter->data)); in mbfl_filt_conv_wchar_euctw() 235 CK((*filter->output_function)(s & 0xFF, filter->data)); in mbfl_filt_conv_wchar_euctw() [all …]
|
H A D | mbfilter_htmlent.c | 103 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_enc() 105 CK((*filter->output_function)('&', filter->data)); in mbfl_filt_conv_html_enc() 120 CK((*filter->output_function)('#', filter->data)); in mbfl_filt_conv_html_enc() 131 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc() 135 CK((*filter->output_function)(';', filter->data)); in mbfl_filt_conv_html_enc() 146 (*filter->flush_function)(filter->data); in mbfl_filt_conv_html_enc_flush() 185 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 228 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() 233 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 250 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() [all …]
|
H A D | mbfilter_hz.c | 87 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 119 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 132 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_hz_wchar() 161 (*filter->flush_function)(filter->data); in mbfl_filt_conv_hz_wchar_flush() 225 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_wchar_hz() 226 CK((*filter->output_function)('}', filter->data)); in mbfl_filt_conv_wchar_hz() 230 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_wchar_hz() 232 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz() 235 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_wchar_hz() 253 CK((*filter->output_function)('~', filter->data)); in mbfl_filt_conv_any_hz_flush() [all …]
|
H A D | mbfilter_euc_jp.c | 104 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 113 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_eucjp_wchar() 130 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() 164 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 181 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_eucjp_wchar_flush() 186 (*filter->flush_function)(filter->data); in mbfl_filt_conv_eucjp_wchar_flush() 234 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_eucjp() 236 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_eucjp() 237 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_eucjp() [all …]
|
H A D | mbfilter_ucs2.c | 145 filter->status = 1; in mbfl_filt_conv_ucs2_wchar() 148 filter->status = 0; in mbfl_filt_conv_ucs2_wchar() 156 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar() 170 CK((*filter->output_function)((c & 0xFF) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 178 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 179 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 193 CK((*filter->output_function)(((c & 0xFF) << 8) | filter->cache, filter->data)); in mbfl_filt_conv_ucs2le_wchar() 201 CK((*filter->output_function)(c & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 202 CK((*filter->output_function)((c >> 8) & 0xFF, filter->data)); in mbfl_filt_conv_wchar_ucs2le() 214 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs2_wchar_flush() [all …]
|
H A D | mbfilter_utf8_mobile.c | 184 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar() 218 CK((*filter->output_function)(snd, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar() 220 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf8_mobile_wchar() 236 filter->status++; in mbfl_filt_conv_utf8_mobile_wchar() 252 filter->status++; in mbfl_filt_conv_utf8_mobile_wchar() 261 filter->cache = (filter->cache << 6) | (c & 0x3f); in mbfl_filt_conv_utf8_mobile_wchar() 262 filter->status++; in mbfl_filt_conv_utf8_mobile_wchar() 293 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile() 296 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile() 300 CK((*filter->output_function)((c & 0x3f) | 0x80, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile() [all …]
|
H A D | mbfilter_sjis_mac.c | 151 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 158 CK((*filter->output_function)(0x00a5, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 160 CK((*filter->output_function)(0x005c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 162 CK((*filter->output_function)(0x00a0, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 164 CK((*filter->output_function)(0x00a9, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 268 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 374 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 489 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 494 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 686 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_wchar_sjis_mac_flush() [all …]
|
H A D | mbfilter_uuencode.c | 69 switch(filter->status) { in mbfl_filt_conv_uudec() 78 filter->cache = 0; in mbfl_filt_conv_uudec() 80 filter->cache++; in mbfl_filt_conv_uudec() 88 if (filter->cache == 5) in mbfl_filt_conv_uudec() 92 filter->cache = 0; in mbfl_filt_conv_uudec() 102 filter->cache = n << 24; in mbfl_filt_conv_uudec() 120 filter->cache |= n; in mbfl_filt_conv_uudec() 132 CK((*filter->output_function)( (A << 2) | (B >> 4), filter->data)); in mbfl_filt_conv_uudec() 134 CK((*filter->output_function)( (B << 4) | (C >> 2), filter->data)); in mbfl_filt_conv_uudec() 136 CK((*filter->output_function)( (C << 6) | D, filter->data)); in mbfl_filt_conv_uudec() [all …]
|
H A D | mbfilter_sjis_mobile.c | 384 filter->cache = filter->status = 0; in mbfilter_unicode2sjis_emoji_docomo() 441 filter->cache = filter->status = 0; in mbfilter_unicode2sjis_emoji_kddi() 456 filter->cache = filter->status = 0; in mbfilter_unicode2sjis_emoji_kddi() 513 filter->cache = filter->status = 0; in mbfilter_unicode2sjis_emoji_sb() 528 filter->cache = filter->status = 0; in mbfilter_unicode2sjis_emoji_sb() 680 filter->status = filter->cache = 0; in mbfl_filt_conv_sjis_mobile_wchar() 691 filter->status = filter->cache = 0; in mbfl_filt_conv_sjis_mobile_wchar() 699 filter->status = filter->cache = 0; in mbfl_filt_conv_sjis_mobile_wchar() 716 filter->status = filter->cache = 0; in mbfl_filt_conv_sjis_mobile_wchar() 856 filter->cache = filter->status = 0; in mbfl_filt_conv_sjis_mobile_flush() [all …]
|
H A D | mbfilter_cp51932.c | 105 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_cp51932_wchar() 112 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp51932_wchar() 151 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 153 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp51932_wchar() 161 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp51932_wchar() 163 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_cp51932_wchar() 179 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_cp51932_wchar_flush() 184 (*filter->flush_function)(filter->data); in mbfl_filt_conv_cp51932_wchar_flush() 256 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_cp51932() 258 CK((*filter->output_function)(0x8e, filter->data)); in mbfl_filt_conv_wchar_cp51932() [all …]
|
/PHP-8.1/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 130 return filter; in mbfl_convert_filter_new() 147 (*filter->filter_dtor)(filter); in mbfl_convert_filter_delete() 155 return (*filter->filter_function)(c, filter); in mbfl_convert_filter_feed() 162 if ((*filter->filter_function)(*p++, filter) < 0) { in mbfl_convert_filter_feed_string() 171 (*filter->filter_flush)(filter); in mbfl_convert_filter_flush() 178 (*filter->filter_dtor)(filter); in mbfl_convert_filter_reset() 187 …mbfl_convert_filter_init(filter, from, to, vtbl, filter->output_function, filter->flush_function, … in mbfl_convert_filter_reset() 209 if ((*filter->filter_function)(c, filter) < 0) { in mbfl_convert_filter_strcat() 236 ret = (*filter->filter_function)('0', filter); in mbfl_filt_conv_output_hex() 340 filter->status = filter->cache = 0; in mbfl_filt_conv_common_ctor() [all …]
|