Lines Matching refs:q
125 void Curl_bufq_init(struct bufq *q, size_t chunk_size, size_t max_chunks);
131 void Curl_bufq_init2(struct bufq *q, size_t chunk_size,
134 void Curl_bufq_initp(struct bufq *q, struct bufc_pool *pool,
141 void Curl_bufq_reset(struct bufq *q);
146 void Curl_bufq_free(struct bufq *q);
151 size_t Curl_bufq_len(const struct bufq *q);
159 size_t Curl_bufq_space(const struct bufq *q);
164 bool Curl_bufq_is_empty(const struct bufq *q);
169 bool Curl_bufq_is_full(const struct bufq *q);
177 ssize_t Curl_bufq_write(struct bufq *q,
181 CURLcode Curl_bufq_cwrite(struct bufq *q,
189 CURLcode Curl_bufq_unwrite(struct bufq *q, size_t len);
197 ssize_t Curl_bufq_read(struct bufq *q, unsigned char *buf, size_t len,
200 CURLcode Curl_bufq_cread(struct bufq *q, char *buf, size_t len,
212 bool Curl_bufq_peek(struct bufq *q,
215 bool Curl_bufq_peek_at(struct bufq *q, size_t offset,
223 void Curl_bufq_skip(struct bufq *q, size_t amount);
237 ssize_t Curl_bufq_pass(struct bufq *q, Curl_bufq_writer *writer,
253 ssize_t Curl_bufq_slurp(struct bufq *q, Curl_bufq_reader *reader,
262 ssize_t Curl_bufq_sipn(struct bufq *q, size_t max_len,
273 ssize_t Curl_bufq_write_pass(struct bufq *q,