Searched refs:GetSubRanges (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/tests/unit/ |
D | rangeset_test.cpp | 254 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/ |
D | rangeset.h | 57 std::optional<RangeSet> GetSubRanges(size_t start_index, size_t num_of_blocks) const;
|
/bootable/recovery/fuse_sideload/ |
D | fuse_provider.cpp | 103 ranges_.GetSubRanges(offset / source_block_size_, fetch_size / source_block_size_); in ReadBlockAlignedData()
|
/bootable/recovery/otautil/ |
D | rangeset.cpp | 187 std::optional<RangeSet> RangeSet::GetSubRanges(size_t start_index, size_t num_of_blocks) const { in GetSubRanges() function in RangeSet
|