Lines Matching refs:addr
199 val = get4LE(pArchive->addr); in parseZipArchive()
212 ptr = pArchive->addr + pArchive->length - ENDHDR; in parseZipArchive()
214 while (ptr >= (const unsigned char*) pArchive->addr) { in parseZipArchive()
219 if (ptr < (const unsigned char*) pArchive->addr) { in parseZipArchive()
248 ptr = pArchive->addr + cdOffset; in parseZipArchive()
255 if (ptr + CENHDR > (const unsigned char*)pArchive->addr + pArchive->length) { in parseZipArchive()
269 if (fileName + fileNameLen > (const char*)pArchive->addr + pArchive->length) { in parseZipArchive()
353 if (!safe_add((uintptr_t *)&localHdr, (uintptr_t)pArchive->addr, in parseZipArchive()
359 (uintptr_t)pArchive->addr + pArchive->length) { in parseZipArchive()
426 int mzOpenZipArchive(unsigned char* addr, size_t length, ZipArchive* pArchive) in mzOpenZipArchive() argument
436 pArchive->addr = addr; in mzOpenZipArchive()
501 return processFunction(pArchive->addr + pEntry->offset, pEntry->uncompLen, cookie); in processStoredEntry()
524 zstream.next_in = pArchive->addr + pEntry->offset; in processDeflatedEntry()