Home
last modified time | relevance | path

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

/system/incremental_delivery/incfs/include/
Dincfs_ndk.h58 } IncFsSpan; typedef
111 IncFsSpan metadata;
112 IncFsSpan signature;
152 IncFsFileId IncFs_FileIdFromMetadata(IncFsSpan metadata);
208 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges);
209 IncFsErrorCode IncFs_GetFilledRangesStartingFrom(int fd, int startBlockIndex, IncFsSpan outBuffer,
Dincfs_inline.h299 auto outBuffer = IncFsSpan{(const char*)(buffer.data() + rawRanges.dataRangesCount + in getFilledRanges()
/system/incremental_delivery/libdataloader/include/
Ddataloader_ndk.h58 IncFsSpan metadata;
/system/incremental_delivery/incfs/
Dincfs.cpp391 IncFsFileId IncFs_FileIdFromMetadata(IncFsSpan metadata) { in IncFs_FileIdFromMetadata()
564 std::optional<T> read(IncFsSpan& data) { in read()
575 static IncFsErrorCode validateSignatureFormat(IncFsSpan signature) { in validateSignatureFormat()
1197 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges) { in IncFs_GetFilledRanges()
1201 IncFsErrorCode IncFs_GetFilledRangesStartingFrom(int fd, int startBlockIndex, IncFsSpan outBuffer, in IncFs_GetFilledRangesStartingFrom()
1306 auto res = IncFs_GetFilledRanges(fd, IncFsSpan{.data = buffer, .size = std::size(buffer)}, in IncFs_IsFullyLoaded()
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp99 static IncFsSpan metadata(std::string_view sv) { in metadata()
481 const auto bufferSpan = IncFsSpan{.data = buffer, .size = std::size(buffer)}; in TEST_F()
487 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), IncFsSpan{}, &filledRanges)); in TEST_F()
671 IncFsSpan bufferSpan = {.data = buffer, .size = sizeof(IncFsBlockRange)}; in TEST_F()
708 IncFsSpan bufferSpan = {.data = buffer, .size = sizeof(buffer)}; in TEST_F()