Lines Matching refs:buf_capacity
31 size_t buf_capacity; member
37 …h2o_sendvec_init_raw(self->bufs.entries + self->bufs.size++, h2o_mem_alloc(self->buf_capacity), 0); in expand_buf()
50 if (self->bufs.entries[bufindex].len == self->buf_capacity) { in compress_core()
55 size_t dstlen = self->buf_capacity - self->bufs.entries[bufindex].len; in compress_core()
60 self->bufs.entries[bufindex].len = self->buf_capacity - dstlen; in compress_core()
123 self->buf_capacity = preferred_chunk_size; in h2o_compress_brotli_open()
124 if (self->buf_capacity > estimated_content_length) in h2o_compress_brotli_open()
125 self->buf_capacity = estimated_content_length; in h2o_compress_brotli_open()
126 if (self->buf_capacity > 65536) in h2o_compress_brotli_open()
127 self->buf_capacity = 65536; in h2o_compress_brotli_open()
128 if (self->buf_capacity < 1024) in h2o_compress_brotli_open()
129 self->buf_capacity = 1024; in h2o_compress_brotli_open()