Lines Matching defs:fileName
55 ZipFile* openReadOnly(const char* fileName)
61 result = zip->open(fileName, ZipFile::kOpenReadOnly);
64 fprintf(stderr, "ERROR: '%s' not found\n", fileName);
66 fprintf(stderr, "ERROR: '%s' access denied\n", fileName);
69 fileName);
84 ZipFile* openReadWrite(const char* fileName, bool okayToCreate)
96 result = zip->open(fileName, flags);
594 const char* filename = bundle->getFileSpecEntry(1);
598 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
2094 const char* fileName = bundle->getFileSpecEntry(i);
2096 if (strcasecmp(String8(fileName).getPathExtension().string(), ".gz") == 0) {
2097 printf(" '%s'... (from gzip)\n", fileName);
2098 result = zip->addGzip(fileName, String8(fileName).getBasePath().string(), NULL);
2101 String8 storageName = String8(fileName).getPathLeaf();
2102 printf(" '%s' as '%s'...\n", fileName,
2104 result = zip->add(fileName, storageName.string(),
2107 printf(" '%s'...\n", fileName);
2108 result = zip->add(fileName, bundle->getCompressionMethod(), NULL);
2160 const char* fileName = bundle->getFileSpecEntry(i);
2163 entry = zip->getEntryByName(fileName);
2165 fileName);