Lines Matching refs:subpats

972 		HashTable *const subpats, zend_string *name, zval *val, bool unmatched) {  in add_named()  argument
976 zend_hash_update(subpats, name, val); in add_named()
978 if (!zend_hash_add(subpats, name, val)) { in add_named()
1020 zval *subpats, const char *subject, PCRE2_SIZE *offsets, zend_string **subpat_names, in populate_subpat_array() argument
1026 HashTable *subpats_ht = Z_ARRVAL_P(subpats); in populate_subpat_array()
1077 add_next_index_null(subpats); in populate_subpat_array()
1084 add_assoc_string_ex(subpats, "MARK", sizeof("MARK") - 1, (char *)mark); in populate_subpat_array()
1094 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match() local
1102 Z_PARAM_ZVAL(subpats) in php_do_pcre_match()
1113 php_pcre_match_impl(pce, subject, return_value, subpats, in php_do_pcre_match()
1137 zval *subpats, bool global, zend_long flags, zend_off_t start_offset) in php_pcre_match_impl() argument
1161 if (subpats != NULL) { in php_pcre_match_impl()
1162 subpats = zend_try_array_init(subpats); in php_pcre_match_impl()
1163 if (!subpats) { in php_pcre_match_impl()
1215 if (subpats && pce->name_count > 0) { in php_pcre_match_impl()
1239 if (global && subpats && subpats_order == PREG_PATTERN_ORDER) { in php_pcre_match_impl()
1277 if (subpats != NULL) { in php_pcre_match_impl()
1345 zend_hash_next_index_insert_new(Z_ARRVAL_P(subpats), &result_set); in php_pcre_match_impl()
1351 subpats, subject, offsets, subpat_names, num_subpats, count, mark, flags); in php_pcre_match_impl()
1425 zend_hash_update(Z_ARRVAL_P(subpats), subpat_names[i], &wrapper); in php_pcre_match_impl()
1428 zend_hash_next_index_insert_new(Z_ARRVAL_P(subpats), &wrapper); in php_pcre_match_impl()
1434 zend_hash_next_index_insert_new(Z_ARRVAL_P(subpats), &wrapper); in php_pcre_match_impl()
1442 zend_hash_str_update(Z_ARRVAL_P(subpats), "MARK", sizeof("MARK") - 1, &tmp); in php_pcre_match_impl()