Home
last modified time | relevance | path

Searched refs:identd (Results 1 – 4 of 4) sorted by relevance

/PHP-7.3/ext/mbstring/
H A Dmb_gpc.c201 mbfl_encoding_detector *identd = NULL; in _php_mb_encoding_handler_ex() local
269identd = mbfl_encoding_detector_new(info->from_encodings, info->num_from_encodings, MBSTRG(strict_… in _php_mb_encoding_handler_ex()
270 if (identd != NULL) { in _php_mb_encoding_handler_ex()
275 if (mbfl_encoding_detector_feed(identd, &string)) { in _php_mb_encoding_handler_ex()
280 from_encoding = mbfl_encoding_detector_judge(identd); in _php_mb_encoding_handler_ex()
281 mbfl_encoding_detector_delete(identd); in _php_mb_encoding_handler_ex()
H A Dmbstring.c3710 static int mb_recursive_encoder_detector_feed(mbfl_encoding_detector *identd, zval *var, int *recur… in mb_recursive_encoder_detector_feed() argument
3720 if (mbfl_encoding_detector_feed(identd, &string)) { in mb_recursive_encoder_detector_feed()
3735 if (mb_recursive_encoder_detector_feed(identd, entry, recursion_error)) { in mb_recursive_encoder_detector_feed()
3811 mbfl_encoding_detector *identd; in PHP_FUNCTION() local
3858 identd = mbfl_encoding_detector_new(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION()
3859 if (identd != NULL) { in PHP_FUNCTION()
3862 if (mb_recursive_encoder_detector_feed(identd, &args[n], &recursion_error)) { in PHP_FUNCTION()
3867 from_encoding = mbfl_encoding_detector_judge(identd); in PHP_FUNCTION()
3868 mbfl_encoding_detector_delete(identd); in PHP_FUNCTION()
/PHP-7.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h173 MBFLAPI extern void mbfl_encoding_detector_delete(mbfl_encoding_detector *identd);
174 MBFLAPI extern int mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string);
175 MBFLAPI extern const mbfl_encoding *mbfl_encoding_detector_judge(mbfl_encoding_detector *identd);
H A Dmbfilter.c378 mbfl_encoding_detector *identd; in mbfl_encoding_detector_new() local
389 if (identd == NULL) { in mbfl_encoding_detector_new()
393 if (identd->filter_list == NULL) { in mbfl_encoding_detector_new()
394 mbfl_free(identd); in mbfl_encoding_detector_new()
409 identd->filter_list_size = num; in mbfl_encoding_detector_new()
412 identd->strict = strict; in mbfl_encoding_detector_new()
414 return identd; in mbfl_encoding_detector_new()
423 if (identd != NULL) { in mbfl_encoding_detector_delete()
425 i = identd->filter_list_size; in mbfl_encoding_detector_delete()
432 mbfl_free((void *)identd); in mbfl_encoding_detector_delete()
[all …]

Completed in 30 milliseconds