Home
last modified time | relevance | path

Searched refs:match_len (Results 1 – 2 of 2) sorted by relevance

/PHP-7.1/ext/mbstring/
H A Dphp_mbregex.c702 int i, match_len, beg, end; in _php_mb_regex_ereg_exec() local
762 match_len = 1; in _php_mb_regex_ereg_exec()
766 match_len = regs->end[0] - regs->beg[0]; in _php_mb_regex_ereg_exec()
778 if (match_len == 0) { in _php_mb_regex_ereg_exec()
779 match_len = 1; in _php_mb_regex_ereg_exec()
781 RETVAL_LONG(match_len); in _php_mb_regex_ereg_exec()
/PHP-7.1/ext/pcre/
H A Dphp_pcre.c1185 int match_len; /* Length of the current match */ in php_pcre_replace_impl() local
1338 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1339 memcpy(walkbuf, subject + offsets[backref<<1], match_len); in php_pcre_replace_impl()
1340 walkbuf += match_len; in php_pcre_replace_impl()
1885 int i, match_len; in php_pcre_split_impl() local
1887 match_len = offsets[(i<<1)+1] - offsets[i<<1]; in php_pcre_split_impl()
1889 if (!no_empty || match_len > 0) { in php_pcre_split_impl()
1891 add_offset_pair(return_value, &subject[offsets[i<<1]], match_len, offsets[i<<1], NULL); in php_pcre_split_impl()
1893 ZVAL_STRINGL(&tmp, &subject[offsets[i<<1]], match_len); in php_pcre_split_impl()

Completed in 19 milliseconds