Lines Matching refs:length
212 ptr = pArchive->addr + pArchive->length - ENDHDR; in parseZipArchive()
233 if (numEntries == 0 || cdOffset >= pArchive->length) { in parseZipArchive()
235 numEntries, cdOffset, pArchive->length); 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()
359 (uintptr_t)pArchive->addr + pArchive->length) { in parseZipArchive()
373 if ((size_t)pEntry->offset + pEntry->compLen > pArchive->length) { in parseZipArchive()
426 int mzOpenZipArchive(unsigned char* addr, size_t length, ZipArchive* pArchive) in mzOpenZipArchive() argument
430 if (length < ENDHDR) { in mzOpenZipArchive()
432 LOGV("File '%s' too small to be zip (%zd)\n", fileName, map.length); in mzOpenZipArchive()
437 pArchive->length = length; in mzOpenZipArchive()