Lines Matching defs:sz
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)
162 if (sz >= remainbytes) {
166 sz -= remainbytes;
175 if ((status == APR_SUCCESS) && (sz >= ctx->bufsize)) {
176 char* newbuf = apr_palloc(ctx->tpool, sz);
177 memcpy(newbuf, buf, sz);
178 status = append_bucket(ctx, newbuf, sz);
185 memcpy(ctx->curoutbuf, buf, sz);
186 ctx->curoutbuf += sz;
190 memcpy(ctx->curoutbuf, buf, sz);
191 ctx->curoutbuf += sz;