Lines Matching refs:map
432 MemMapping map; in mzOpenZipArchive() local
437 map.addr = NULL; in mzOpenZipArchive()
447 if (sysMapFileInShmem(pArchive->fd, &map) != 0) { in mzOpenZipArchive()
453 if (map.length < ENDHDR) { in mzOpenZipArchive()
455 LOGV("File '%s' too small to be zip (%zd)\n", fileName, map.length); in mzOpenZipArchive()
459 if (!parseZipArchive(pArchive, &map)) { in mzOpenZipArchive()
466 sysCopyMap(&pArchive->map, &map); in mzOpenZipArchive()
467 map.addr = NULL; in mzOpenZipArchive()
472 if (map.addr != NULL) in mzOpenZipArchive()
473 sysReleaseShmem(&map); in mzOpenZipArchive()
488 if (pArchive->map.addr != NULL) in mzCloseZipArchive()
489 sysReleaseShmem(&pArchive->map); in mzCloseZipArchive()