Home
last modified time | relevance | path

Searched refs:pArchive (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/minzip/
DZip.c187 static bool parseZipArchive(ZipArchive* pArchive) in parseZipArchive() argument
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()
233 if (numEntries == 0 || cdOffset >= pArchive->length) { in parseZipArchive()
235 numEntries, cdOffset, pArchive->length); in parseZipArchive()
242 pArchive->numEntries = numEntries; in parseZipArchive()
243 pArchive->pEntries = (ZipEntry*) calloc(numEntries, sizeof(ZipEntry)); in parseZipArchive()
244 pArchive->pHash = mzHashTableCreate(mzHashSize(numEntries), NULL); in parseZipArchive()
[all …]
DZip.h71 int mzOpenZipArchive(unsigned char* addr, size_t length, ZipArchive* pArchive);
79 void mzCloseZipArchive(ZipArchive* pArchive);
85 const ZipEntry* mzFindZipEntry(const ZipArchive* pArchive,
112 bool mzProcessZipEntryContents(const ZipArchive *pArchive,
119 bool mzReadZipEntry(const ZipArchive* pArchive, const ZipEntry* pEntry,
125 bool mzExtractZipEntryToFile(const ZipArchive *pArchive,
132 bool mzExtractZipEntryToBuffer(const ZipArchive *pArchive,
162 bool mzExtractRecursive(const ZipArchive *pArchive,