/third_party/curl/lib/ |
D | bufq.c | 214 size_t chunk_size, size_t max_chunks, int opts) in bufq_init() argument 217 DEBUGASSERT(max_chunks > 0); in bufq_init() 220 q->max_chunks = max_chunks; in bufq_init() 225 void Curl_bufq_init2(struct bufq *q, size_t chunk_size, size_t max_chunks, in Curl_bufq_init2() argument 228 bufq_init(q, NULL, chunk_size, max_chunks, opts); in Curl_bufq_init2() 231 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks) in Curl_bufq_init() argument 233 bufq_init(q, NULL, chunk_size, max_chunks, BUFQ_OPT_NONE); in Curl_bufq_init() 237 size_t max_chunks, int opts) in Curl_bufq_initp() argument 239 bufq_init(q, pool, pool->chunk_size, max_chunks, opts); in Curl_bufq_initp() 285 if(q->chunk_count < q->max_chunks) { in Curl_bufq_space() [all …]
|
D | bufq.h | 100 size_t max_chunks; /* max `head` chunks to use */ member 125 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks); 132 size_t max_chunks, int opts); 135 size_t max_chunks, int opts);
|
/third_party/curl/tests/unit/ |
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() 104 Curl_bufq_initp(&q, &pool, max_chunks, opts); in check_bufq() 107 Curl_bufq_init2(&q, chunk_size, max_chunks, opts); in check_bufq() 111 fail_unless(q.max_chunks == max_chunks, "max_chunks init wrong"); in check_bufq() 180 Curl_bufq_init2(&q, chunk_size, max_chunks, (opts|BUFQ_OPT_SOFT_LIMIT)); in check_bufq()
|
/third_party/node/deps/v8/src/libplatform/tracing/ |
D | trace-buffer.cc | 11 TraceBufferRingBuffer::TraceBufferRingBuffer(size_t max_chunks, in TraceBufferRingBuffer() argument 13 : max_chunks_(max_chunks) { in TraceBufferRingBuffer() 15 chunks_.resize(max_chunks); in TraceBufferRingBuffer() 101 size_t max_chunks, TraceWriter* trace_writer) { in CreateTraceBufferRingBuffer() argument 102 return new TraceBufferRingBuffer(max_chunks, trace_writer); in CreateTraceBufferRingBuffer()
|
D | trace-buffer.h | 21 TraceBufferRingBuffer(size_t max_chunks, TraceWriter* trace_writer);
|
/third_party/node/src/tracing/ |
D | node_trace_buffer.cc | 9 InternalTraceBuffer::InternalTraceBuffer(size_t max_chunks, uint32_t id, in InternalTraceBuffer() argument 11 : flushing_(false), max_chunks_(max_chunks), in InternalTraceBuffer() 13 chunks_.resize(max_chunks); in InternalTraceBuffer() 98 NodeTraceBuffer::NodeTraceBuffer(size_t max_chunks, in NodeTraceBuffer() argument 101 buffer1_(max_chunks, 0, agent), in NodeTraceBuffer() 102 buffer2_(max_chunks, 1, agent) { in NodeTraceBuffer()
|
D | node_trace_buffer.h | 22 InternalTraceBuffer(size_t max_chunks, uint32_t id, Agent* agent); 53 NodeTraceBuffer(size_t max_chunks, Agent* agent, uv_loop_t* tracing_loop);
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_bo.h | 49 uint32_t max_chunks; member
|
D | amdgpu_bo.c | 930 best_backing->max_chunks = 4; in sparse_backing_alloc() 931 best_backing->chunks = CALLOC(best_backing->max_chunks, in sparse_backing_alloc() 1040 if (backing->num_chunks >= backing->max_chunks) { in sparse_backing_free() 1041 unsigned new_max_chunks = 2 * backing->max_chunks; in sparse_backing_free() 1044 sizeof(*backing->chunks) * backing->max_chunks, in sparse_backing_free() 1049 backing->max_chunks = new_max_chunks; in sparse_backing_free()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.c | 61 uint32_t max_chunks; member 359 best_backing->max_chunks = 4; in sparse_backing_alloc() 360 best_backing->chunks = CALLOC(best_backing->max_chunks, in sparse_backing_alloc() 460 if (backing->num_chunks >= backing->max_chunks) { in sparse_backing_free() 461 unsigned new_max_chunks = 2 * backing->max_chunks; in sparse_backing_free() 464 sizeof(*backing->chunks) * backing->max_chunks, in sparse_backing_free() 469 backing->max_chunks = new_max_chunks; in sparse_backing_free()
|
/third_party/node/deps/v8/include/libplatform/ |
D | v8-tracing.h | 170 static TraceBuffer* CreateTraceBufferRingBuffer(size_t max_chunks,
|