Home
last modified time | relevance | path

Searched refs:filledRanges (Results 1 – 3 of 3) sorted by relevance

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp486 IncFsFilledRanges filledRanges; in TEST_F() local
487 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), IncFsSpan{}, &filledRanges)); in TEST_F()
488 EXPECT_EQ(0, filledRanges.dataRangesCount); in TEST_F()
489 EXPECT_EQ(0, filledRanges.hashRangesCount); in TEST_F()
491 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
492 EXPECT_EQ(0, filledRanges.dataRangesCount); in TEST_F()
493 EXPECT_EQ(0, filledRanges.hashRangesCount); in TEST_F()
495 EXPECT_EQ(0, IncFs_GetFilledRangesStartingFrom(fd.get(), 0, bufferSpan, &filledRanges)); in TEST_F()
496 EXPECT_EQ(0, filledRanges.dataRangesCount); in TEST_F()
497 EXPECT_EQ(0, filledRanges.hashRangesCount); in TEST_F()
[all …]
/system/incremental_delivery/incfs/
Dincfs.cpp1197 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges) { in IncFs_GetFilledRanges() argument
1198 return IncFs_GetFilledRangesStartingFrom(fd, 0, outBuffer, filledRanges); in IncFs_GetFilledRanges()
1202 IncFsFilledRanges* filledRanges) { in IncFs_GetFilledRangesStartingFrom() argument
1212 if (!filledRanges) { in IncFs_GetFilledRangesStartingFrom()
1219 *filledRanges = {}; in IncFs_GetFilledRangesStartingFrom()
1255 filledRanges->endIndex = args.index_out; in IncFs_GetFilledRangesStartingFrom()
1275 filledRanges->endIndex = lastDataPtr->end = dataBlocks; in IncFs_GetFilledRangesStartingFrom()
1279 filledRanges->endIndex = (outPtr - 1)->end; in IncFs_GetFilledRangesStartingFrom()
1295 filledRanges->dataRanges = outStart; in IncFs_GetFilledRangesStartingFrom()
1296 filledRanges->dataRangesCount = hashStartPtr - outStart; in IncFs_GetFilledRangesStartingFrom()
[all …]
/system/incremental_delivery/incfs/include/
Dincfs_ndk.h208 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges);
210 IncFsFilledRanges* filledRanges);