Home
last modified time | relevance | path

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

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp687 EXPECT_EQ(0, filledRanges.hashRanges[0].begin); in TEST_F()
688 EXPECT_EQ(1, filledRanges.hashRanges[0].end); in TEST_F()
689 EXPECT_EQ(2, filledRanges.hashRanges[1].begin); in TEST_F()
690 EXPECT_EQ(3, filledRanges.hashRanges[1].end); in TEST_F()
710 ASSERT_EQ(size_t(2), ranges.hashRanges().size()); in TEST_F()
711 EXPECT_EQ(0, ranges.hashRanges()[0].begin); in TEST_F()
712 EXPECT_EQ(size_t(1), ranges.hashRanges()[0].size()); in TEST_F()
713 EXPECT_EQ(2, ranges.hashRanges()[1].begin); in TEST_F()
714 EXPECT_EQ(size_t(1), ranges.hashRanges()[1].size()); in TEST_F()
722 ASSERT_EQ(size_t(1), ranges2.hashRanges().size()); in TEST_F()
[all …]
/system/incremental_delivery/incfs/include/
Dincfs.h158 constexpr Span<BlockRange> hashRanges() const { in hashRanges() function
159 return {(BlockRange*)rawFilledRanges_.hashRanges, (size_t)rawFilledRanges_.hashRangesCount}; in hashRanges()
162 constexpr size_t totalSize() const { return dataRanges().size() + hashRanges().size(); } in totalSize()
Dincfs_inline.h311 auto totalRanges = resumeFrom.dataRanges().size() + resumeFrom.hashRanges().size(); in getFilledRanges()
336 rawRanges.hashRanges = buffer.data() + rawRanges.dataRangesCount; in getFilledRanges()
Dincfs_ndk.h150 IncFsBlockRange* hashRanges; member
/system/incremental_delivery/incfs/
Dincfs.cpp1475 filledRanges->hashRanges = hashStartPtr; in IncFs_GetFilledRangesStartingFrom()
1517 if (ranges.hashRanges[0].begin != 0) { in isFullyLoadedSlow()
1521 ranges.endIndex - (ranges.hashRanges[0].end - ranges.hashRanges[0].begin); in isFullyLoadedSlow()