Home
last modified time | relevance | path

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

/external/brotli/c/dec/
Ddecode.c1258 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()
[all …]
Dstate.h259 int ringbuffer_size; member
Dstate.c49 s->ringbuffer_size = 0; in BrotliDecoderStateInit()