Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/src/common/
Drandom_access_file.cpp96 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/
Dapp_file.c84 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()
Dapp_centraldirectory.c112 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/
Dapp_file.h41 int32_t mmapSize; member
53 void HapMUnMap(char *mapAddr, int32_t mmapSize);
/base/security/appverify/interfaces/innerkits/appverify/include/common/
Drandom_access_file.h28 int32_t mmapSize; member