Home
last modified time | relevance | path

Searched refs:GetBlockNumber (Results 1 – 5 of 5) 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()
214 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/updater/
Dcommands.cpp365 size_t block_num = ranges_.GetBlockNumber(i); in DumpBuffer()
366 size_t buffer_index = location.GetBlockNumber(i); in DumpBuffer()
Dblockimg.cpp601 size_t block_num = src.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks()
602 size_t buffer_index = locs.GetBlockNumber(i); in PrintHashForCorruptedSourceBlocks()
621 size_t block_num = src.GetBlockNumber(i); in PrintHashForCorruptedStashedBlocks()
1569 uint64_t write_offset = static_cast<uint64_t>(hash_tree_ranges.GetBlockNumber(0)) * BLOCKSIZE; in PerformCommandComputeHashTree()
/bootable/recovery/otautil/
Drangeset.cpp159 size_t RangeSet::GetBlockNumber(size_t idx) const { in GetBlockNumber() function in RangeSet