Home
last modified time | relevance | path

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

/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.cc92 size_t consumed_size = 0; in EndReceive() local
94 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()
/external/pigweed/pw_tokenizer/
Ddetokenize_fuzzer.cc74 size_t consumed_size = provider.ConsumeIntegralInRange<size_t>( in LLVMFuzzerTestOneInput() local
77 provider.ConsumeBytes<uint8_t>(consumed_size); in LLVMFuzzerTestOneInput()
93 size_t consumed_size = provider.ConsumeIntegralInRange<size_t>( in LLVMFuzzerTestOneInput() local
96 provider.ConsumeBytes<uint8_t>(consumed_size); in LLVMFuzzerTestOneInput()
/external/brotli/c/enc/
Dencode.c1903 size_t consumed_size = s->available_out_; in BrotliEncoderTakeOutput() local
1906 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()