Home
last modified time | relevance | path

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

/PHP-5.5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h157 MBFLAPI extern void mbfl_encoding_detector_delete(mbfl_encoding_detector *identd);
158 MBFLAPI extern int mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string);
159 MBFLAPI extern enum mbfl_no_encoding mbfl_encoding_detector_judge(mbfl_encoding_detector *identd);
160 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-5.5/ext/mbstring/
H A Dmb_gpc.c205 mbfl_encoding_detector *identd = NULL; in _php_mb_encoding_handler_ex() local
273identd = mbfl_encoding_detector_new2(info->from_encodings, info->num_from_encodings, MBSTRG(strict… in _php_mb_encoding_handler_ex()
274 if (identd != NULL) { in _php_mb_encoding_handler_ex()
279 if (mbfl_encoding_detector_feed(identd, &string)) { in _php_mb_encoding_handler_ex()
284 from_encoding = mbfl_encoding_detector_judge2(identd); in _php_mb_encoding_handler_ex()
285 mbfl_encoding_detector_delete(identd); in _php_mb_encoding_handler_ex()
H A Dmbstring.c3496 mbfl_encoding_detector *identd; in PHP_FUNCTION() local
3545 identd = mbfl_encoding_detector_new2(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION()
3546 if (identd != NULL) { in PHP_FUNCTION()
3583 if (mbfl_encoding_detector_feed(identd, &string)) { in PHP_FUNCTION()
3592 if (mbfl_encoding_detector_feed(identd, &string)) { in PHP_FUNCTION()
3598 from_encoding = mbfl_encoding_detector_judge2(identd); in PHP_FUNCTION()
3599 mbfl_encoding_detector_delete(identd); in PHP_FUNCTION()

Completed in 25 milliseconds