Lines Matching refs:subpats

999 		zval *subpats, zend_string *name, zval *val, bool unmatched) {  in add_named()  argument
1003 zend_hash_update(Z_ARRVAL_P(subpats), name, val); in add_named()
1005 if (!zend_hash_add(Z_ARRVAL_P(subpats), name, val)) { in add_named()
1047 zval *subpats, const char *subject, PCRE2_SIZE *offsets, zend_string **subpat_names, in populate_subpat_array() argument
1057 subpats, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1062 add_offset_pair(subpats, NULL, PCRE2_UNSET, PCRE2_UNSET, subpat_names[i], 1); in populate_subpat_array()
1070 add_named(subpats, subpat_names[i], &val, offsets[2*i] == PCRE2_UNSET); in populate_subpat_array()
1072 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &val); in populate_subpat_array()
1078 zend_hash_add(Z_ARRVAL_P(subpats), subpat_names[i], &val); in populate_subpat_array()
1080 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &val); in populate_subpat_array()
1088 subpats, subject, offsets[2*i], offsets[2*i+1], NULL, unmatched_as_null); in populate_subpat_array()
1092 add_offset_pair(subpats, NULL, PCRE2_UNSET, PCRE2_UNSET, NULL, 1); in populate_subpat_array()
1099 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &val); in populate_subpat_array()
1103 add_next_index_null(subpats); in populate_subpat_array()
1110 add_assoc_string_ex(subpats, "MARK", sizeof("MARK") - 1, (char *)mark); in populate_subpat_array()
1120 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match() local
1128 Z_PARAM_ZVAL(subpats) in php_do_pcre_match()
1139 php_pcre_match_impl(pce, subject, return_value, subpats, in php_do_pcre_match()
1163 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset) in php_pcre_match_impl() argument
1190 if (subpats != NULL) { in php_pcre_match_impl()
1191 subpats = zend_try_array_init(subpats); in php_pcre_match_impl()
1192 if (!subpats) { in php_pcre_match_impl()
1244 if (subpats && pce->name_count > 0) { in php_pcre_match_impl()
1252 if (global && subpats && subpats_order == PREG_PATTERN_ORDER) { in php_pcre_match_impl()
1308 if (subpats != NULL) { in php_pcre_match_impl()
1320 if (subpats && subpats_order == PREG_PATTERN_ORDER) { in php_pcre_match_impl()
1370 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &result_set); in php_pcre_match_impl()
1376 subpats, subject, offsets, subpat_names, num_subpats, count, mark, flags); in php_pcre_match_impl()
1444 if (global && subpats && subpats_order == PREG_PATTERN_ORDER) { in php_pcre_match_impl()
1448 zend_hash_update(Z_ARRVAL_P(subpats), subpat_names[i], &match_sets[i]); in php_pcre_match_impl()
1451 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &match_sets[i]); in php_pcre_match_impl()
1455 zend_hash_next_index_insert(Z_ARRVAL_P(subpats), &match_sets[i]); in php_pcre_match_impl()
1461 add_assoc_zval(subpats, "MARK", &marks); in php_pcre_match_impl()