Searched refs:subpats (Results 1 – 5 of 5) sorted by relevance
/PHP-8.2/ext/pcre/ |
H A D | php_pcre.c | 970 zend_hash_update(subpats, name, val); in add_named() 972 if (!zend_hash_add(subpats, name, val)) { in add_named() 1020 HashTable *subpats_ht = Z_ARRVAL_P(subpats); in populate_subpat_array() 1071 add_next_index_null(subpats); in populate_subpat_array() 1088 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match() local 1096 Z_PARAM_ZVAL(subpats) in php_do_pcre_match() 1155 if (subpats != NULL) { in php_pcre_match_impl() 1156 subpats = zend_try_array_init(subpats); in php_pcre_match_impl() 1157 if (!subpats) { in php_pcre_match_impl() 1209 if (subpats && pce->name_count > 0) { in php_pcre_match_impl() [all …]
|
H A D | php_pcre.h | 53 zval *subpats, bool global, zend_long flags, zend_off_t start_offset);
|
/PHP-8.2/ext/mbstring/ |
H A D | php_mbregex.c | 1084 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 D | softmagic.c | 2259 zval subpats; in magiccheck() local 2263 ZVAL_NULL(&subpats); in magiccheck() 2269 php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 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.2/ext/fileinfo/ |
H A D | libmagic.patch | 3175 + zval subpats; 3179 + ZVAL_NULL(&subpats); 3185 + php_pcre_match_impl(pce, haystack, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE, 0); 3190 + zval_ptr_dtor(&subpats); 3193 + } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) { 3196 + HashTable *ht = Z_ARRVAL(subpats); 3217 + zval_ptr_dtor(&subpats); 3224 + zval_ptr_dtor(&subpats);
|
Completed in 31 milliseconds