Searched refs:identd (Results 1 – 4 of 4) sorted by relevance
/PHP-8.0/ext/mbstring/ |
H A D | mb_gpc.c | 186 mbfl_encoding_detector *identd = NULL; in _php_mb_encoding_handler_ex() local 254 …identd = mbfl_encoding_detector_new(info->from_encodings, info->num_from_encodings, MBSTRG(strict_… in _php_mb_encoding_handler_ex() 255 if (identd != NULL) { in _php_mb_encoding_handler_ex() 260 if (mbfl_encoding_detector_feed(identd, &string)) { in _php_mb_encoding_handler_ex() 265 from_encoding = mbfl_encoding_detector_judge(identd); in _php_mb_encoding_handler_ex() 266 mbfl_encoding_detector_delete(identd); in _php_mb_encoding_handler_ex()
|
H A D | mbstring.c | 2965 static int mb_recursive_encoder_detector_feed(mbfl_encoding_detector *identd, zval *var, int *recur… in mb_recursive_encoder_detector_feed() argument 2975 if (mbfl_encoding_detector_feed(identd, &string)) { in mb_recursive_encoder_detector_feed() 2990 if (mb_recursive_encoder_detector_feed(identd, entry, recursion_error)) { in mb_recursive_encoder_detector_feed() 3068 mbfl_encoding_detector *identd; in PHP_FUNCTION() local 3114 identd = mbfl_encoding_detector_new(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION() 3115 if (identd != NULL) { in PHP_FUNCTION() 3118 if (mb_recursive_encoder_detector_feed(identd, &args[n], &recursion_error)) { in PHP_FUNCTION() 3123 from_encoding = mbfl_encoding_detector_judge(identd); in PHP_FUNCTION() 3124 mbfl_encoding_detector_delete(identd); in PHP_FUNCTION()
|
/PHP-8.0/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfilter.h | 165 MBFLAPI extern void mbfl_encoding_detector_delete(mbfl_encoding_detector *identd); 166 MBFLAPI extern int mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string); 167 MBFLAPI extern const mbfl_encoding *mbfl_encoding_detector_judge(mbfl_encoding_detector *identd);
|
H A D | mbfilter.c | 297 mbfl_encoding_detector *identd; in mbfl_encoding_detector_new() local 321 identd->filter_list_size = num; in mbfl_encoding_detector_new() 324 identd->strict = strict; in mbfl_encoding_detector_new() 326 return identd; in mbfl_encoding_detector_new() 335 if (identd != NULL) { in mbfl_encoding_detector_delete() 336 if (identd->filter_list != NULL) { in mbfl_encoding_detector_delete() 337 i = identd->filter_list_size; in mbfl_encoding_detector_delete() 344 efree((void *)identd); in mbfl_encoding_detector_delete() 388 if (identd != NULL) { in mbfl_encoding_detector_judge() 389 n = identd->filter_list_size - 1; in mbfl_encoding_detector_judge() [all …]
|
Completed in 43 milliseconds