Home
last modified time | relevance | path

Searched refs:leftover_bytes_ (Results 1 – 4 of 4) sorted by relevance

/external/image_io/src/extras/
Dbase64_decoder_data_destination.cc75 sstream1 << " " << leftover_bytes_.size() << " bytes left over"; in Transfer()
80 if (!leftover_bytes_.empty()) { in Transfer()
93 std::min(transfer_range.GetLength(), 4 - leftover_bytes_.size() % 4); in Transfer()
94 leftover_bytes_.insert(leftover_bytes_.end(), encoded_buffer, in Transfer()
97 leftover_bytes_.size() % 4) { in Transfer()
101 swap(leftover_and_stolen_bytes, leftover_bytes_); in Transfer()
162 leftover_bytes_.insert( in Transfer()
163 leftover_bytes_.end(), encoded_buffer + number_processed_bytes, in Transfer()
169 sstream2 << " " << leftover_bytes_.size() << " new bytes left over"; in Transfer()
183 if (leftover_bytes_.size() % 4) { in FinishTransfer()
/external/perfetto/src/trace_processor/
Dfuchsia_trace_tokenizer.cc94 if (leftover_bytes_.size() + size < 8) { in Parse()
97 leftover_bytes_.insert(leftover_bytes_.end(), data.get() + byte_offset, in Parse()
101 if (leftover_bytes_.size() > 0) { in Parse()
103 if (leftover_bytes_.size() < 8) { in Parse()
107 size_t needed_bytes = 8 - leftover_bytes_.size(); in Parse()
108 leftover_bytes_.insert(leftover_bytes_.end(), data.get() + byte_offset, in Parse()
115 *reinterpret_cast<const uint64_t*>(leftover_bytes_.data()); in Parse()
124 PERFETTO_DCHECK(leftover_bytes_.size() <= record_len_bytes); in Parse()
125 size_t missing_bytes = record_len_bytes - leftover_bytes_.size(); in Parse()
131 memcpy(&buf[0], leftover_bytes_.data(), leftover_bytes_.size()); in Parse()
[all …]
Dfuchsia_trace_tokenizer.h59 std::vector<uint8_t> leftover_bytes_; variable
/external/image_io/includes/image_io/extras/
Dbase64_decoder_data_destination.h52 std::vector<Byte> leftover_bytes_; variable