Home | History | Annotate | Download | only in minzip

Lines Matching refs:pMap

187 static bool parseZipArchive(ZipArchive* pArchive, const MemMapping* pMap)
199 val = get4LE(pMap->addr);
212 ptr = pMap->addr + pMap->length - ENDHDR;
214 while (ptr >= (const unsigned char*) pMap->addr) {
219 if (ptr < (const unsigned char*) pMap->addr) {
233 if (numEntries == 0 || cdOffset >= pMap->length) {
235 numEntries, cdOffset, pMap->length);
248 ptr = pMap->addr + cdOffset;
255 if (ptr + CENHDR > (const unsigned char*)pMap->addr + pMap->length) {
269 if (fileName + fileNameLen > (const char*)pMap->addr + pMap->length) {
355 // Perform pMap->addr + localHdrOffset, ensuring that it won't
357 if (!safe_add((uintptr_t *)&localHdr, (uintptr_t)pMap->addr,
363 (uintptr_t)pMap->addr + pMap->length) {
377 if ((size_t)pEntry->offset + pEntry->compLen > pMap->length) {