Lines Matching defs:chunks
69 nghttp3_ringbuf_init(&stream->chunks, 0, sizeof(nghttp3_buf), mem);
106 static void delete_chunks(nghttp3_ringbuf *chunks, const nghttp3_mem *mem) {
108 size_t i, len = nghttp3_ringbuf_len(chunks);
111 buf = nghttp3_ringbuf_get(chunks, i);
115 nghttp3_ringbuf_free(chunks);
118 static void delete_out_chunks(nghttp3_ringbuf *chunks,
122 size_t i, len = nghttp3_ringbuf_len(chunks);
125 buf = nghttp3_ringbuf_get(chunks, i);
136 nghttp3_ringbuf_free(chunks);
165 delete_out_chunks(&stream->chunks, stream->out_chunk_objalloc, stream->mem);
748 nghttp3_ringbuf *chunks = &stream->chunks;
750 size_t len = nghttp3_ringbuf_len(chunks);
756 chunk = nghttp3_ringbuf_get(chunks, len - 1);
775 if (nghttp3_ringbuf_full(chunks)) {
777 rv = nghttp3_ringbuf_reserve(chunks, nlen);
783 chunk = nghttp3_ringbuf_push_back(chunks);
790 nghttp3_ringbuf *chunks = &stream->chunks;
791 size_t len = nghttp3_ringbuf_len(chunks);
795 return nghttp3_ringbuf_get(chunks, len - 1);
890 nghttp3_ringbuf *chunks = &stream->chunks;
900 assert(nghttp3_ringbuf_len(chunks));
902 chunk = nghttp3_ringbuf_get(chunks, 0);
914 nghttp3_ringbuf_pop_front(chunks);