Home
last modified time | relevance | path

Searched refs:hashRanges (Results 1 – 5 of 5) sorted by relevance

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp725 EXPECT_EQ(0, filledRanges.hashRanges[0].begin); in TEST_F()
726 EXPECT_EQ(1, filledRanges.hashRanges[0].end); in TEST_F()
727 EXPECT_EQ(2, filledRanges.hashRanges[1].begin); in TEST_F()
728 EXPECT_EQ(3, filledRanges.hashRanges[1].end); in TEST_F()
748 ASSERT_EQ(size_t(2), ranges.hashRanges().size()); in TEST_F()
749 EXPECT_EQ(0, ranges.hashRanges()[0].begin); in TEST_F()
750 EXPECT_EQ(size_t(1), ranges.hashRanges()[0].size()); in TEST_F()
751 EXPECT_EQ(2, ranges.hashRanges()[1].begin); in TEST_F()
752 EXPECT_EQ(size_t(1), ranges.hashRanges()[1].size()); in TEST_F()
760 ASSERT_EQ(size_t(1), ranges2.hashRanges().size()); in TEST_F()
[all …]
/system/incremental_delivery/incfs/include/
Dincfs.h159 constexpr Span<BlockRange> hashRanges() const { in hashRanges() function
160 return {(BlockRange*)rawFilledRanges_.hashRanges, (size_t)rawFilledRanges_.hashRangesCount}; in hashRanges()
163 constexpr size_t totalSize() const { return dataRanges().size() + hashRanges().size(); } in totalSize()
Dincfs_inline.h309 auto totalRanges = resumeFrom.dataRanges().size() + resumeFrom.hashRanges().size(); in getFilledRanges()
336 rawRanges.hashRanges = buffer.data() + rawRanges.dataRangesCount; in getFilledRanges()
Dincfs_ndk.h152 IncFsBlockRange* hashRanges; member
/system/incremental_delivery/incfs/
Dincfs.cpp1527 filledRanges->hashRanges = hashStartPtr; in IncFs_GetFilledRangesStartingFrom()
1569 if (ranges.hashRanges[0].begin != 0) { in isFullyLoadedSlow()
1573 ranges.endIndex - (ranges.hashRanges[0].end - ranges.hashRanges[0].begin); in isFullyLoadedSlow()