Home
last modified time | relevance | path

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

/PHP-8.2/ext/pcre/
H A Dphp_pcre.c1003 zend_hash_update(Z_ARRVAL_P(subpats), name, val); in add_named()
1057 subpats, subject, offsets[2*i], offsets[2*i+1], in populate_subpat_array()
1103 add_next_index_null(subpats); 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()
1195 if (subpats != NULL) { in php_pcre_match_impl()
1196 subpats = zend_try_array_init(subpats); in php_pcre_match_impl()
1197 if (!subpats) { in php_pcre_match_impl()
1249 if (subpats && pce->name_count > 0) { in php_pcre_match_impl()
1313 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.2/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.2/ext/fileinfo/libmagic/
H A Dsoftmagic.c2251 zval subpats; in magiccheck() local
2255 ZVAL_NULL(&subpats); in magiccheck()
2261 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); in magiccheck()
2266 zval_ptr_dtor(&subpats); in magiccheck()
2269 } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) { in magiccheck()
2272 HashTable *ht = Z_ARRVAL(subpats); in magiccheck()
2293 zval_ptr_dtor(&subpats); in magiccheck()
2300 zval_ptr_dtor(&subpats); in magiccheck()
/PHP-8.2/ext/fileinfo/
H A Dlibmagic.patch3464 + zval subpats;
3468 + ZVAL_NULL(&subpats);
3474 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0);
3479 + zval_ptr_dtor(&subpats);
3486 + } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) {
3489 + HashTable *ht = Z_ARRVAL(subpats);
3510 + zval_ptr_dtor(&subpats);
3539 + zval_ptr_dtor(&subpats);
/PHP-8.2/ext/imap/
H A Dphp_imap.c817 zval *subpats = NULL; /* Parts (not used) */ in PHP_FUNCTION() local
827 php_pcre_match_impl(pce, internal_date, return_value, subpats, global, in PHP_FUNCTION()

Completed in 43 milliseconds