/external/bsdiff/ |
D | diff_encoder_unittest.cc | 57 EXPECT_TRUE(diff_encoder_->AddControlEntry(ControlEntry(0, 5, 0))); in TEST_F() 58 EXPECT_TRUE(diff_encoder_->AddControlEntry( in TEST_F() 72 diff_encoder_->AddControlEntry(ControlEntry(sizeof(kHelloWorld), 0, 0))); in TEST_F() 83 EXPECT_TRUE(diff_encoder_->AddControlEntry(ControlEntry(0, 0, -5))); in TEST_F() 84 EXPECT_TRUE(diff_encoder_->AddControlEntry(ControlEntry(0, 0, 2))); in TEST_F() 85 EXPECT_FALSE(diff_encoder_->AddControlEntry(ControlEntry(1, 0, 0))); in TEST_F() 92 diff_encoder_->AddControlEntry(ControlEntry(0, 0, sizeof(kHelloWorld)))); in TEST_F() 93 EXPECT_FALSE(diff_encoder_->AddControlEntry(ControlEntry(1, 0, 0))); in TEST_F() 102 EXPECT_TRUE(diff_encoder_->AddControlEntry( in TEST_F() 105 diff_encoder_->AddControlEntry(ControlEntry(sizeof(kHelloWorld), 0, 0))); in TEST_F() [all …]
|
D | split_patch_writer_unittest.cc | 61 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(15, 5, 0))); in TEST_F() 74 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(5, 15, -5))); in TEST_F() 87 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(5, 1, -5))); in TEST_F() 88 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(4, 0, -4))); in TEST_F() 90 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(6, 0, -1))); in TEST_F() 92 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(1, 18, 2))); in TEST_F() 94 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(1, 0, 1))); in TEST_F() 95 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(4, 0, -5))); in TEST_F() 142 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(15, 10, 0))); in TEST_F() 143 EXPECT_TRUE(patch_writer_->AddControlEntry(ControlEntry(15, 0, 0))); in TEST_F()
|
D | endsley_patch_writer_unittest.cc | 60 EXPECT_TRUE(compressed_writer.AddControlEntry(ControlEntry(5, 5, -2))); in TEST_F() 88 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(2, 3, -2))); in TEST_F() 95 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(0, 5, 1024))); in TEST_F() 135 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(2, 3, -2))); in TEST_F() 136 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(2, 1, 1024))); in TEST_F() 137 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(1, 1, 1024))); in TEST_F() 166 EXPECT_TRUE(patch_writer_.AddControlEntry(entry)); in TEST_F() 176 EXPECT_TRUE(patch_writer_.AddControlEntry(entry)); in TEST_F()
|
D | patch_writer_unittest.cc | 73 EXPECT_TRUE(patch_writer_.AddControlEntry(ControlEntry(0, 5, 0))); in TEST_F() 74 EXPECT_TRUE(patch_writer_.AddControlEntry( in TEST_F() 96 patch_writer_.AddControlEntry(ControlEntry(sizeof(kHelloWorld), 0, 0))); in TEST_F()
|
D | split_patch_writer.cc | 43 bool SplitPatchWriter::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::SplitPatchWriter 89 if (!patches_[current_patch_]->AddControlEntry( in AddControlEntry() 149 return patches_[current_patch_]->AddControlEntry(entry); in AddControlEntryToCurrentPatch()
|
D | diff_encoder.cc | 26 bool DiffEncoder::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::DiffEncoder 54 if (!patch_->AddControlEntry(entry)) in AddControlEntry()
|
D | diff_encoder.h | 43 bool AddControlEntry(const ControlEntry& entry);
|
D | endsley_patch_writer.h | 54 bool AddControlEntry(const ControlEntry& entry) override;
|
D | fake_patch_writer.h | 30 bool AddControlEntry(const ControlEntry& entry) override { in AddControlEntry() function
|
D | patch_writer.h | 36 bool AddControlEntry(const ControlEntry& entry) override;
|
D | split_patch_writer.h | 39 bool AddControlEntry(const ControlEntry& entry) override;
|
D | endsley_patch_writer.cc | 99 bool EndsleyPatchWriter::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::EndsleyPatchWriter
|
D | patch_writer.cc | 121 bool BsdiffPatchWriter::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::BsdiffPatchWriter
|
D | bsdiff.cc | 172 if (!diff_encoder.AddControlEntry( in bsdiff()
|
/external/bsdiff/include/bsdiff/ |
D | patch_writer_interface.h | 40 virtual bool AddControlEntry(const ControlEntry& entry) = 0;
|