Home
last modified time | relevance | path

Searched refs:ringbuffer_size (Results 1 – 3 of 3) sorted by relevance

/external/brotli/c/dec/
Ddecode.c1248 size_t pos = wrap && s->pos > s->ringbuffer_size ? in UnwrittenBytes()
1249 (size_t)s->ringbuffer_size : (size_t)(s->pos); in UnwrittenBytes()
1250 size_t partial_pos_rb = (s->rb_roundtrips * (size_t)s->ringbuffer_size) + pos; in UnwrittenBytes()
1286 if (s->ringbuffer_size == (1 << s->window_bits) || force) { in WriteRingBuffer()
1293 if (s->ringbuffer_size == (1 << s->window_bits) && in WriteRingBuffer()
1294 s->pos >= s->ringbuffer_size) { in WriteRingBuffer()
1295 s->pos -= s->ringbuffer_size; in WriteRingBuffer()
1319 if (s->ringbuffer_size == s->new_ringbuffer_size) { in BrotliEnsureRingBuffer()
1338 s->ringbuffer_size = s->new_ringbuffer_size; in BrotliEnsureRingBuffer()
1340 s->ringbuffer_end = s->ringbuffer + s->ringbuffer_size; in BrotliEnsureRingBuffer()
[all …]
Dstate.h123 int ringbuffer_size; member
Dstate.c52 s->ringbuffer_size = 0; in BrotliDecoderStateInit()