Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Drandom_access_file_test.cpp61 * @tc.name: Test ReadFileFullyFromOffset function
68 * @tc.steps: step1. use null buffer to ReadFileFullyFromOffset . in HWTEST_F()
79 long long ret = hapTestFile1.ReadFileFullyFromOffset(nullptr, 0, 0); in HWTEST_F()
82 ret = hapTestFile1.ReadFileFullyFromOffset(nullBuffer, 0); in HWTEST_F()
94 ret = nullTestFile.ReadFileFullyFromOffset(buffer.get(), 0, TEST_RANDOMREAD_LENGTH); in HWTEST_F()
107 ret = hapTestFile2.ReadFileFullyFromOffset(buffer.get(), 0, TEST_RANDOMREAD_LENGTH); in HWTEST_F()
110 ret = hapTestFile2.ReadFileFullyFromOffset(hapBuffer, 0); in HWTEST_F()
116 ret = hapTestFile2.ReadFileFullyFromOffset(hapBuffer, -1); in HWTEST_F()
118 ret = hapTestFile2.ReadFileFullyFromOffset(buffer.get(), -1, TEST_RANDOMREAD_LENGTH); in HWTEST_F()
/base/security/appverify/interfaces/innerkits/appverify/include/common/
H A Drandom_access_file.h38 DLL_EXPORT long long ReadFileFullyFromOffset(HapByteBuffer& buffer, long long offset);
39 DLL_EXPORT long long ReadFileFullyFromOffset(char buf[], long long offset, int32_t bufCapacity);
/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Drandom_access_file.cpp106 long long RandomAccessFile::ReadFileFullyFromOffset(char buf[], long long offset, int32_t bufCapacity) in ReadFileFullyFromOffset() function in OHOS::Security::Verify::RandomAccessFile
127 long long RandomAccessFile::ReadFileFullyFromOffset(HapByteBuffer& buffer, long long offset) in ReadFileFullyFromOffset() function in OHOS::Security::Verify::RandomAccessFile
/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);
/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.GetCapacity()); in FindHapSigningBlock()
326 long long ret = hapFile.ReadFileFullyFromOffset(hapBlockHead, readHeadOffset); in FindHapSubSigningBlock()
358 ret = hapFile.ReadFileFullyFromOffset(signBuffer, dataOffset); in FindHapSubSigningBlock()
/base/security/appverify/interfaces/innerkits/appverify/src/init/
H A Dhap_crl_manager.cpp126 long long readLen = crlRandomAccess.ReadFileFullyFromOffset(crlsBuffer, 0); in ReadCrls()
/base/security/appverify/interfaces/innerkits/appverify/src/ticket/
H A Dticket_verify.cpp230 long long ret = ticketFile.ReadFileFullyFromOffset(ticketBlock, 0); in VerifyTicket()
/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

Completed in 4 milliseconds