Searched refs:extra_data_ (Results 1 – 3 of 3) sorted by relevance
/external/bsdiff/ |
D | endsley_patch_writer.cc | 95 extra_data_.insert(extra_data_.end(), data, data + size); in WriteExtraStream() 102 if (control_.empty() && diff_data_.empty() && extra_data_.empty() && in AddControlEntry() 119 (diff_data_.size() + extra_data_.size()) / 2 <= pending_control_data_) { in AddControlEntry() 135 if (!diff_data_.empty() || !extra_data_.empty()) { in Close() 191 std::min(extra_data_.size() - used_extra, pending_extra_); in Flush() 192 EmitBuffer(extra_data_.data() + used_extra, extra_size); in Flush() 201 extra_data_.erase(extra_data_.begin(), extra_data_.begin() + used_extra); in Flush()
|
D | patch_reader_unittest.cc | 40 EncodeInt64(extra_data_[i].size(), buf + 8); in CompressData() 47 reinterpret_cast<const uint8_t*>(extra_data_[i].data()), in CompressData() 48 extra_data_[i].size())); in CompressData() 94 EXPECT_EQ(extra_data_[i].size(), control_entry.extra_size); in VerifyPatch() 100 EXPECT_TRUE(patch_reader.ReadExtraStream(buffer, extra_data_[i].size())); in VerifyPatch() 102 memcmp(buffer, extra_data_[i].data(), extra_data_[i].size())); in VerifyPatch() 133 std::vector<std::string> extra_data_{"HelloWorld!", "BZ2PatchReaderSmoke", member in bsdiff::PatchReaderTest
|
D | endsley_patch_writer.h | 81 std::vector<uint8_t> extra_data_; variable
|