Home
last modified time | relevance | path

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

/PHP-7.3/ext/mbstring/
H A Dphp_mbregex.c895 int i, match_len, beg, end; in _php_mb_regex_ereg_exec() local
951 match_len = 1; in _php_mb_regex_ereg_exec()
955 match_len = regs->end[0] - regs->beg[0]; in _php_mb_regex_ereg_exec()
972 if (match_len == 0) { in _php_mb_regex_ereg_exec()
973 match_len = 1; in _php_mb_regex_ereg_exec()
975 RETVAL_LONG(match_len); in _php_mb_regex_ereg_exec()
/PHP-7.3/ext/pcre/
H A Dphp_pcre.c1574 size_t match_len; /* Length of the current match */ in php_pcre_replace_impl() local
1712 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1713 memcpy(walkbuf, subject + offsets[backref<<1], match_len); in php_pcre_replace_impl()
1714 walkbuf += match_len; in php_pcre_replace_impl()
2592 size_t i, match_len; in php_pcre_split_impl() local
2594 match_len = offsets[(i<<1)+1] - offsets[i<<1]; in php_pcre_split_impl()
2596 if (!no_empty || match_len > 0) { in php_pcre_split_impl()
2598 …add_offset_pair(return_value, &ZSTR_VAL(subject_str)[offsets[i<<1]], match_len, offsets[i<<1], NUL… in php_pcre_split_impl()
2600 ZVAL_STRINGL(&tmp, &ZSTR_VAL(subject_str)[offsets[i<<1]], match_len); in php_pcre_split_impl()

Completed in 15 milliseconds