Lines Matching refs:string
75 FileType fileType = getFileType(outputFile.string()); in writeAPK()
82 if (unlink(outputFile.string()) != 0) { in writeAPK()
83 fprintf(stderr, "ERROR: unable to remove '%s': %s\n", outputFile.string(), in writeAPK()
89 outputFile.string()); in writeAPK()
93 fprintf(stderr, "ERROR: '%s' exists and is not a regular file\n", outputFile.string()); in writeAPK()
99 outputFile.string()); in writeAPK()
104 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); in writeAPK()
107 outputFile.string()); in writeAPK()
118 outputFile.string()); in writeAPK()
130 outputFile.string()); in writeAPK()
175 printf("Archive is empty -- removing %s\n", outputFile.getPathLeaf().string()); in writeAPK()
179 if (unlink(outputFile.string()) != 0) { in writeAPK()
180 fprintf(stderr, "warning: could not unlink '%s'\n", outputFile.string()); in writeAPK()
193 FILE* fp = fopen(dependencyFile.string(), "a"); in writeAPK()
195 fprintf(fp, "%s \\\n", outputFile.string()); in writeAPK()
205 printf("Removing %s due to earlier failures\n", outputFile.string()); in writeAPK()
207 if (unlink(outputFile.string()) != 0) { in writeAPK()
208 fprintf(stderr, "warning: could not unlink '%s'\n", outputFile.string()); in writeAPK()
323 && (0 == strcmp(storageName.string() + (fileNameLen - excludeExtensionLen), in processFile()
325 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.string()); in processFile()
329 if (strcasecmp(storageName.getPathExtension().string(), ".gz") == 0) { in processFile()
335 entry = zip->getEntryByName(storageName.string()); in processFile()
341 file->getPrintableSource().string()); in processFile()
347 fileModWhen = getFileModDate(srcName.string()); in processFile()
355 printf(" (removing old '%s')\n", storageName.string()); in processFile()
362 printf(" (not updating '%s')\n", storageName.string()); in processFile()
377 result = zip->addGzip(file->getSourceFile().string(), storageName.string(), &entry); in processFile()
384 result = zip->add(file->getSourceFile().string(), storageName.string(), compressionMethod, in processFile()
387 result = zip->add(file->getData(), file->getSize(), storageName.string(), in processFile()
392 printf(" '%s'%s", storageName.string(), fromGzip ? " (from .gz)" : ""); in processFile()
404 file->getPrintableSource().string()); in processFile()
407 file->getPrintableSource().string()); in processFile()
428 if (strcasecmp(ext.string(), kNoCompressExt[i]) == 0) in okayToCompress()
439 const char* path = pathName.string(); in okayToCompress()