Searched refs:chunk_size (Results 1 – 7 of 7) sorted by relevance
/curl/lib/ |
H A D | bufq.h | 55 size_t chunk_size; /* the size of chunks in this pool */ member 61 size_t chunk_size, size_t spare_max); 101 size_t chunk_size; /* size of chunks to manage */ member 125 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks); 131 void Curl_bufq_init2(struct bufq *q, size_t chunk_size,
|
H A D | bufq.c | 177 size_t chunk_size, size_t spare_max) in Curl_bufcp_init() argument 179 DEBUGASSERT(chunk_size > 0); in Curl_bufcp_init() 182 pool->chunk_size = chunk_size; in Curl_bufcp_init() 200 chunk = calloc(1, sizeof(*chunk) + pool->chunk_size); in bufcp_take() 205 chunk->dlen = pool->chunk_size; in bufcp_take() 233 DEBUGASSERT(chunk_size > 0); in bufq_init() 236 q->chunk_size = chunk_size; in bufq_init() 245 bufq_init(q, NULL, chunk_size, max_chunks, opts); in Curl_bufq_init2() 256 bufq_init(q, pool, pool->chunk_size, max_chunks, opts); in Curl_bufq_initp() 346 chunk = calloc(1, sizeof(*chunk) + q->chunk_size); in get_spare() [all …]
|
H A D | ws.c | 763 size_t chunk_size = WS_CHUNK_SIZE; in Curl_ws_accept() local 774 chunk_size = (size_t)l; in Curl_ws_accept() 779 CURL_TRC_WS(data, "WS, using chunk size %zu", chunk_size); in Curl_ws_accept() 780 Curl_bufq_init2(&ws->recvbuf, chunk_size, WS_CHUNK_COUNT, in Curl_ws_accept() 782 Curl_bufq_init2(&ws->sendbuf, chunk_size, WS_CHUNK_COUNT, in Curl_ws_accept()
|
H A D | request.c | 81 if(data->set.upload_buffer_size != req->sendbuf.chunk_size) { in Curl_req_soft_reset()
|
/curl/tests/unit/ |
H A D | unit2601.c | 68 q->chunk_size, q->max_chunks, msg); in dump_bufq() 92 size_t chunk_size, size_t max_chunks, in check_bufq() argument 97 size_t max_len = chunk_size * max_chunks; in check_bufq() 103 Curl_bufcp_init(&pool, chunk_size, pool_spares); in check_bufq() 107 Curl_bufq_init2(&q, chunk_size, max_chunks, opts); in check_bufq() 110 fail_unless(q.chunk_size == chunk_size, "chunk_size init wrong"); in check_bufq() 180 Curl_bufq_init2(&q, chunk_size, max_chunks, (opts|BUFQ_OPT_SOFT_LIMIT)); in check_bufq() 220 while(Curl_bufq_len(&q) < chunk_size) { in check_bufq()
|
/curl/tests/http/testenv/mod_curltest/ |
H A D | mod_curltest.c | 331 size_t chunk_size = sizeof(buffer); in curltest_tweak_handler() local 371 chunk_size = (int)apr_atoi64(val); in curltest_tweak_handler() 372 if(chunk_size >= 0) { in curltest_tweak_handler() 373 if(chunk_size > sizeof(buffer)) { in curltest_tweak_handler() 375 "chunk_size %zu too large", chunk_size); in curltest_tweak_handler() 442 r->clength = with_cl ? (chunks * chunk_size) : -1; in curltest_tweak_handler() 477 rv = apr_brigade_write(bb, NULL, NULL, buffer, chunk_size); in curltest_tweak_handler() 485 (unsigned long)chunk_size); in curltest_tweak_handler()
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 1841 ctx->q.sendbuf.chunk_size / max_payload_size); in cf_progress_egress()
|
Completed in 23 milliseconds