Lines Matching defs:buf
100 * Allocate a new bucket from buf and sz and append to ctx->bb
102 static apr_status_t append_bucket(sed_filter_ctxt* ctx, char* buf, int sz)
108 b = apr_bucket_pool_create(buf, sz, ctx->r->pool,
114 b = apr_bucket_transient_create(buf, sz,
150 static apr_status_t sed_write_output(void *dummy, char *buf, int sz)
164 memcpy(ctx->curoutbuf, buf, remainbytes);
165 buf += remainbytes;
177 memcpy(newbuf, buf, sz);
185 memcpy(ctx->curoutbuf, buf, sz);
190 memcpy(ctx->curoutbuf, buf, sz);
322 const char *buf = NULL;
352 else if (apr_bucket_read(b, &buf, &bytes, APR_BLOCK_READ)
355 status = sed_eval_buffer(&ctx->eval, buf, bytes, ctx);
449 const char *buf = NULL;
464 if (apr_bucket_read(b, &buf, &bytes, APR_BLOCK_READ)
466 status = sed_eval_buffer(&ctx->eval, buf, bytes, ctx);