/PHP-8.0/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() 144 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() [all …]
|
H A D | mbfilter_jis.c | 138 CK((*filter->output_function)(0xa5, filter->data)); in mbfl_filt_conv_jis_wchar() 147 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 153 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 187 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 191 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_wchar() 196 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_wchar() 213 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar() 231 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_wchar() 344 CK((*filter->output_function)(s, filter->data)); 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_utf7.c | 116 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 120 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 134 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_utf7_wchar() 138 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 164 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 172 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 204 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 231 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_utf7_wchar() 291 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7() 293 CK((*filter->filter_function)(s, filter)); in mbfl_filt_conv_wchar_utf7() [all …]
|
H A D | mbfilter_utf8.c | 101 filter->cache = 0; in mbfl_filt_put_invalid_char() 102 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() 141 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 156 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 171 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 177 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_wchar() 180 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_wchar() 207 (*filter->flush_function)(filter->data); in mbfl_filt_conv_utf8_wchar_flush() [all …]
|
H A D | mbfilter_qprint.c | 89 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_base64.c | 90 filter->status++; in mbfl_filt_conv_base64enc() 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 | 111 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 117 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 163 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 173 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 178 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 183 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 200 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 218 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 219 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jpms_wchar() 377 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)(0xa5, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 266 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 272 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 315 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 319 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 324 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 341 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_jis_ms_wchar() 527 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_jis_ms() 744 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50221() 890 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_cp50222() [all …]
|
H A D | mbfilter_sjis_2004.c | 141 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 148 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 153 } else if ((filter->status == 0x80 || filter->status == 0x90 || filter->status == 0xa0) in mbfl_filt_conv_jis2004_wchar() 195 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 260 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 262 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 267 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 275 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() 277 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_jis2004_wchar() 282 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_jis2004_wchar() [all …]
|
H A D | mbfilter_iso2022_kr.c | 100 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 104 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 139 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 143 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022kr_wchar() 148 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022kr_wchar() 157 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 166 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 167 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022kr_wchar() 177 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022kr_wchar() 246 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_2022kr() [all …]
|
H A D | mbfilter_utf16.c | 163 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 167 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 185 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16_wchar() 216 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 220 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 224 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf16be_wchar() 241 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf16be() 245 CK((*filter->output_function)(n & 0xff, filter->data)); 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() [all …]
|
H A D | mbfilter_hz.c | 94 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 98 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 118 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 120 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_hz_wchar() 125 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_hz_wchar() 137 CK((*filter->output_function)(0x007e, filter->data)); in mbfl_filt_conv_hz_wchar() 198 CK((*filter->output_function)(0x7e, filter->data)); in mbfl_filt_conv_wchar_hz() 200 CK((*filter->output_function)(s, filter->data)); in mbfl_filt_conv_wchar_hz() 208 CK((*filter->output_function)(s & 0x7f, filter->data)); in mbfl_filt_conv_wchar_hz() 222 CK((*filter->output_function)(0x7e, filter->data)); /* ~ */ in mbfl_filt_conv_any_hz_flush() [all …]
|
H A D | mbfilter_utf32.c | 179 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_utf32_wchar() 183 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 186 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32_wchar() 218 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 221 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_utf32be_wchar() 235 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_utf32be() 236 CK((*filter->output_function)(c & 0xff, filter->data)); 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_ucs4.c | 180 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs4_wchar() 183 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4_wchar() 213 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs4be_wchar() 224 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 225 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 226 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs4be() 227 CK((*filter->output_function)(c & 0xff, filter->data)); 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_byte4.c | 105 filter->cache = n; in mbfl_filt_conv_byte4be_wchar() 117 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4be_wchar() 124 CK((*filter->output_function)((c >> 24) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 125 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 126 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 127 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4be() 150 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_byte4le_wchar() 157 CK((*filter->output_function)(c & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() 158 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() 159 CK((*filter->output_function)((c >> 16) & 0xff, filter->data)); in mbfl_filt_conv_wchar_byte4le() [all …]
|
H A D | mbfilter_htmlent.c | 102 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_enc() 104 CK((*filter->output_function)('&', filter->data)); in mbfl_filt_conv_html_enc() 119 CK((*filter->output_function)('#', filter->data)); in mbfl_filt_conv_html_enc() 130 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc() 134 CK((*filter->output_function)(';', filter->data)); in mbfl_filt_conv_html_enc() 145 (*filter->flush_function)(filter->data); in mbfl_filt_conv_html_enc_flush() 184 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 227 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() 232 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_html_dec() 249 CK((*filter->output_function)(ent, filter->data)); in mbfl_filt_conv_html_dec() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 161 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 167 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 222 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 226 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 231 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 247 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 264 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 265 CK((*filter->output_function)(0x24, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 280 CK((*filter->output_function)(0x1b, filter->data)); in mbfl_filt_conv_2022jp_mobile_wchar() 394 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_wchar_2022jp_mobile() [all …]
|
H A D | mbfilter_euc_tw.c | 109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 119 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 138 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 140 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 145 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 152 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 161 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 169 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_euctw_wchar() 178 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() 202 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_euc_jp.c | 109 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 139 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 141 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 146 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 154 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 156 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 161 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() 167 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_eucjp_wchar() 189 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_utf8_mobile.c | 207 CK((*filter->output_function)(c, filter->data)); 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() 284 filter->cache = (filter->cache<<6) | (c & 0x3f); in mbfl_filt_conv_utf8_mobile_wchar() 287 CK(mbfl_filt_put_invalid_char(filter->cache, filter)); in mbfl_filt_conv_utf8_mobile_wchar() 322 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_wchar_utf8_mobile() 327 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_wchar_utf8_mobile() [all …]
|
H A D | mbfilter_uuencode.c | 68 switch(filter->status) { in mbfl_filt_conv_uudec() 77 filter->cache = 0; in mbfl_filt_conv_uudec() 79 filter->cache++; in mbfl_filt_conv_uudec() 87 if (filter->cache == 5) in mbfl_filt_conv_uudec() 91 filter->cache = 0; in mbfl_filt_conv_uudec() 101 filter->cache = n << 24; in mbfl_filt_conv_uudec() 119 filter->cache |= n; in mbfl_filt_conv_uudec() 131 CK((*filter->output_function)( (A << 2) | (B >> 4), filter->data)); in mbfl_filt_conv_uudec() 133 CK((*filter->output_function)( (B << 4) | (C >> 2), filter->data)); in mbfl_filt_conv_uudec() 135 CK((*filter->output_function)( (C << 6) | D, filter->data)); in mbfl_filt_conv_uudec() [all …]
|
H A D | mbfilter_iso2022jp_2004.c | 86 filter->status += 2; in mbfl_filt_ident_2022jp_2004() 88 filter->status += 1; in mbfl_filt_ident_2022jp_2004() 99 filter->status++; in mbfl_filt_ident_2022jp_2004() 103 filter->flag = 1; in mbfl_filt_ident_2022jp_2004() 111 filter->status++; in mbfl_filt_ident_2022jp_2004() 113 filter->status += 3; in mbfl_filt_ident_2022jp_2004() 124 filter->status = 0x80; in mbfl_filt_ident_2022jp_2004() 126 filter->status++; in mbfl_filt_ident_2022jp_2004() 137 filter->status = 0x90; in mbfl_filt_ident_2022jp_2004() 150 filter->status = 0; in mbfl_filt_ident_2022jp_2004() [all …]
|
H A D | mbfilter_ucs2.c | 145 filter->cache = n; in mbfl_filt_conv_ucs2_wchar() 146 filter->status++; in mbfl_filt_conv_ucs2_wchar() 161 CK((*filter->output_function)(0xfeff, filter->data)); in mbfl_filt_conv_ucs2_wchar() 164 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2_wchar() 182 filter->cache = n; in mbfl_filt_conv_ucs2be_wchar() 186 CK((*filter->output_function)(n, filter->data)); in mbfl_filt_conv_ucs2be_wchar() 197 CK((*filter->output_function)((c >> 8) & 0xff, filter->data)); in mbfl_filt_conv_wchar_ucs2be() 198 CK((*filter->output_function)(c & 0xff, filter->data)); 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() [all …]
|
H A D | mbfilter_sjis_mac.c | 139 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 146 CK((*filter->output_function)(0x00a5, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 148 CK((*filter->output_function)(0x005c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 150 CK((*filter->output_function)(0x00a0, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 161 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 256 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 258 CK((*filter->output_function)(c, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 263 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_sjis_mac_wchar() 358 CK((*filter->output_function)(s1, filter->data)); in mbfl_filt_conv_wchar_sjis_mac() 673 if (filter->status == 1 && filter->cache > 0) { in mbfl_filt_conv_sjis_mac_flush() [all …]
|
/PHP-8.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_convert.c | 142 (*filter->filter_ctor)(filter); in mbfl_convert_filter_common_init() 173 (*filter->filter_dtor)(filter); in mbfl_convert_filter_delete() 181 return (*filter->filter_function)(c, filter); in mbfl_convert_filter_feed() 188 if ((*filter->filter_function)(*p++, filter) < 0) { in mbfl_convert_filter_feed_string() 197 (*filter->filter_flush)(filter); in mbfl_convert_filter_flush() 198 return filter->flush_function ? (*filter->flush_function)(filter->data) : 0; in mbfl_convert_filter_flush() 204 (*filter->filter_dtor)(filter); in mbfl_convert_filter_reset() 214 filter->output_function, filter->flush_function, filter->data); in mbfl_convert_filter_reset() 236 if ((*filter->filter_function)(c, filter) < 0) { in mbfl_convert_filter_strcat() 345 ret = (*filter->filter_function)('0', filter); in mbfl_filt_conv_illegal_output() [all …]
|