Home
last modified time | relevance | path

Searched refs:subpats (Results 1 – 6 of 6) sorted by relevance

/PHP-8.1/ext/pcre/
H A Dphp_pcre.c1019 zend_hash_update(Z_ARRVAL_P(subpats), name, val); in add_named()
1073 subpats, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1119 add_next_index_null(subpats); in populate_subpat_array()
1136 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match() local
1144 Z_PARAM_ZVAL(subpats) in php_do_pcre_match()
1206 if (subpats != NULL) { in php_pcre_match_impl()
1207 subpats = zend_try_array_init(subpats); in php_pcre_match_impl()
1208 if (!subpats) { in php_pcre_match_impl()
1260 if (subpats && pce->name_count > 0) { in php_pcre_match_impl()
1324 if (subpats != NULL) { in php_pcre_match_impl()
[all …]
H A Dphp_pcre.h54 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);
/PHP-8.1/ext/mbstring/
H A Dphp_mbregex.c1084 zval subpats, retval; in _php_mb_regex_ereg_replace_exec() local
1087 array_init(&subpats); in _php_mb_regex_ereg_replace_exec()
1089 add_next_index_stringl(&subpats, string + regs->beg[i], regs->end[i] - regs->beg[i]); in _php_mb_regex_ereg_replace_exec()
1092 mb_regex_groups_iter_args args = {&subpats, string, string_len, regs}; in _php_mb_regex_ereg_replace_exec()
1096 ZVAL_COPY_VALUE(&args[0], &subpats); in _php_mb_regex_ereg_replace_exec()
1112 zval_ptr_dtor(&subpats); in _php_mb_regex_ereg_replace_exec()
1116 zval_ptr_dtor(&subpats); in _php_mb_regex_ereg_replace_exec()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c2253 zval subpats; in magiccheck() local
2257 ZVAL_NULL(&subpats); in magiccheck()
2263 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
2268 zval_ptr_dtor(&subpats); in magiccheck()
2271 } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) { in magiccheck()
2274 HashTable *ht = Z_ARRVAL(subpats); in magiccheck()
2295 zval_ptr_dtor(&subpats); in magiccheck()
2302 zval_ptr_dtor(&subpats); in magiccheck()
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch3412 + zval subpats;
3416 + ZVAL_NULL(&subpats);
3422 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0);
3427 + zval_ptr_dtor(&subpats);
3434 + } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) {
3437 + HashTable *ht = Z_ARRVAL(subpats);
3458 + zval_ptr_dtor(&subpats);
3487 + zval_ptr_dtor(&subpats);
/PHP-8.1/ext/imap/
H A Dphp_imap.c969 zval *subpats = NULL; /* Parts (not used) */ in PHP_FUNCTION() local
979 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()

Completed in 45 milliseconds