Searched refs:Overlaps (Results 1 – 8 of 8) sorted by relevance
/bootable/recovery/tests/unit/ |
D | rangeset_test.cpp | 113 TEST(RangeSetTest, Overlaps) { in TEST() argument 116 ASSERT_TRUE(r1.Overlaps(r2)); in TEST() 117 ASSERT_TRUE(r2.Overlaps(r1)); in TEST() 120 ASSERT_FALSE(r1.Overlaps(r2)); in TEST() 121 ASSERT_FALSE(r2.Overlaps(r1)); in TEST() 123 ASSERT_FALSE(RangeSet::Parse("2,3,5").Overlaps(RangeSet::Parse("2,5,7"))); in TEST() 124 ASSERT_FALSE(RangeSet::Parse("2,5,7").Overlaps(RangeSet::Parse("2,3,5"))); in TEST() 307 ASSERT_TRUE(rs.Overlaps(4096 * 2 - 1, 10)); in TEST() 308 ASSERT_FALSE(rs.Overlaps(4096 * 10, 4096 * 5)); in TEST()
|
D | commands_test.cpp | 388 TEST(SourceInfoTest, Overlaps) { in TEST() argument 391 .Overlaps(TargetInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST() 396 .Overlaps(TargetInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST() 401 .Overlaps(TargetInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST() 406 ASSERT_FALSE(SourceInfo().Overlaps(TargetInfo())); in TEST() 408 ASSERT_FALSE(SourceInfo().Overlaps( in TEST() 413 .Overlaps(TargetInfo())); in TEST() 422 .Overlaps(TargetInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST() 430 .Overlaps(TargetInfo("1d74d1a60332fd38cf9405f1bae67917888da6cb", in TEST()
|
/bootable/recovery/otautil/include/otautil/ |
D | rangeset.h | 51 bool Overlaps(const RangeSet& other) const; 162 using RangeSet::Overlaps; 164 bool Overlaps(size_t start, size_t len) const;
|
/bootable/recovery/otautil/ |
D | rangeset.cpp | 175 bool RangeSet::Overlaps(const RangeSet& other) const { in Overlaps() function in RangeSet 281 bool SortedRangeSet::Overlaps(size_t start, size_t len) const { in Overlaps() function in SortedRangeSet 283 return Overlaps(rs); in Overlaps()
|
/bootable/recovery/updater/ |
D | commands.cpp | 312 bool SourceInfo::Overlaps(const TargetInfo& target) const { in Overlaps() function in SourceInfo 313 return ranges_.Overlaps(target.ranges()); in Overlaps()
|
D | blockimg.cpp | 1014 *overlap = src.Overlaps(tgt); in LoadSourceBlocks()
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 227 if (!used_ranges.Overlaps(*start, *length)) { in RemoveUsedBlocks() 237 if (AlignHead(start, length) && !used_ranges.Overlaps(*start, *length)) { in RemoveUsedBlocks() 240 if (AlignTail(start, length) && !used_ranges.Overlaps(*start, *length)) { in RemoveUsedBlocks() 1090 CHECK(!used_src_ranges.Overlaps(split_src_ranges[i])) in ValidateSplitImages()
|
/bootable/recovery/updater/include/private/ |
D | commands.h | 128 bool Overlaps(const TargetInfo& target) const;
|