Home
last modified time | relevance | path

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

/PHP-5.6/ext/ereg/
H A Dereg.c297 int err, match_len, string_len; in php_ereg() local
349 match_len = 1; in php_ereg()
352 match_len = (int) (subs[0].rm_eo - subs[0].rm_so); in php_ereg()
377 if (match_len == 0) in php_ereg()
378 match_len = 1; in php_ereg()
379 RETVAL_LONG(match_len); in php_ereg()
/PHP-5.6/ext/pcre/
H A Dphp_pcre.c967 int match_len; /* Length of the match */ in preg_do_eval() local
994 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in preg_do_eval()
995 if (match_len) { in preg_do_eval()
1082 int match_len; /* Length of the current match */ in php_pcre_replace_impl() local
1246 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1247 memcpy(walkbuf, subject + offsets[backref<<1], match_len); in php_pcre_replace_impl()
1248 walkbuf += match_len; in php_pcre_replace_impl()
1658 int i, match_len; in php_pcre_split_impl() local
1660 match_len = offsets[(i<<1)+1] - offsets[i<<1]; in php_pcre_split_impl()
1662 if (!no_empty || match_len > 0) { in php_pcre_split_impl()
[all …]
/PHP-5.6/ext/mbstring/
H A Dphp_mbregex.c697 int i, match_len, beg, end; in _php_mb_regex_ereg_exec() local
742 match_len = 1; in _php_mb_regex_ereg_exec()
745 match_len = regs->end[0] - regs->beg[0]; in _php_mb_regex_ereg_exec()
759 if (match_len == 0) { in _php_mb_regex_ereg_exec()
760 match_len = 1; in _php_mb_regex_ereg_exec()
762 RETVAL_LONG(match_len); in _php_mb_regex_ereg_exec()

Completed in 19 milliseconds