Lines Matching refs:buf_chunk
33 static bool chunk_is_empty(const struct buf_chunk *chunk) in chunk_is_empty()
38 static bool chunk_is_full(const struct buf_chunk *chunk) in chunk_is_full()
43 static size_t chunk_len(const struct buf_chunk *chunk) in chunk_len()
48 static size_t chunk_space(const struct buf_chunk *chunk) in chunk_space()
53 static void chunk_reset(struct buf_chunk *chunk) in chunk_reset()
59 static size_t chunk_append(struct buf_chunk *chunk, in chunk_append()
73 static size_t chunk_read(struct buf_chunk *chunk, in chunk_read()
94 static size_t chunk_unwrite(struct buf_chunk *chunk, size_t len) in chunk_unwrite()
111 static ssize_t chunk_slurpn(struct buf_chunk *chunk, size_t max_len, in chunk_slurpn()
134 static void chunk_peek(const struct buf_chunk *chunk, in chunk_peek()
142 static void chunk_peek_at(const struct buf_chunk *chunk, size_t offset, in chunk_peek_at()
151 static size_t chunk_skip(struct buf_chunk *chunk, size_t amount) in chunk_skip()
164 static void chunk_list_free(struct buf_chunk **anchor) in chunk_list_free()
166 struct buf_chunk *chunk; in chunk_list_free()
187 struct buf_chunk **pchunk) in bufcp_take()
189 struct buf_chunk *chunk = NULL; in bufcp_take()
211 struct buf_chunk *chunk) in bufcp_put()
269 struct buf_chunk *chunk; in Curl_bufq_reset()
281 const struct buf_chunk *chunk = q->head; in Curl_bufq_len()
296 struct buf_chunk *chunk = q->spare; in Curl_bufq_space()
325 static struct buf_chunk *get_spare(struct bufq *q) in get_spare()
327 struct buf_chunk *chunk = NULL; in get_spare()
357 struct buf_chunk *chunk; in prune_head()
383 static struct buf_chunk *chunk_prev(struct buf_chunk *head, in chunk_prev()
384 struct buf_chunk *chunk) in chunk_prev()
398 struct buf_chunk *chunk; in prune_tail()
426 static struct buf_chunk *get_non_full_tail(struct bufq *q) in get_non_full_tail()
428 struct buf_chunk *chunk; in get_non_full_tail()
451 struct buf_chunk *tail; in Curl_bufq_write()
551 struct buf_chunk *c = q->head; in Curl_bufq_peek_at()
669 struct buf_chunk *tail = NULL; in Curl_bufq_sipn()