Home
last modified time | relevance | path

Searched refs:ReadFileFullyFromOffset (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Drandom_access_file_test.cpp79 long long ret = hapTestFile1.ReadFileFullyFromOffset(nullptr, 0, 0);
82 ret = hapTestFile1.ReadFileFullyFromOffset(nullBuffer, 0);
94 ret = nullTestFile.ReadFileFullyFromOffset(buffer.get(), 0, TEST_RANDOMREAD_LENGTH);
107 ret = hapTestFile2.ReadFileFullyFromOffset(buffer.get(), 0, TEST_RANDOMREAD_LENGTH);
110 ret = hapTestFile2.ReadFileFullyFromOffset(hapBuffer, 0);
116 ret = hapTestFile2.ReadFileFullyFromOffset(hapBuffer, -1);
118 ret = hapTestFile2.ReadFileFullyFromOffset(buffer.get(), -1, TEST_RANDOMREAD_LENGTH);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/common/
H A Drandom_access_file.h39 DLL_EXPORT long long ReadFileFullyFromOffset(HapByteBuffer& buffer, long long offset);
40 DLL_EXPORT long long ReadFileFullyFromOffset(char buf[], long long offset, int32_t bufCapacity);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/util/
H A Dhap_signing_block_utils.cpp115 long long ret = hapFile.ReadFileFullyFromOffset(searchEocdBuffer, searchRangeOffset); in FindEocdInHap()
228 …long long ret = hapFile.ReadFileFullyFromOffset(hapBlockHead, centralDirOffset - hapBlockHead.GetC… in FindHapSigningBlock()
326 long long ret = hapFile.ReadFileFullyFromOffset(hapBlockHead, readHeadOffset); in FindHapSubSigningBlock()
358 ret = hapFile.ReadFileFullyFromOffset(signBuffer, dataOffset); in FindHapSubSigningBlock()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Drandom_access_file.cpp133 long long RandomAccessFile::ReadFileFullyFromOffset(char buf[], long long offset, int32_t bufCapaci… in ReadFileFullyFromOffset() function in OHOS::Security::Verify::RandomAccessFile
157 long long RandomAccessFile::ReadFileFullyFromOffset(HapByteBuffer& buffer, long long offset) in ReadFileFullyFromOffset() function in OHOS::Security::Verify::RandomAccessFile
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/include/
H A Dapp_centraldirectory.h90 int32_t ReadFileFullyFromOffset(const HapBuf *buffer, int32_t offset, const FileRead *file);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/init/
H A Dhap_crl_manager.cpp126 long long readLen = crlRandomAccess.ReadFileFullyFromOffset(crlsBuffer, 0); in ReadCrls()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dapp_centraldirectory.c168 int32_t ReadFileFullyFromOffset(const HapBuf *buffer, int32_t offset, const FileRead *file) in ReadFileFullyFromOffset() function
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/ticket/
H A Dticket_verify.cpp230 long long ret = ticketFile.ReadFileFullyFromOffset(ticketBlock, 0); in VerifyTicket()