Lines Matching refs:elist

2512 static void remove_non_encodings_from_elist(const mbfl_encoding **elist, size_t *size)  in remove_non_encodings_from_elist()  argument
2519 const mbfl_encoding *encoding = elist[i]; in remove_non_encodings_from_elist()
2523 elist[i - shift] = encoding; in remove_non_encodings_from_elist()
2706 static const mbfl_encoding **duplicate_elist(const mbfl_encoding **elist, size_t size) in duplicate_elist() argument
2709 memcpy(ZEND_VOIDP(new_elist), elist, size * sizeof(mbfl_encoding*)); in duplicate_elist()
2724 const mbfl_encoding **elist; in PHP_FUNCTION() local
2736 if (FAILURE == php_mb_parse_encoding_array(encoding_ht, &elist, &size, 2)) { in PHP_FUNCTION()
2740 …if (FAILURE == php_mb_parse_encoding_list(ZSTR_VAL(encoding_str), ZSTR_LEN(encoding_str), &elist, … in PHP_FUNCTION()
2744elist = duplicate_elist(MBSTRG(current_detect_order_list), MBSTRG(current_detect_order_list_size)); in PHP_FUNCTION()
2749 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()
2754 remove_non_encodings_from_elist(elist, &size); in PHP_FUNCTION()
2756 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()
2766 ret = (php_mb_check_encoding(str, str_len, *elist)) ? *elist : NULL; in PHP_FUNCTION()
2771 ret = mbfl_identify_encoding(&string, elist, size, strict); in PHP_FUNCTION()
2774 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()
3107 const mbfl_encoding **elist; in PHP_FUNCTION() local
3129 if (php_mb_parse_encoding_array(from_enc_ht, &elist, &elistsz, 2) == FAILURE) { in PHP_FUNCTION()
3133 …if (php_mb_parse_encoding_list(ZSTR_VAL(from_enc_str), ZSTR_LEN(from_enc_str), &elist, &elistsz, /… in PHP_FUNCTION()
3139 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()
3145 from_encoding = *elist; in PHP_FUNCTION()
3149 identd = mbfl_encoding_detector_new(elist, elistsz, MBSTRG(strict_detection)); in PHP_FUNCTION()
3161 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()
3169 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()
3174 efree(ZEND_VOIDP(elist)); in PHP_FUNCTION()