Lines Matching refs:storageName
41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
246 String8 storageName, const sp<const AaptFile>& file) in processFile() argument
267 int fileNameLen = storageName.length(); in processFile()
270 && (0 == strcmp(storageName.string() + (fileNameLen - excludeExtensionLen), in processFile()
272 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.string()); in processFile()
276 if (strcasecmp(storageName.getPathExtension().string(), ".gz") == 0) { in processFile()
278 storageName = storageName.getBasePath(); in processFile()
282 entry = zip->getEntryByName(storageName.string()); in processFile()
302 printf(" (removing old '%s')\n", storageName.string()); in processFile()
309 printf(" (not updating '%s')\n", storageName.string()); in processFile()
324 result = zip->addGzip(file->getSourceFile().string(), storageName.string(), &entry); in processFile()
328 if (!okayToCompress(bundle, storageName)) { in processFile()
331 result = zip->add(file->getSourceFile().string(), storageName.string(), compressionMethod, in processFile()
334 result = zip->add(file->getData(), file->getSize(), storageName.string(), in processFile()
339 printf(" '%s'%s", storageName.string(), fromGzip ? " (from .gz)" : ""); in processFile()
410 const char* storageName = entry->getFileName(); in processJarFile() local
411 if (endsWith(storageName, ".class")) { in processJarFile()
417 storageName); in processJarFile()
420 out->add(data, size, storageName, compressionMethod, NULL); in processJarFile()