Lines Matching refs:list

112 	const enum mbfl_no_encoding* list;  member
661 enum mbfl_no_encoding *src, *entry, *list; in php_mb_parse_encoding_list() local
663 list = NULL; in php_mb_parse_encoding_list()
699 list = (enum mbfl_no_encoding *)pecalloc(size, sizeof(int), persistent); in php_mb_parse_encoding_list()
700 if (list != NULL) { in php_mb_parse_encoding_list()
701 entry = list; in php_mb_parse_encoding_list()
745 *return_list = list; in php_mb_parse_encoding_list()
747 pefree(list, persistent); in php_mb_parse_encoding_list()
750 pefree(list, persistent); in php_mb_parse_encoding_list()
793 enum mbfl_no_encoding *src, *list, *entry; in php_mb_parse_encoding_array() local
795 list = NULL; in php_mb_parse_encoding_array()
807 list = (enum mbfl_no_encoding *)pecalloc(size, sizeof(int), persistent); in php_mb_parse_encoding_array()
808 if (list != NULL) { in php_mb_parse_encoding_array()
809 entry = list; in php_mb_parse_encoding_array()
842 *return_list = list; in php_mb_parse_encoding_array()
844 pefree(list, persistent); in php_mb_parse_encoding_array()
847 pefree(list, persistent); in php_mb_parse_encoding_array()
954 *plist = (enum mbfl_no_encoding *)php_mb_default_identify_list[i].list; in php_mb_nls_get_default_detect_order_list()
983 enum mbfl_no_encoding *list; in PHP_INI_MH() local
986 if (php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) { in PHP_INI_MH()
990 MBSTRG(detect_order_list) = list; in PHP_INI_MH()
1007 enum mbfl_no_encoding *list; in PHP_INI_MH() local
1010 if (php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) { in PHP_INI_MH()
1014 MBSTRG(http_input_list) = list; in PHP_INI_MH()
1146 int *list, size; in PHP_INI_MH() local
1148 if (php_mb_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) { in PHP_INI_MH()
1152 MBSTRG(script_encoding_list) = list; in PHP_INI_MH()
1399 enum mbfl_no_encoding *list=NULL, *entry; in PHP_RINIT_FUNCTION() local
1412 list = MBSTRG(detect_order_list); in PHP_RINIT_FUNCTION()
1416 list = MBSTRG(default_detect_order_list); in PHP_RINIT_FUNCTION()
1423 *entry++ = *list++; in PHP_RINIT_FUNCTION()
1603 char *name, *list, *temp; in PHP_FUNCTION() local
1650 list = NULL; in PHP_FUNCTION()
1654 if (list) { in PHP_FUNCTION()
1655 temp = list; in PHP_FUNCTION()
1656 spprintf(&list, 0, "%s,%s", temp, name); in PHP_FUNCTION()
1658 if (!list) { in PHP_FUNCTION()
1662 list = estrdup(name); in PHP_FUNCTION()
1668 if (!list) { in PHP_FUNCTION()
1671 RETVAL_STRING(list, 0); in PHP_FUNCTION()
1729 enum mbfl_no_encoding *list, *entry; in PHP_FUNCTION() local
1749 list = NULL; in PHP_FUNCTION()
1753 if (!php_mb_parse_encoding_array(*arg1, &list, &size, 0 TSRMLS_CC)) { in PHP_FUNCTION()
1754 if (list) { in PHP_FUNCTION()
1755 efree(list); in PHP_FUNCTION()
1762 …if (!php_mb_parse_encoding_list(Z_STRVAL_PP(arg1), Z_STRLEN_PP(arg1), &list, &size, 0 TSRMLS_CC)) { in PHP_FUNCTION()
1763 if (list) { in PHP_FUNCTION()
1764 efree(list); in PHP_FUNCTION()
1771 if (list == NULL) { in PHP_FUNCTION()
1778 MBSTRG(current_detect_order_list) = list; in PHP_FUNCTION()
2776 int size, *list; in php_mb_convert_encoding() local
2807 list = NULL; in php_mb_convert_encoding()
2809 … php_mb_parse_encoding_list(_from_encodings, strlen(_from_encodings), &list, &size, 0 TSRMLS_CC); in php_mb_convert_encoding()
2811 from_encoding = *list; in php_mb_convert_encoding()
2815 from_encoding = mbfl_identify_encoding_no(&string, list, size, MBSTRG(strict_detection)); in php_mb_convert_encoding()
2827 if (list != NULL) { in php_mb_convert_encoding()
2828 efree((void *)list); in php_mb_convert_encoding()
3011 int size, *list; in PHP_FUNCTION() local
3018 list = NULL; in PHP_FUNCTION()
3023 if (!php_mb_parse_encoding_array(encoding_list, &list, &size, 0 TSRMLS_CC)) { in PHP_FUNCTION()
3024 if (list) { in PHP_FUNCTION()
3025 efree(list); in PHP_FUNCTION()
3026 list = NULL; in PHP_FUNCTION()
3033 …if (!php_mb_parse_encoding_list(Z_STRVAL_P(encoding_list), Z_STRLEN_P(encoding_list), &list, &size… in PHP_FUNCTION()
3034 if (list) { in PHP_FUNCTION()
3035 efree(list); in PHP_FUNCTION()
3036 list = NULL; in PHP_FUNCTION()
3051 if (size > 0 && list != NULL) { in PHP_FUNCTION()
3052 elist = list; in PHP_FUNCTION()
3064 if (list != NULL) { in PHP_FUNCTION()
3065 efree((void *)list); in PHP_FUNCTION()
4583 enum mbfl_no_encoding *list; in php_mb_gpc_encoding_detector() local
4600 list = NULL; in php_mb_gpc_encoding_detector()
4602 php_mb_parse_encoding_list(arg_list, strlen(arg_list), &list, &size, 0 TSRMLS_CC); in php_mb_gpc_encoding_detector()
4604 if (size > 0 && list != NULL) { in php_mb_gpc_encoding_detector()
4605 elist = list; in php_mb_gpc_encoding_detector()
4733 char *name, *list = NULL; in php_mb_set_zend_encoding() local
4746 if (!list) { in php_mb_set_zend_encoding()
4747 list = (char*)emalloc(list_size); in php_mb_set_zend_encoding()
4748 *list = '\0'; in php_mb_set_zend_encoding()
4750 list = (char*)erealloc(list, list_size); in php_mb_set_zend_encoding()
4751 strcat(list, ","); in php_mb_set_zend_encoding()
4753 strcat(list, name); in php_mb_set_zend_encoding()
4758 zend_multibyte_set_script_encoding(list, (list ? strlen(list) : 0) TSRMLS_CC); in php_mb_set_zend_encoding()
4759 if (list) { in php_mb_set_zend_encoding()
4760 efree(list); in php_mb_set_zend_encoding()
4787 int size, *list; in php_mb_encoding_detector() local
4790 list = NULL; in php_mb_encoding_detector()
4792 php_mb_parse_encoding_list(arg_list, strlen(arg_list), &list, &size, 0 TSRMLS_CC); in php_mb_encoding_detector()
4796 if (size > 0 && list != NULL) { in php_mb_encoding_detector()
4797 elist = list; in php_mb_encoding_detector()
4808 if (list != NULL) { in php_mb_encoding_detector()
4809 efree((void *)list); in php_mb_encoding_detector()