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

/PHP_TRUNK/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.c384 mbfl_encoding_detector *identd; local
394 identd = (mbfl_encoding_detector*)mbfl_malloc(sizeof(mbfl_encoding_detector));
395 if (identd == NULL) {
398 identd->filter_list = (mbfl_identify_filter **)mbfl_calloc(elistsz, sizeof(mbfl_identify_filter *));
399 if (identd->filter_list == NULL) {
400 mbfl_free(identd);
410 identd->filter_list[num] = filter;
415 identd->filter_list_size = num;
418 identd->strict = strict;
420 return identd;
426 mbfl_encoding_detector *identd; local
467 mbfl_encoding_detector_delete(mbfl_encoding_detector *identd) argument
485 mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string) argument
520 mbfl_encoding_detector_judge2(mbfl_encoding_detector *identd) argument
555 mbfl_encoding_detector_judge(mbfl_encoding_detector *identd) argument
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c203 mbfl_encoding_detector *identd = NULL; local
271 identd = mbfl_encoding_detector_new2(info->from_encodings, info->num_from_encodings, MBSTRG(strict_detection));
272 if (identd != NULL) {
277 if (mbfl_encoding_detector_feed(identd, &string)) {
282 from_encoding = mbfl_encoding_detector_judge2(identd);
283 mbfl_encoding_detector_delete(identd);
H A Dmbstring.c3549 mbfl_encoding_detector *identd; local
3599 identd = mbfl_encoding_detector_new2(elist, elistsz, MBSTRG(strict_detection));
3600 if (identd != NULL) {
3643 if (mbfl_encoding_detector_feed(identd, &string)) {
3652 if (mbfl_encoding_detector_feed(identd, &string)) {
3658 from_encoding = mbfl_encoding_detector_judge2(identd);
3659 mbfl_encoding_detector_delete(identd);

Completed in 11 milliseconds