Home
last modified time | relevance | path

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

/PHP-7.2/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h164 MBFLAPI extern void mbfl_encoding_detector_delete(mbfl_encoding_detector *identd);
165 MBFLAPI extern int mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string);
166 MBFLAPI extern enum mbfl_no_encoding mbfl_encoding_detector_judge(mbfl_encoding_detector *identd);
167 MBFLAPI extern const mbfl_encoding *mbfl_encoding_detector_judge2(mbfl_encoding_detector *identd);
H A Dmbfilter.c395 if (identd == NULL) { in mbfl_encoding_detector_new()
400 mbfl_free(identd); in mbfl_encoding_detector_new()
418 identd->strict = strict; in mbfl_encoding_detector_new()
420 return identd; in mbfl_encoding_detector_new()
437 if (identd == NULL) { in mbfl_encoding_detector_new2()
442 mbfl_free(identd); in mbfl_encoding_detector_new2()
460 identd->strict = strict; in mbfl_encoding_detector_new2()
462 return identd; in mbfl_encoding_detector_new2()
471 if (identd != NULL) { in mbfl_encoding_detector_delete()
480 mbfl_free((void *)identd); in mbfl_encoding_detector_delete()
[all …]
/PHP-7.2/ext/mbstring/
H A Dmb_gpc.c203 mbfl_encoding_detector *identd = NULL; in _php_mb_encoding_handler_ex() local
271identd = mbfl_encoding_detector_new2(info->from_encodings, info->num_from_encodings, MBSTRG(strict… in _php_mb_encoding_handler_ex()
272 if (identd != NULL) { in _php_mb_encoding_handler_ex()
277 if (mbfl_encoding_detector_feed(identd, &string)) { in _php_mb_encoding_handler_ex()
282 from_encoding = mbfl_encoding_detector_judge2(identd); in _php_mb_encoding_handler_ex()
283 mbfl_encoding_detector_delete(identd); in _php_mb_encoding_handler_ex()
H A Dmbstring.c3849 mbfl_encoding_detector *identd; in PHP_FUNCTION() local
3900 identd = mbfl_encoding_detector_new2(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION()
3901 if (identd != NULL) { in PHP_FUNCTION()
3951 if (mbfl_encoding_detector_feed(identd, &string)) { in PHP_FUNCTION()
3960 if (mbfl_encoding_detector_feed(identd, &string)) { in PHP_FUNCTION()
3966 from_encoding = mbfl_encoding_detector_judge2(identd); in PHP_FUNCTION()
3967 mbfl_encoding_detector_delete(identd); in PHP_FUNCTION()

Completed in 33 milliseconds