Searched refs:IsOverlapping (Results 1 – 3 of 3) sorted by relevance
/external/bsdiff/ |
D | bspatch_unittest.cc | 25 TEST_F(BspatchTest, IsOverlapping) { in TEST_F() argument 28 EXPECT_FALSE(IsOverlapping(old_filename, "does-not-exist", {}, {})); in TEST_F() 29 EXPECT_FALSE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F() 32 EXPECT_TRUE(IsOverlapping(old_filename, new_filename, {}, {})); in TEST_F() 33 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {}, {})); in TEST_F() 34 EXPECT_FALSE(IsOverlapping(old_filename, old_filename, {{0, 1}}, {{1, 1}})); in TEST_F() 35 EXPECT_FALSE(IsOverlapping(old_filename, old_filename, {{2, 1}}, {{1, 1}})); in TEST_F() 36 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {{0, 1}}, {{0, 1}})); in TEST_F() 37 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {{0, 4}}, {{2, 1}})); in TEST_F() 38 EXPECT_TRUE(IsOverlapping(old_filename, old_filename, {{1, 1}}, {{0, 2}})); in TEST_F() [all …]
|
D | bspatch.h | 25 bool IsOverlapping(const char* old_filename,
|
D | bspatch.cc | 122 bool IsOverlapping(const char* old_filename, in IsOverlapping() function 251 if (IsOverlapping(old_filename, new_filename, parsed_old_extents, in bspatch()
|