Lines Matching refs:zip
544 static bool readFile(ZipFileRO* zip, const char* name, String8& outString) in readFile() argument
546 ZipEntryRO entry = zip->findEntryByName(name); in readFile()
552 FileMap* entryMap = zip->createEntryFileMap(entry); in readFile()
553 zip->releaseEntry(entry); in readFile()
670 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc()
739 ZipFileRO* zip = animation.zip; in preloadZip() local
740 if (!zip->startIteration(&cookie)) { in preloadZip()
746 while ((entry = zip->nextEntry(cookie)) != nullptr) { in preloadZip()
747 const int foundEntryName = zip->getEntryFileName(entry, name, ANIM_ENTRY_NAME_MAX); in preloadZip()
758 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
769 … if (zip->getEntryInfo(entry, &method, nullptr, nullptr, nullptr, nullptr, nullptr)) { in preloadZip()
771 FileMap* map = zip->createEntryFileMap(entry); in preloadZip()
827 zip->endIteration(cookie); in preloadZip()
1087 if (animation->zip) in releaseAnimation()
1088 delete animation->zip; in releaseAnimation()
1099 ZipFileRO *zip = ZipFileRO::open(fn); in loadAnimation() local
1100 if (zip == nullptr) { in loadAnimation()
1108 animation->zip = zip; in loadAnimation()