Home
last modified time | relevance | path

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

/PHP-8.3/ext/pcre/
H A Dphp_pcre.c984 zend_hash_update(Z_ARRVAL_P(subpats), name, val); in add_named()
1038 subpats, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1084 add_next_index_null(subpats); in populate_subpat_array()
1101 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match() local
1109 Z_PARAM_ZVAL(subpats) in php_do_pcre_match()
1176 if (subpats != NULL) { in php_pcre_match_impl()
1177 subpats = zend_try_array_init(subpats); in php_pcre_match_impl()
1178 if (!subpats) { in php_pcre_match_impl()
1230 if (subpats && pce->name_count > 0) { in php_pcre_match_impl()
1294 if (subpats != NULL) { in php_pcre_match_impl()
[all …]
H A Dphp_pcre.h53 zval *subpats, int global, int use_flags, zend_long flags, zend_off_t start_offset);
/PHP-8.3/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.3/ext/fileinfo/libmagic/
H A Dsoftmagic.c2259 zval subpats; in magiccheck() local
2263 ZVAL_NULL(&subpats); in magiccheck()
2269 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
2274 zval_ptr_dtor(&subpats); in magiccheck()
2277 } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) { in magiccheck()
2280 HashTable *ht = Z_ARRVAL(subpats); in magiccheck()
2301 zval_ptr_dtor(&subpats); in magiccheck()
2308 zval_ptr_dtor(&subpats); in magiccheck()
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch3184 + zval subpats;
3188 + ZVAL_NULL(&subpats);
3194 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0);
3199 + zval_ptr_dtor(&subpats);
3202 + } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) {
3205 + HashTable *ht = Z_ARRVAL(subpats);
3226 + zval_ptr_dtor(&subpats);
3233 + zval_ptr_dtor(&subpats);
/PHP-8.3/ext/imap/
H A Dphp_imap.c798 zval *subpats = NULL; /* Parts (not used) */ in PHP_FUNCTION() local
808 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()

Completed in 55 milliseconds