Home
last modified time | relevance | path

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

/system/incremental_delivery/incfs/include/
Dincfs_ndk.h62 } IncFsSpan; typedef
118 IncFsSpan metadata;
119 IncFsSpan signature;
208 IncFsFileId IncFs_FileIdFromMetadata(IncFsSpan metadata);
302 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges);
303 IncFsErrorCode IncFs_GetFilledRangesStartingFrom(int fd, int startBlockIndex, IncFsSpan outBuffer,
Dincfs_inline.h320 auto outBuffer = IncFsSpan{(const char*)(buffer.data() + rawRanges.dataRangesCount + in getFilledRanges()
/system/incremental_delivery/libdataloader/include/
Ddataloader_ndk.h60 IncFsSpan metadata;
/system/incremental_delivery/incfs/
Dincfs.cpp475 IncFsFileId IncFs_FileIdFromMetadata(IncFsSpan metadata) { in IncFs_FileIdFromMetadata()
662 std::optional<T> read(IncFsSpan& data) { in read()
673 static IncFsErrorCode validateSignatureFormat(IncFsSpan signature) { in validateSignatureFormat()
1375 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges) { in IncFs_GetFilledRanges()
1379 IncFsErrorCode IncFs_GetFilledRangesStartingFrom(int fd, int startBlockIndex, IncFsSpan outBuffer, in IncFs_GetFilledRangesStartingFrom()
1494 auto res = IncFs_GetFilledRanges(fd, IncFsSpan{.data = buffer, .size = std::size(buffer)}, in isFullyLoadedSlow()
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp44 static IncFsSpan metadata(std::string_view sv) { in metadata()
447 const auto bufferSpan = IncFsSpan{.data = buffer, .size = std::size(buffer)}; in TEST_F()
453 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), IncFsSpan{}, &filledRanges)); in TEST_F()
642 IncFsSpan bufferSpan = {.data = buffer, .size = sizeof(IncFsBlockRange)}; in TEST_F()
679 IncFsSpan bufferSpan = {.data = buffer, .size = sizeof(buffer)}; in TEST_F()