Lines Matching defs:fileName
40 ZipFile* openReadOnly(const char* fileName)
46 result = zip->open(fileName, ZipFile::kOpenReadOnly);
49 fprintf(stderr, "ERROR: '%s' not found\n", fileName);
51 fprintf(stderr, "ERROR: '%s' access denied\n", fileName);
54 fileName);
68 ZipFile* openReadWrite(const char* fileName, bool okayToCreate)
79 result = zip->open(fileName, flags);
444 const char* filename = bundle->getFileSpecEntry(1);
448 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
1421 const char* fileName = bundle->getFileSpecEntry(i);
1423 if (strcasecmp(String8(fileName).getPathExtension().string(), ".gz") == 0) {
1424 printf(" '%s'... (from gzip)\n", fileName);
1425 result = zip->addGzip(fileName, String8(fileName).getBasePath().string(), NULL);
1428 String8 storageName = String8(fileName).getPathLeaf();
1429 printf(" '%s' as '%s'...\n", fileName, storageName.string());
1430 result = zip->add(fileName, storageName.string(),
1433 printf(" '%s'...\n", fileName);
1434 result = zip->add(fileName, bundle->getCompressionMethod(), NULL);
1485 const char* fileName = bundle->getFileSpecEntry(i);
1488 entry = zip->getEntryByName(fileName);
1490 printf(" '%s' NOT FOUND\n", fileName);