Lines Matching refs:blen
198 const char *buf, size_t blen, in cw_out_ptr_flush() argument
213 *pconsumed = blen; in cw_out_ptr_flush()
218 while(blen && !ctx->paused) { in cw_out_ptr_flush()
219 if(!flush_all && blen < min_write) in cw_out_ptr_flush()
221 wlen = max_write ? CURLMIN(blen, max_write) : blen; in cw_out_ptr_flush()
252 blen -= nwritten; in cw_out_ptr_flush()
330 const char *buf, size_t blen) in cw_out_append() argument
332 if(cw_out_bufs_len(ctx) + blen > DYN_PAUSE_BUFFER) in cw_out_append()
346 return Curl_dyn_addn(&ctx->buf->b, buf, blen); in cw_out_append()
353 const char *buf, size_t blen) in cw_out_do_write() argument
367 result = cw_out_append(ctx, otype, buf, blen); in cw_out_do_write()
378 buf, blen, &consumed); in cw_out_do_write()
381 if(consumed < blen) { in cw_out_do_write()
383 result = cw_out_append(ctx, otype, buf + consumed, blen - consumed); in cw_out_do_write()
401 const char *buf, size_t blen) in cw_out_write() argument
409 result = cw_out_do_write(ctx, data, CW_OUT_BODY, flush_all, buf, blen); in cw_out_write()
415 result = cw_out_do_write(ctx, data, CW_OUT_HDS, flush_all, buf, blen); in cw_out_write()