Home
last modified time | relevance | path

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

/third_party/node/deps/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()
/third_party/skia/third_party/externals/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()
/third_party/mesa3d/src/intel/common/
Dintel_measure.c461 ringbuffer_size(const struct intel_measure_ringbuffer *rb) in ringbuffer_size() function
500 const unsigned buffered_event_count = ringbuffer_size(rb); in buffered_event_count()
577 assert(ringbuffer_size(result_rb) >= result_count); in print_combined_results()
590 assert(ringbuffer_size(result_rb) > 0); in print_combined_results()