Home
last modified time | relevance | path

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

/bootable/recovery/tests/unit/
Drangeset_test.cpp254 ASSERT_FALSE(range0.GetSubRanges(0, 21)); // too many blocks in TEST()
255 ASSERT_FALSE(range0.GetSubRanges(21, 1)); // start block OOB in TEST()
260 ASSERT_EQ(RangeSet{}, range0.GetSubRanges(1, 0)); // empty num_of_blocks in TEST()
265 ASSERT_EQ(RangeSet({ { 10, 11 } }), range0.GetSubRanges(0, 1)); in TEST()
268 ASSERT_EQ(range1, range1.GetSubRanges(0, 3)); in TEST()
269 ASSERT_EQ(RangeSet({ { 20, 21 } }), range1.GetSubRanges(1, 1)); in TEST()
272 ASSERT_EQ(RangeSet({ { 10, 11 }, { 20, 25 }, { 30, 31 } }), range2.GetSubRanges(9, 7)); in TEST()
/bootable/recovery/otautil/include/otautil/
Drangeset.h57 std::optional<RangeSet> GetSubRanges(size_t start_index, size_t num_of_blocks) const;
/bootable/recovery/fuse_sideload/
Dfuse_provider.cpp103 ranges_.GetSubRanges(offset / source_block_size_, fetch_size / source_block_size_); in ReadBlockAlignedData()
/bootable/recovery/otautil/
Drangeset.cpp187 std::optional<RangeSet> RangeSet::GetSubRanges(size_t start_index, size_t num_of_blocks) const { in GetSubRanges() function in RangeSet