Searched refs:ReadFileFullyFromOffset (Results 1 - 8 of 8) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
H A D | random_access_file_test.cpp | 61 * @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 D | random_access_file.h | 38 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 D | random_access_file.cpp | 106 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 D | app_centraldirectory.h | 90 int32_t ReadFileFullyFromOffset(const HapBuf *buffer, int32_t offset, const FileRead *file);
|
/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
H A D | hap_signing_block_utils.cpp | 115 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 D | hap_crl_manager.cpp | 126 long long readLen = crlRandomAccess.ReadFileFullyFromOffset(crlsBuffer, 0);
in ReadCrls()
|
/base/security/appverify/interfaces/innerkits/appverify/src/ticket/ |
H A D | ticket_verify.cpp | 230 long long ret = ticketFile.ReadFileFullyFromOffset(ticketBlock, 0); in VerifyTicket()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
H A D | app_centraldirectory.c | 168 int32_t ReadFileFullyFromOffset(const HapBuf *buffer, int32_t offset, const FileRead *file) in ReadFileFullyFromOffset() function
|
Completed in 4 milliseconds