Home
last modified time | relevance | path

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

/PHP-7.4/ext/mbstring/
H A Dmb_gpc.c194 mbfl_encoding_detector *identd = NULL; in _php_mb_encoding_handler_ex() local
262identd = mbfl_encoding_detector_new(info->from_encodings, info->num_from_encodings, MBSTRG(strict_… in _php_mb_encoding_handler_ex()
263 if (identd != NULL) { in _php_mb_encoding_handler_ex()
268 if (mbfl_encoding_detector_feed(identd, &string)) { in _php_mb_encoding_handler_ex()
273 from_encoding = mbfl_encoding_detector_judge(identd); in _php_mb_encoding_handler_ex()
274 mbfl_encoding_detector_delete(identd); in _php_mb_encoding_handler_ex()
H A Dmbstring.c3848 static int mb_recursive_encoder_detector_feed(mbfl_encoding_detector *identd, zval *var, int *recur… in mb_recursive_encoder_detector_feed() argument
3858 if (mbfl_encoding_detector_feed(identd, &string)) { in mb_recursive_encoder_detector_feed()
3873 if (mb_recursive_encoder_detector_feed(identd, entry, recursion_error)) { in mb_recursive_encoder_detector_feed()
3949 mbfl_encoding_detector *identd; in PHP_FUNCTION() local
3998 identd = mbfl_encoding_detector_new(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION()
3999 if (identd != NULL) { in PHP_FUNCTION()
4002 if (mb_recursive_encoder_detector_feed(identd, &args[n], &recursion_error)) { in PHP_FUNCTION()
4007 from_encoding = mbfl_encoding_detector_judge(identd); in PHP_FUNCTION()
4008 mbfl_encoding_detector_delete(identd); in PHP_FUNCTION()
/PHP-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h169 MBFLAPI extern void mbfl_encoding_detector_delete(mbfl_encoding_detector *identd);
170 MBFLAPI extern int mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string);
171 MBFLAPI extern const mbfl_encoding *mbfl_encoding_detector_judge(mbfl_encoding_detector *identd);
H A Dmbfilter.c368 mbfl_encoding_detector *identd; in mbfl_encoding_detector_new() local
379 if (identd == NULL) { in mbfl_encoding_detector_new()
383 if (identd->filter_list == NULL) { in mbfl_encoding_detector_new()
384 mbfl_free(identd); in mbfl_encoding_detector_new()
399 identd->filter_list_size = num; in mbfl_encoding_detector_new()
402 identd->strict = strict; in mbfl_encoding_detector_new()
404 return identd; in mbfl_encoding_detector_new()
413 if (identd != NULL) { in mbfl_encoding_detector_delete()
415 i = identd->filter_list_size; in mbfl_encoding_detector_delete()
422 mbfl_free((void *)identd); in mbfl_encoding_detector_delete()
[all …]

Completed in 24 milliseconds