Searched refs:consumed_size (Results 1 – 2 of 2) sorted by relevance
91 size_t consumed_size = 0; in EndReceive() local93 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()
1838 size_t consumed_size = s->available_out_; in BrotliEncoderTakeOutput() local1841 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()