Home
last modified time | relevance | path

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

/PHP-7.1/ext/pcre/
H A Dphp_pcre.c697 zval *subpats = NULL; /* Array for subpatterns */ in php_do_pcre_match() local
705 Z_PARAM_ZVAL_EX(subpats, 0, 1) in php_do_pcre_match()
756 if (subpats != NULL) { in php_pcre_match_impl()
757 zval_ptr_dtor(subpats); in php_pcre_match_impl()
758 array_init(subpats); in php_pcre_match_impl()
853 if (subpats != NULL) { in php_pcre_match_impl()
870 if (subpats && subpats_order == PREG_PATTERN_ORDER) { in php_pcre_match_impl()
946 add_offset_pair(subpats, (char *)stringlist[i], in php_pcre_match_impl()
956 add_next_index_stringl(subpats, (char *)stringlist[i], in php_pcre_match_impl()
963 add_offset_pair(subpats, (char *)stringlist[i], in php_pcre_match_impl()
[all …]
H A Dphp_pcre.h63 zval *subpats, int global, int use_flags, zend_long flags, zend_long start_offset);
/PHP-7.1/ext/mbstring/
H A Dphp_mbregex.c1003 zval subpats, retval; in _php_mb_regex_ereg_replace_exec() local
1006 array_init(&subpats); in _php_mb_regex_ereg_replace_exec()
1008 add_next_index_stringl(&subpats, string + regs->beg[i], regs->end[i] - regs->beg[i]); in _php_mb_regex_ereg_replace_exec()
1011 ZVAL_COPY_VALUE(&args[0], &subpats); in _php_mb_regex_ereg_replace_exec()
1029 zval_ptr_dtor(&subpats); in _php_mb_regex_ereg_replace_exec()
/PHP-7.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c2021 zval subpats; in magiccheck() local
2025 ZVAL_NULL(&subpats); in magiccheck()
2031 …php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTURE,… in magiccheck()
2036 zval_ptr_dtor(&subpats); in magiccheck()
2039 } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) { in magiccheck()
2042 HashTable *ht = Z_ARRVAL(subpats); in magiccheck()
2063 zval_ptr_dtor(&subpats); in magiccheck()
2070 zval_ptr_dtor(&subpats); in magiccheck()
/PHP-7.1/ext/fileinfo/
H A Dlibmagic.patch3596 + zval subpats;
3600 + ZVAL_NULL(&subpats);
3606 + php_pcre_match_impl(pce, haystack, ms->search.s_len, &retval, &subpats, 0, 1, PREG_OFFSET_CAPTU…
3611 + zval_ptr_dtor(&subpats);
3614 + } else if ((Z_LVAL(retval) > 0) && (Z_TYPE(subpats) == IS_ARRAY)) {
3617 + HashTable *ht = Z_ARRVAL(subpats);
3638 + zval_ptr_dtor(&subpats);
3674 + zval_ptr_dtor(&subpats);
/PHP-7.1/ext/imap/
H A Dphp_imap.c1344 zval *subpats = NULL; /* Parts (not used) */ in PHP_FUNCTION() local
1354 …php_pcre_match_impl(pce, ZSTR_VAL(internal_date), ZSTR_LEN(internal_date), return_value, subpats, … in PHP_FUNCTION()

Completed in 57 milliseconds