Lines Matching refs:match_sets
587 **match_sets = NULL; /* An array of sets of matches for each in php_pcre_match_impl() local
669 match_sets = (zval **)safe_emalloc(num_subpats, sizeof(zval *), 0); in php_pcre_match_impl()
671 ALLOC_ZVAL(match_sets[i]); in php_pcre_match_impl()
672 array_init(match_sets[i]); in php_pcre_match_impl()
673 INIT_PZVAL(match_sets[i]); in php_pcre_match_impl()
704 if (match_sets) efree(match_sets); in php_pcre_match_impl()
714 add_offset_pair(match_sets[i], (char *)stringlist[i], in php_pcre_match_impl()
717 add_next_index_stringl(match_sets[i], (char *)stringlist[i], in php_pcre_match_impl()
728 add_next_index_string(match_sets[i], "", 1); in php_pcre_match_impl()
806 strlen(subpat_names[i])+1, &match_sets[i], sizeof(zval *), NULL); in php_pcre_match_impl()
807 Z_ADDREF_P(match_sets[i]); in php_pcre_match_impl()
809 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &match_sets[i], sizeof(zval *), NULL); in php_pcre_match_impl()
811 efree(match_sets); in php_pcre_match_impl()