/external/bsdiff/ |
endsley_patch_writer.cc | 95 extra_data_.insert(extra_data_.end(), data, data + size); 102 if (control_.empty() && diff_data_.empty() && extra_data_.empty() && 119 (diff_data_.size() + extra_data_.size()) / 2 <= pending_control_data_) { 135 if (!diff_data_.empty() || !extra_data_.empty()) { 191 std::min(extra_data_.size() - used_extra, pending_extra_); 192 EmitBuffer(extra_data_.data() + used_extra, extra_size); 201 extra_data_.erase(extra_data_.begin(), extra_data_.begin() + used_extra) [all...] |
patch_reader_unittest.cc | 40 EncodeInt64(extra_data_[i].size(), buf + 8); 47 reinterpret_cast<const uint8_t*>(extra_data_[i].data()), 48 extra_data_[i].size())); 94 EXPECT_EQ(extra_data_[i].size(), control_entry.extra_size); 100 EXPECT_TRUE(patch_reader.ReadExtraStream(buffer, extra_data_[i].size())); 102 memcmp(buffer, extra_data_[i].data(), extra_data_[i].size())); 133 std::vector<std::string> extra_data_{"HelloWorld!", "BZ2PatchReaderSmoke",
|
endsley_patch_writer.h | 81 std::vector<uint8_t> extra_data_; member in class:bsdiff::EndsleyPatchWriter
|
/device/google/contexthub/util/nanotool/ |
nanomessage.cpp | 207 buffer.insert(buffer.end(), extra_data_.begin(), extra_data_.end()); 213 extra_data_ = data;
|
nanomessage.h | 194 std::vector<uint8_t> extra_data_; member in class:android::ConfigureSensorRequest
|