Home
last modified time | relevance | path

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

/PHP-5.5/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.5/ext/pcre/
H A Dphp_pcre.c932 int match_len; /* Length of the match */ in preg_do_eval() local
959 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in preg_do_eval()
960 if (match_len) { in preg_do_eval()
1047 int match_len; /* Length of the current match */ in php_pcre_replace_impl() local
1206 match_len = offsets[(backref<<1)+1] - offsets[backref<<1]; in php_pcre_replace_impl()
1207 memcpy(walkbuf, subject + offsets[backref<<1], match_len); in php_pcre_replace_impl()
1208 walkbuf += match_len; in php_pcre_replace_impl()
1608 int i, match_len; in php_pcre_split_impl() local
1610 match_len = offsets[(i<<1)+1] - offsets[i<<1]; in php_pcre_split_impl()
1612 if (!no_empty || match_len > 0) { in php_pcre_split_impl()
[all …]
/PHP-5.5/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 16 milliseconds