Searched refs:consumed_size (Results 1 – 3 of 3) sorted by relevance
92 size_t consumed_size = 0; in EndReceive() local94 if (size_ < consumed_size + kHeaderSize) in EndReceive()99 const char* rd_ptr = buf() + consumed_size; in EndReceive()109 if (size_ < consumed_size + next_frame_size) { in EndReceive()123 consumed_size += next_frame_size; in EndReceive()126 PERFETTO_DCHECK(consumed_size <= size_); in EndReceive()127 if (consumed_size > 0) { in EndReceive()131 size_ -= consumed_size; in EndReceive()136 const char* move_begin = buf() + consumed_size; in EndReceive()144 if (consumed_size > page_size) { in EndReceive()
74 size_t consumed_size = provider.ConsumeIntegralInRange<size_t>( in LLVMFuzzerTestOneInput() local77 provider.ConsumeBytes<uint8_t>(consumed_size); in LLVMFuzzerTestOneInput()93 size_t consumed_size = provider.ConsumeIntegralInRange<size_t>( in LLVMFuzzerTestOneInput() local96 provider.ConsumeBytes<uint8_t>(consumed_size); in LLVMFuzzerTestOneInput()
1903 size_t consumed_size = s->available_out_; in BrotliEncoderTakeOutput() local1906 consumed_size = BROTLI_MIN(size_t, *size, s->available_out_); in BrotliEncoderTakeOutput()1908 if (consumed_size) { in BrotliEncoderTakeOutput()1909 s->next_out_ += consumed_size; in BrotliEncoderTakeOutput()1910 s->available_out_ -= consumed_size; in BrotliEncoderTakeOutput()1911 s->total_out_ += consumed_size; in BrotliEncoderTakeOutput()1913 *size = consumed_size; in BrotliEncoderTakeOutput()