Home
last modified time | relevance | path

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

/PHP-5.4/ext/ereg/
H A Dereg.c410 *walkbuf; /* used to walk buf when replacing backrefs */ in php_ereg_replace() local
487 walkbuf = &buf[tmp + subs[0].rm_so]; in php_ereg_replace()
496 memcpy (walkbuf, &string[pos + subs[walk[1] - '0'].rm_so], tmp); in php_ereg_replace()
497 walkbuf += tmp; in php_ereg_replace()
501 *walkbuf++ = *walk++; in php_ereg_replace()
504 *walkbuf = '\0'; in php_ereg_replace()
/PHP-5.4/ext/pcre/
H A Dphp_pcre.c1027 *walkbuf, /* Location of current replacement in the result */ in php_pcre_replace_impl() local
1153 walkbuf = result + *result_len; in php_pcre_replace_impl()
1158 memcpy(walkbuf, eval_result, eval_result_len); in php_pcre_replace_impl()
1167 *(walkbuf-1) = *walk++; in php_pcre_replace_impl()
1174 memcpy(walkbuf, subject + offsets[backref<<1], match_len); in php_pcre_replace_impl()
1175 walkbuf += match_len; in php_pcre_replace_impl()
1180 *walkbuf++ = *walk++; in php_pcre_replace_impl()
1183 *walkbuf = '\0'; in php_pcre_replace_impl()
1185 *result_len += walkbuf - (result + *result_len); in php_pcre_replace_impl()

Completed in 12 milliseconds