Lines Matching refs:ringbuffer_size
1258 size_t pos = wrap && s->pos > s->ringbuffer_size ? in UnwrittenBytes()
1259 (size_t)s->ringbuffer_size : (size_t)(s->pos); in UnwrittenBytes()
1260 size_t partial_pos_rb = (s->rb_roundtrips * (size_t)s->ringbuffer_size) + pos; in UnwrittenBytes()
1296 if (s->ringbuffer_size == (1 << s->window_bits) || force) { in WriteRingBuffer()
1303 if (s->ringbuffer_size == (1 << s->window_bits) && in WriteRingBuffer()
1304 s->pos >= s->ringbuffer_size) { in WriteRingBuffer()
1305 s->pos -= s->ringbuffer_size; in WriteRingBuffer()
1329 if (s->ringbuffer_size == s->new_ringbuffer_size) { in BrotliEnsureRingBuffer()
1348 s->ringbuffer_size = s->new_ringbuffer_size; in BrotliEnsureRingBuffer()
1350 s->ringbuffer_end = s->ringbuffer + s->ringbuffer_size; in BrotliEnsureRingBuffer()
1371 if (s->pos + nbytes > s->ringbuffer_size) { in CopyUncompressedBlockToOutput()
1372 nbytes = s->ringbuffer_size - s->pos; in CopyUncompressedBlockToOutput()
1395 if (s->ringbuffer_size == 1 << s->window_bits) { in CopyUncompressedBlockToOutput()
1418 int min_size = s->ringbuffer_size ? s->ringbuffer_size : 1024; in BrotliCalculateRingBufferSize()
1422 if (s->ringbuffer_size == window_size) { in BrotliCalculateRingBufferSize()
1818 if (BROTLI_PREDICT_FALSE(pos == s->ringbuffer_size)) { in ProcessCommandsInternal()
1858 if (BROTLI_PREDICT_FALSE(pos == s->ringbuffer_size)) { in ProcessCommandsInternal()
1939 if (pos >= s->ringbuffer_size) { in ProcessCommandsInternal()
1973 if (dst_end >= s->ringbuffer_size || src_end >= s->ringbuffer_size) { in ProcessCommandsInternal()
1998 int wrap_guard = s->ringbuffer_size - pos; in ProcessCommandsInternal()
2480 if (s->ringbuffer_size == 1 << s->window_bits) { in BrotliDecoderDecompressStream()