Lines Matching refs:otype
84 static struct cw_out_buf *cw_out_buf_create(cw_out_type otype) in cw_out_buf_create() argument
88 cwbuf->type = otype; in cw_out_buf_create()
165 static void cw_get_writefunc(struct Curl_easy *data, cw_out_type otype, in cw_get_writefunc() argument
169 switch(otype) { in cw_get_writefunc()
196 cw_out_type otype, in cw_out_ptr_flush() argument
211 cw_get_writefunc(data, otype, &wcb, &wcb_data, &max_write, &min_write); in cw_out_ptr_flush()
226 wlen, (otype == CW_OUT_BODY) ? "body" : "header", in cw_out_ptr_flush()
329 cw_out_type otype, in cw_out_append() argument
338 if(!ctx->buf || (ctx->buf->type != otype) || (otype == CW_OUT_HDS)) { in cw_out_append()
339 struct cw_out_buf *cwbuf = cw_out_buf_create(otype); in cw_out_append()
345 DEBUGASSERT(ctx->buf && (ctx->buf->type == otype)); in cw_out_append()
351 cw_out_type otype, in cw_out_do_write() argument
359 if(ctx->buf && ctx->buf->type != otype) { in cw_out_do_write()
367 result = cw_out_append(ctx, otype, buf, blen); in cw_out_do_write()
377 result = cw_out_ptr_flush(ctx, data, otype, flush_all, in cw_out_do_write()
383 result = cw_out_append(ctx, otype, buf + consumed, blen - consumed); in cw_out_do_write()