Searched refs:hashRanges (Results 1 – 5 of 5) sorted by relevance
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 716 EXPECT_EQ(0, filledRanges.hashRanges[0].begin); in TEST_F() 717 EXPECT_EQ(1, filledRanges.hashRanges[0].end); in TEST_F() 718 EXPECT_EQ(2, filledRanges.hashRanges[1].begin); in TEST_F() 719 EXPECT_EQ(3, filledRanges.hashRanges[1].end); in TEST_F() 739 ASSERT_EQ(size_t(2), ranges.hashRanges().size()); in TEST_F() 740 EXPECT_EQ(0, ranges.hashRanges()[0].begin); in TEST_F() 741 EXPECT_EQ(size_t(1), ranges.hashRanges()[0].size()); in TEST_F() 742 EXPECT_EQ(2, ranges.hashRanges()[1].begin); in TEST_F() 743 EXPECT_EQ(size_t(1), ranges.hashRanges()[1].size()); in TEST_F() 751 ASSERT_EQ(size_t(1), ranges2.hashRanges().size()); in TEST_F() [all …]
|
/system/incremental_delivery/incfs/include/ |
D | incfs.h | 152 constexpr Span<BlockRange> hashRanges() const { in hashRanges() function 153 return {(BlockRange*)rawFilledRanges_.hashRanges, (size_t)rawFilledRanges_.hashRangesCount}; in hashRanges() 156 constexpr size_t totalSize() const { return dataRanges().size() + hashRanges().size(); } in totalSize()
|
D | incfs_inline.h | 290 auto totalRanges = resumeFrom.dataRanges().size() + resumeFrom.hashRanges().size(); in getFilledRanges() 315 rawRanges.hashRanges = buffer.data() + rawRanges.dataRangesCount; in getFilledRanges()
|
D | incfs_ndk.h | 129 IncFsBlockRange* hashRanges; member
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 1297 filledRanges->hashRanges = hashStartPtr; in IncFs_GetFilledRangesStartingFrom() 1329 if (ranges.hashRanges[0].begin != 0) { in IncFs_IsFullyLoaded() 1333 ranges.endIndex - (ranges.hashRanges[0].end - ranges.hashRanges[0].begin); in IncFs_IsFullyLoaded()
|