Lines Matching refs:offs
210 size_t len, offs;
223 offs = 0;
224 while (!ap_regexec(m->from.r, ctx->buf+offs, nmatch, pmatch, 0)) {
227 subs = ap_pregsub(ctx->f->r->pool, m->to, ctx->buf+offs,
231 offs += match;
234 ctx->buf + offs, s_from);
240 memmove(ctx->buf+offs+s_to, ctx->buf+offs+s_from,
241 len + 1 - s_from - offs);
242 memcpy(ctx->buf+offs, subs, s_to);
245 memcpy(ctx->buf + offs, subs, s_to);
246 memmove(ctx->buf+offs+s_to, ctx->buf+offs+s_from,
247 len + 1 - s_from - offs);
249 offs += s_to;
349 size_t offs, len;
467 offs = match = pmatch[0].rm_so;
474 ctx->buf + offs, s_from);
484 memmove(ctx->buf+offs+s_to,
485 ctx->buf+offs+s_from,
486 len + 1 - s_from - offs);
487 memcpy(ctx->buf+offs, subs, s_to);
490 memcpy(ctx->buf + offs, subs, s_to);
491 memmove(ctx->buf+offs+s_to,
492 ctx->buf+offs+s_from,
493 len + 1 - s_from - offs);
532 offs = 0;
533 while (!ap_regexec(m->from.r, ctx->buf+offs,
537 subs = ap_pregsub(ctx->f->r->pool, m->to, ctx->buf+offs,
542 ctx->buf + offs, s_from);
549 offs += match;
553 memmove(ctx->buf+offs+s_to,
554 ctx->buf+offs+s_from,
555 len + 1 - s_from - offs);
556 memcpy(ctx->buf+offs, subs, s_to);
559 memcpy(ctx->buf + offs, subs, s_to);
560 memmove(ctx->buf+offs+s_to,
561 ctx->buf+offs+s_from,
562 len + 1 - s_from - offs);
564 offs += s_to;
648 size_t offs = 0;
656 while (!ap_regexec(seek_meta, buf+offs, 2, pmatch, 0)) {
659 p = buf+offs+pmatch[1].rm_eo;
665 p = apr_strmatch(seek_content, buf+offs+pmatch[0].rm_so,
700 offs += pmatch[0].rm_eo;