Lines Matching defs: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()
166 struct buf_chunk *chunk; in chunk_list_free() local
189 struct buf_chunk *chunk = NULL; in bufcp_take() local
211 struct buf_chunk *chunk) in bufcp_put()
269 struct buf_chunk *chunk; in Curl_bufq_reset() local
281 const struct buf_chunk *chunk = q->head; in Curl_bufq_len() local
296 struct buf_chunk *chunk = q->spare; in Curl_bufq_space() local
327 struct buf_chunk *chunk = NULL; in get_spare() local
357 struct buf_chunk *chunk; in prune_head() local
383 static struct buf_chunk *chunk_prev(struct buf_chunk *head, in chunk_prev()
398 struct buf_chunk *chunk; in prune_tail() local
428 struct buf_chunk *chunk; in get_non_full_tail() local