Home
last modified time | relevance | path

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

/external/perfetto/src/ipc/
Dbuffered_frame_deserializer.cc91 size_t consumed_size = 0; in EndReceive() local
93 if (size_ < consumed_size + kHeaderSize) in EndReceive()
98 const char* rd_ptr = buf() + consumed_size; in EndReceive()
108 if (size_ < consumed_size + next_frame_size) { in EndReceive()
122 consumed_size += next_frame_size; in EndReceive()
125 PERFETTO_DCHECK(consumed_size <= size_); in EndReceive()
126 if (consumed_size > 0) { in EndReceive()
130 size_ -= consumed_size; in EndReceive()
135 const char* move_begin = buf() + consumed_size; in EndReceive()
143 if (consumed_size > base::kPageSize) { in EndReceive()
/external/brotli/c/enc/
Dencode.c1838 size_t consumed_size = s->available_out_; in BrotliEncoderTakeOutput() local
1841 consumed_size = BROTLI_MIN(size_t, *size, s->available_out_); in BrotliEncoderTakeOutput()
1843 if (consumed_size) { in BrotliEncoderTakeOutput()
1844 s->next_out_ += consumed_size; in BrotliEncoderTakeOutput()
1845 s->available_out_ -= consumed_size; in BrotliEncoderTakeOutput()
1846 s->total_out_ += consumed_size; in BrotliEncoderTakeOutput()
1848 *size = consumed_size; in BrotliEncoderTakeOutput()