Lines Matching refs:offs

212     size_t len, offs;
225 offs = 0;
226 while (!ap_regexec(m->from.r, ctx->buf+offs, nmatch, pmatch, 0)) {
229 subs = ap_pregsub(ctx->f->r->pool, m->to, ctx->buf+offs,
233 offs += match;
236 ctx->buf + offs, s_from);
242 memmove(ctx->buf+offs+s_to, ctx->buf+offs+s_from,
243 len + 1 - s_from - offs);
244 memcpy(ctx->buf+offs, subs, s_to);
247 memcpy(ctx->buf + offs, subs, s_to);
248 memmove(ctx->buf+offs+s_to, ctx->buf+offs+s_from,
249 len + 1 - s_from - offs);
251 offs += s_to;
379 size_t offs, len;
497 offs = match = pmatch[0].rm_so;
504 ctx->buf + offs, s_from);
514 memmove(ctx->buf+offs+s_to,
515 ctx->buf+offs+s_from,
516 len + 1 - s_from - offs);
517 memcpy(ctx->buf+offs, subs, s_to);
520 memcpy(ctx->buf + offs, subs, s_to);
521 memmove(ctx->buf+offs+s_to,
522 ctx->buf+offs+s_from,
523 len + 1 - s_from - offs);
562 offs = 0;
563 while (!ap_regexec(m->from.r, ctx->buf+offs,
567 subs = ap_pregsub(ctx->f->r->pool, m->to, ctx->buf+offs,
572 ctx->buf + offs, s_from);
579 offs += match;
583 memmove(ctx->buf+offs+s_to,
584 ctx->buf+offs+s_from,
585 len + 1 - s_from - offs);
586 memcpy(ctx->buf+offs, subs, s_to);
589 memcpy(ctx->buf + offs, subs, s_to);
590 memmove(ctx->buf+offs+s_to,
591 ctx->buf+offs+s_from,
592 len + 1 - s_from - offs);
594 offs += s_to;
678 size_t offs = 0;
686 while (!ap_regexec(seek_meta, buf+offs, 2, pmatch, 0)) {
689 p = buf+offs+pmatch[1].rm_eo;
695 p = apr_strmatch(seek_content, buf+offs+pmatch[0].rm_so,
723 ret->start = offs+pmatch[0].rm_so;
724 ret->end = offs+pmatch[0].rm_eo;
734 offs += pmatch[0].rm_eo;