Home
last modified time | relevance | path

Searched refs:MBFL_BAD_INPUT (Results 1 – 15 of 15) sorted by relevance

/PHP-8.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_utf8.c230 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
235 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
241 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
248 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
251 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
260 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
277 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
280 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
283 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
291 *out++ = MBFL_BAD_INPUT; in mb_utf8_to_wchar()
[all …]
H A Dmbfilter_cjk.c168 w = MBFL_BAD_INPUT; in mbfl_filt_conv_jis_wchar()
178 w = MBFL_BAD_INPUT; in mbfl_filt_conv_jis_wchar()
545 w = MBFL_BAD_INPUT; in mb_iso2022jp_to_wchar()
552 w = MBFL_BAD_INPUT; in mb_iso2022jp_to_wchar()
1028 w = MBFL_BAD_INPUT; in mbfl_filt_conv_2022jp_mobile_wchar()
1661 w = MBFL_BAD_INPUT; in mbfl_filt_conv_jis2004_wchar()
1727 w = MBFL_BAD_INPUT; in mbfl_filt_conv_jis2004_wchar()
1747 w = MBFL_BAD_INPUT; in mbfl_filt_conv_jis2004_wchar()
4068 w = MBFL_BAD_INPUT; in mbfl_filt_conv_2022kr_wchar()
4275 w = MBFL_BAD_INPUT; in mb_iso2022kr_to_wchar()
[all …]
H A Dmbfilter_utf7.c117 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf7_wchar()
163 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf7_wchar()
274 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf7_wchar_flush()
462 *out++ = MBFL_BAD_INPUT; in handle_utf16_cp()
470 *out++ = MBFL_BAD_INPUT; in handle_utf16_cp()
480 *out++ = MBFL_BAD_INPUT; in handle_base64_end()
485 *out++ = MBFL_BAD_INPUT; in handle_base64_end()
541 *out++ = MBFL_BAD_INPUT; in mb_utf7_to_wchar()
568 *out++ = MBFL_BAD_INPUT; in mb_utf7_to_wchar()
605 *out++ = MBFL_BAD_INPUT; in mb_utf7_to_wchar()
[all …]
H A Dmbfilter_utf7imap.c159 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
173 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_utf7imap_wchar()
295 (*filter->output_function)(MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_utf7imap_wchar_flush()
481 *out++ = MBFL_BAD_INPUT; in handle_utf16_cp()
489 *out++ = MBFL_BAD_INPUT; in handle_utf16_cp()
491 *out++ = MBFL_BAD_INPUT; in handle_utf16_cp()
501 *out++ = MBFL_BAD_INPUT; in handle_base64_end()
555 *out++ = MBFL_BAD_INPUT; in mb_utf7imap_to_wchar()
580 *out++ = MBFL_BAD_INPUT; in mb_utf7imap_to_wchar()
611 *out++ = MBFL_BAD_INPUT; in mb_utf7imap_to_wchar()
[all …]
H A Dmbfilter_singlebyte.c30 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_conv_singlebyte_table()
41 } else if (c < 0 || c == MBFL_BAD_INPUT) { in mbfl_conv_reverselookup_table()
107 *out++ = (c < tbl_min) ? c : coalesce(tbl[c - tbl_min], MBFL_BAD_INPUT); \
144 CK((*filter->output_function)((c < 0x80) ? c : MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ascii_wchar()
150 if (c >= 0 && c < 0x80 && c != MBFL_BAD_INPUT) { in mbfl_filt_conv_wchar_ascii()
165 *out++ = (c < 0x80) ? c : MBFL_BAD_INPUT; in mb_ascii_to_wchar()
204 if (c >= 0 && c < 0x100 && c != MBFL_BAD_INPUT) { in mbfl_filt_conv_wchar_8859_1()
498 if (c < 0 || c == MBFL_BAD_INPUT) { in mbfl_filt_conv_wchar_cp1252()
520 s = coalesce(cp1252_ucs_table[c - 0x80], MBFL_BAD_INPUT); in mbfl_filt_conv_cp1252_wchar()
537 *out++ = coalesce(cp1252_ucs_table[c - 0x80], MBFL_BAD_INPUT); in mb_cp1252_to_wchar()
[all …]
H A Dmbfilter_utf16.c533 *out++ = MBFL_BAD_INPUT; in mb_utf16be_to_wchar_default()
539 *out++ = MBFL_BAD_INPUT; in mb_utf16be_to_wchar_default()
543 *out++ = MBFL_BAD_INPUT; in mb_utf16be_to_wchar_default()
547 *out++ = MBFL_BAD_INPUT; in mb_utf16be_to_wchar_default()
555 *out++ = MBFL_BAD_INPUT; in mb_utf16be_to_wchar_default()
611 *out++ = MBFL_BAD_INPUT; in mb_utf16le_to_wchar_default()
617 *out++ = MBFL_BAD_INPUT; in mb_utf16le_to_wchar_default()
621 *out++ = MBFL_BAD_INPUT; in mb_utf16le_to_wchar_default()
625 *out++ = MBFL_BAD_INPUT; in mb_utf16le_to_wchar_default()
633 *out++ = MBFL_BAD_INPUT; in mb_utf16le_to_wchar_default()
[all …]
H A Dmbfilter_ucs4.c245 if (c != MBFL_BAD_INPUT) { in mbfl_filt_conv_wchar_ucs4be()
289 if (c != MBFL_BAD_INPUT) { in mbfl_filt_conv_wchar_ucs4le()
305 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs4_wchar_flush()
366 *out++ = MBFL_BAD_INPUT; in mb_ucs4be_to_wchar()
383 if (w != MBFL_BAD_INPUT) { in mb_wchar_to_ucs4be()
410 *out++ = MBFL_BAD_INPUT; in mb_ucs4le_to_wchar()
427 if (w != MBFL_BAD_INPUT) { in mb_wchar_to_ucs4le()
H A Dmbfilter_utf32.c151 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in emit_char_if_valid()
237 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_utf32_wchar_flush()
297 *out++ = MBFL_BAD_INPUT; in mb_utf32be_to_wchar()
303 *out++ = MBFL_BAD_INPUT; in mb_utf32be_to_wchar()
346 *out++ = MBFL_BAD_INPUT; in mb_utf32le_to_wchar()
352 *out++ = MBFL_BAD_INPUT; in mb_utf32le_to_wchar()
H A Dmbfilter_7bit.c75 return (*filter->output_function)(c < 0x80 ? c : MBFL_BAD_INPUT, filter->data); in mbfl_filt_conv_7bit_any()
95 *out++ = (c < 0x80) ? c : MBFL_BAD_INPUT; in mb_7bit_to_wchar()
H A Dmbfilter_utf8_mobile.c422 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
428 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
441 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
445 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
453 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
469 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
473 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
477 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
484 *out++ = MBFL_BAD_INPUT; in mb_mobile_utf8_to_wchar()
H A Dmbfilter_ucs2.c225 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_ucs2_wchar_flush()
281 *out++ = MBFL_BAD_INPUT; in mb_ucs2be_to_wchar()
323 *out++ = MBFL_BAD_INPUT; in mb_ucs2le_to_wchar()
H A Dmbfilter_base64.c176 CK((*filter->output_function)(MBFL_BAD_INPUT, filter->data)); in mbfl_filt_conv_base64dec()
264 *out++ = MBFL_BAD_INPUT; in mb_base64_to_wchar()
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_consts.h45 #define MBFL_BAD_INPUT (-1) macro
H A Dmbfl_convert.c242 if (w != MBFL_BAD_INPUT) { in mbfl_filt_conv_illegal_output()
253 if (w != MBFL_BAD_INPUT) { in mbfl_filt_conv_illegal_output()
375 if (bad_cp == MBFL_BAD_INPUT) { in mb_illegal_marker()
/PHP-8.3/ext/mbstring/
H A Dmbstring.c2517 input_err |= (w == MBFL_BAD_INPUT); in mb_trim_string()
3070 if (w == MBFL_BAD_INPUT) { in count_demerits()
4618 if (wchar_buf[i] == MBFL_BAD_INPUT) { in php_mb_check_encoding()
4627 if (wchar_buf[i] == MBFL_BAD_INPUT) { in php_mb_check_encoding()
5413 if (!out_len || wchar_buf[0] == MBFL_BAD_INPUT) { in php_mb_ord()

Completed in 71 milliseconds