Home
last modified time | relevance | path

Searched refs:AddControlEntry (Results 1 – 15 of 15) sorted by relevance

/external/bsdiff/
Ddiff_encoder_unittest.cc57 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 …]
Dsplit_patch_writer_unittest.cc61 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()
Dendsley_patch_writer_unittest.cc60 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()
Dpatch_writer_unittest.cc73 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()
Dsplit_patch_writer.cc43 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()
Ddiff_encoder.cc26 bool DiffEncoder::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::DiffEncoder
54 if (!patch_->AddControlEntry(entry)) in AddControlEntry()
Ddiff_encoder.h43 bool AddControlEntry(const ControlEntry& entry);
Dendsley_patch_writer.h54 bool AddControlEntry(const ControlEntry& entry) override;
Dfake_patch_writer.h30 bool AddControlEntry(const ControlEntry& entry) override { in AddControlEntry() function
Dpatch_writer.h36 bool AddControlEntry(const ControlEntry& entry) override;
Dsplit_patch_writer.h39 bool AddControlEntry(const ControlEntry& entry) override;
Dendsley_patch_writer.cc99 bool EndsleyPatchWriter::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::EndsleyPatchWriter
Dpatch_writer.cc121 bool BsdiffPatchWriter::AddControlEntry(const ControlEntry& entry) { in AddControlEntry() function in bsdiff::BsdiffPatchWriter
Dbsdiff.cc172 if (!diff_encoder.AddControlEntry( in bsdiff()
/external/bsdiff/include/bsdiff/
Dpatch_writer_interface.h40 virtual bool AddControlEntry(const ControlEntry& entry) = 0;