Searched refs:hashRanges (Results 1 – 5 of 5) sorted by relevance
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 725 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/ |
D | incfs.h | 159 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()
|
D | incfs_inline.h | 309 auto totalRanges = resumeFrom.dataRanges().size() + resumeFrom.hashRanges().size(); in getFilledRanges() 336 rawRanges.hashRanges = buffer.data() + rawRanges.dataRangesCount; in getFilledRanges()
|
D | incfs_ndk.h | 152 IncFsBlockRange* hashRanges; member
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 1527 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()
|