Lines Matching refs:storageName

43 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
248 String8 storageName, const sp<const AaptFile>& file) in processFile() argument
269 int fileNameLen = storageName.length(); in processFile()
272 && (0 == strcmp(storageName.c_str() + (fileNameLen - excludeExtensionLen), in processFile()
274 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.c_str()); in processFile()
278 if (strcasecmp(getPathExtension(storageName).c_str(), ".gz") == 0) { in processFile()
280 storageName = getBasePath(storageName); in processFile()
284 entry = zip->getEntryByName(storageName.c_str()); in processFile()
304 printf(" (removing old '%s')\n", storageName.c_str()); in processFile()
311 printf(" (not updating '%s')\n", storageName.c_str()); in processFile()
326 result = zip->addGzip(file->getSourceFile().c_str(), storageName.c_str(), &entry); in processFile()
330 if (!okayToCompress(bundle, storageName)) { in processFile()
333 result = zip->add(file->getSourceFile().c_str(), storageName.c_str(), compressionMethod, in processFile()
336 result = zip->add(file->getData(), file->getSize(), storageName.c_str(), in processFile()
341 printf(" '%s'%s", storageName.c_str(), fromGzip ? " (from .gz)" : ""); in processFile()
411 const char* storageName = entry->getFileName(); in processJarFile() local
412 if (endsWith(storageName, ".class")) { in processJarFile()
418 storageName); in processJarFile()
421 out->add(data, size, storageName, compressionMethod, NULL); in processJarFile()