Home
last modified time | relevance | path

Searched refs:chunk_size (Results 1 – 5 of 5) sorted by path

/unit/src/
H A Dnxt_h1proto.c1507 const size_t chunk_size = 2 * nxt_length("\r\n") + NXT_OFF_T_HEXLEN; in nxt_h1p_chunk_create() local
1541 header = nxt_http_buf_mem(task, r, chunk_size); in nxt_h1p_chunk_create()
H A Dnxt_http_chunk_parse.c89 hcp->chunk_size = c; in nxt_http_chunk_parse()
96 hcp->chunk_size = 0x0A + c; in nxt_http_chunk_parse()
121 if (nxt_fast_path(nxt_size_is_sufficient(hcp->chunk_size))) { in nxt_http_chunk_parse()
122 hcp->chunk_size = (hcp->chunk_size << 4) + c; in nxt_http_chunk_parse()
131 if (hcp->chunk_size != 0) { in nxt_http_chunk_parse()
225 if (hcp->chunk_size < size) { in nxt_http_chunk_buffer()
226 p += hcp->chunk_size; in nxt_http_chunk_buffer()
238 hcp->chunk_size -= size; in nxt_http_chunk_buffer()
240 if (hcp->chunk_size == 0) { in nxt_http_chunk_buffer()
H A Dnxt_http_parse.h102 uint64_t chunk_size; member
H A Dnxt_work_queue.c89 nxt_work_queue_cache_create(nxt_work_queue_cache_t *cache, size_t chunk_size) in nxt_work_queue_cache_create() argument
93 if (chunk_size == 0) { in nxt_work_queue_cache_create()
94 chunk_size = nxt_work_queue_bucket_items; in nxt_work_queue_cache_create()
98 cache->chunk_size = chunk_size - 1; in nxt_work_queue_cache_create()
126 n = cache->chunk_size; in nxt_work_queue_allocate()
H A Dnxt_work_queue.h59 size_t chunk_size; member
86 size_t chunk_size);