Home
last modified time | relevance | path

Searched refs:PushBack (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/tests/unit/
Drangeset_test.cpp86 TEST(RangeSetTest, PushBack) { in TEST() argument
90 ASSERT_TRUE(rs.PushBack({ 3, 5 })); in TEST()
93 ASSERT_TRUE(rs.PushBack({ 5, 15 })); in TEST()
102 ASSERT_FALSE(rs.PushBack({ 5, 3 })); in TEST()
104 ASSERT_FALSE(rs.PushBack({ 15, 15 })); in TEST()
107 ASSERT_TRUE(rs.PushBack({ 5, 15 })); in TEST()
108 ASSERT_FALSE(rs.PushBack({ 5, std::numeric_limits<size_t>::max() - 2 })); in TEST()
/bootable/recovery/otautil/
Drangeset.cpp40 if (!PushBack(range)) { in RangeSet()
85 bool RangeSet::PushBack(Range range) { in PushBack() function in RangeSet
130 buffer.PushBack({ range.first, range.first + needed }); in Split()
134 buffer.PushBack(range); in Split()
Dsysutil.cpp93 ranges.PushBack({ start, end }); in ParseBlockMapFile()
/bootable/recovery/otautil/include/otautil/
Drangeset.h38 bool PushBack(Range range);