Home
last modified time | relevance | path

Searched refs:GetBlockNumber (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/tests/unit/
Drangeset_test.cpp206 TEST(RangeSetTest, GetBlockNumber) { in TEST() argument
208 ASSERT_EQ(static_cast<size_t>(1), rs.GetBlockNumber(0)); in TEST()
209 ASSERT_EQ(static_cast<size_t>(6), rs.GetBlockNumber(5)); in TEST()
210 ASSERT_EQ(static_cast<size_t>(9), rs.GetBlockNumber(8)); in TEST()
213 ASSERT_EXIT(rs.GetBlockNumber(9), ::testing::KilledBySignal(SIGABRT), ""); in TEST()
/bootable/recovery/otautil/include/otautil/
Drangeset.h46 size_t GetBlockNumber(size_t idx) const;
/bootable/recovery/otautil/
Drangeset.cpp159 size_t RangeSet::GetBlockNumber(size_t idx) const { in GetBlockNumber() function in RangeSet