Searched refs:pMap (Results 1 – 3 of 3) sorted by relevance
83 int sysLoadFileInShmem(int fd, MemMapping* pMap) in sysLoadFileInShmem() argument89 assert(pMap != NULL); in sysLoadFileInShmem()101 sysReleaseShmem(pMap); in sysLoadFileInShmem()105 pMap->baseAddr = pMap->addr = memPtr; in sysLoadFileInShmem()106 pMap->baseLength = pMap->length = length; in sysLoadFileInShmem()118 int sysMapFileInShmem(int fd, MemMapping* pMap) in sysMapFileInShmem() argument124 assert(pMap != NULL); in sysMapFileInShmem()136 pMap->baseAddr = pMap->addr = memPtr; in sysMapFileInShmem()137 pMap->baseLength = pMap->length = length; in sysMapFileInShmem()150 MemMapping* pMap) in sysMapFileSegmentInShmem() argument[all …]
38 int sysLoadFileInShmem(int fd, MemMapping* pMap);46 int sysMapFileInShmem(int fd, MemMapping* pMap);52 MemMapping* pMap);59 void sysReleaseShmem(MemMapping* pMap);
187 static bool parseZipArchive(ZipArchive* pArchive, const MemMapping* pMap) in parseZipArchive() argument199 val = get4LE(pMap->addr); in parseZipArchive()212 ptr = pMap->addr + pMap->length - ENDHDR; in parseZipArchive()214 while (ptr >= (const unsigned char*) pMap->addr) { in parseZipArchive()219 if (ptr < (const unsigned char*) pMap->addr) { in parseZipArchive()233 if (numEntries == 0 || cdOffset >= pMap->length) { in parseZipArchive()235 numEntries, cdOffset, pMap->length); in parseZipArchive()248 ptr = pMap->addr + cdOffset; in parseZipArchive()255 if (ptr + CENHDR > (const unsigned char*)pMap->addr + pMap->length) { in parseZipArchive()269 if (fileName + fileNameLen > (const char*)pMap->addr + pMap->length) { in parseZipArchive()[all …]