Searched refs:mmapSize (Results 1 – 5 of 5) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify/src/common/ |
D | random_access_file.cpp | 96 mmapInfo.mmapSize = bufCapacity + mmapInfo.readMoreLen; in DoMMap() 97 mmapInfo.mapAddr = reinterpret_cast<char*>(mmap(nullptr, mmapInfo.mmapSize, PROT_READ, in DoMMap() 119 mmapInfo.mmapSize - mmapInfo.readMoreLen) != EOK) { in ReadFileFullyFromOffset() 120 munmap(mmapInfo.mapAddr, mmapInfo.mmapSize); in ReadFileFullyFromOffset() 123 munmap(mmapInfo.mapAddr, mmapInfo.mmapSize); in ReadFileFullyFromOffset() 141 munmap(mmapInfo.mapAddr, mmapInfo.mmapSize); in ReadFileFullyFromOffset() 157 munmap(mmapInfo.mapAddr, mmapInfo.mmapSize); in ReadFileFromOffsetAndDigestUpdate()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_file.c | 84 mmapInfo->mmapSize = bufCapacity + mmapInfo->readMoreLen; in HapMMap() 85 mmapInfo->mapAddr = (char*)(mmap(NULL, mmapInfo->mmapSize, PROT_READ, in HapMMap() 94 void HapMUnMap(char *mapAddr, int32_t mmapSize) in HapMUnMap() argument 96 if (mapAddr == NULL || mmapSize <= 0) { in HapMUnMap() 99 munmap(mapAddr, mmapSize); in HapMUnMap()
|
D | app_centraldirectory.c | 112 HapMUnMap(mmapInfo.mapAddr, mmapInfo.mmapSize); in GetEocd() 116 HapMUnMap(mmapInfo.mapAddr, mmapInfo.mmapSize); in GetEocd() 131 HapMUnMap(mmapInfo.mapAddr, mmapInfo.mmapSize); in GetEocd() 135 HapMUnMap(mmapInfo.mapAddr, mmapInfo.mmapSize); in GetEocd() 142 HapMUnMap(mmapInfo.mapAddr, mmapInfo.mmapSize); in GetEocd()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_file.h | 41 int32_t mmapSize; member 53 void HapMUnMap(char *mapAddr, int32_t mmapSize);
|
/base/security/appverify/interfaces/innerkits/appverify/include/common/ |
D | random_access_file.h | 28 int32_t mmapSize; member
|