Lines Matching refs:zip
569 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) in readFile() argument
571 ZipEntryRO entry = zip->findEntryByName(name); in readFile()
577 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile()
578 zip->releaseEntry(entry); in readFile()
695 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc()
764 ZipFileRO* zip = animation.zip; in preloadZip() local
765 if (!zip->startIteration(&cookie)) { in preloadZip()
771 while ((entry = zip->nextEntry(cookie)) != nullptr) { in preloadZip()
772 const int foundEntryName = zip->getEntryFileName(entry, name, ANIM_ENTRY_NAME_MAX); in preloadZip()
783 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
794 … if (zip->getEntryInfo(entry, &method, nullptr, nullptr, nullptr, nullptr, nullptr)) { in preloadZip()
796 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
852 zip->endIteration(cookie); in preloadZip()
1112 if (animation->zip) in releaseAnimation()
1113 delete animation->zip; in releaseAnimation()
1124 ZipFileRO *zip = ZipFileRO::open(fn); in loadAnimation() local
1125 if (zip == nullptr) { in loadAnimation()
1133 animation->zip = zip; in loadAnimation()