Lines Matching defs:q
230 static void bufq_init(struct bufq *q, struct bufc_pool *pool, in bufq_init()
242 void Curl_bufq_init2(struct bufq *q, size_t chunk_size, size_t max_chunks, in Curl_bufq_init2()
248 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks) in Curl_bufq_init()
253 void Curl_bufq_initp(struct bufq *q, struct bufc_pool *pool, in Curl_bufq_initp()
259 void Curl_bufq_free(struct bufq *q) in Curl_bufq_free()
267 void Curl_bufq_reset(struct bufq *q) in Curl_bufq_reset()
279 size_t Curl_bufq_len(const struct bufq *q) in Curl_bufq_len()
290 size_t Curl_bufq_space(const struct bufq *q) in Curl_bufq_space()
308 bool Curl_bufq_is_empty(const struct bufq *q) in Curl_bufq_is_empty()
313 bool Curl_bufq_is_full(const struct bufq *q) in Curl_bufq_is_full()
325 static struct buf_chunk *get_spare(struct bufq *q) in get_spare()
355 static void prune_head(struct bufq *q) in prune_head()
396 static void prune_tail(struct bufq *q) in prune_tail()
426 static struct buf_chunk *get_non_full_tail(struct bufq *q) in get_non_full_tail()
447 ssize_t Curl_bufq_write(struct bufq *q, in Curl_bufq_write()
480 CURLcode Curl_bufq_cwrite(struct bufq *q, in Curl_bufq_cwrite()
491 CURLcode Curl_bufq_unwrite(struct bufq *q, size_t len) in Curl_bufq_unwrite()
500 ssize_t Curl_bufq_read(struct bufq *q, unsigned char *buf, size_t len, in Curl_bufq_read()
523 CURLcode Curl_bufq_cread(struct bufq *q, char *buf, size_t len, in Curl_bufq_cread()
533 bool Curl_bufq_peek(struct bufq *q, in Curl_bufq_peek()
548 bool Curl_bufq_peek_at(struct bufq *q, size_t offset, in Curl_bufq_peek_at()
571 void Curl_bufq_skip(struct bufq *q, size_t amount) in Curl_bufq_skip()
582 ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer, in Curl_bufq_pass()
614 ssize_t Curl_bufq_write_pass(struct bufq *q, in Curl_bufq_write_pass()
665 ssize_t Curl_bufq_sipn(struct bufq *q, size_t max_len, in Curl_bufq_sipn()
704 static ssize_t bufq_slurpn(struct bufq *q, size_t max_len, in bufq_slurpn()
742 ssize_t Curl_bufq_slurp(struct bufq *q, Curl_bufq_reader *reader, in Curl_bufq_slurp()