Home | History | Annotate | Download | only in aapt

Lines Matching refs:string

72     FileType fileType = getFileType(outputFile.string());
79 if (unlink(outputFile.string()) != 0) {
80 fprintf(stderr, "ERROR: unable to remove '%s': %s\n", outputFile.string(),
86 outputFile.string());
90 fprintf(stderr, "ERROR: '%s' exists and is not a regular file\n", outputFile.string());
96 outputFile.string());
101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate);
104 outputFile.string());
115 outputFile.string());
127 outputFile.string());
172 printf("Archive is empty -- removing %s\n", outputFile.getPathLeaf().string());
176 if (unlink(outputFile.string()) != 0) {
177 fprintf(stderr, "warning: could not unlink '%s'\n", outputFile.string());
190 FILE* fp = fopen(dependencyFile.string(), "a");
192 fprintf(fp, "%s \\\n", outputFile.string());
202 printf("Removing %s due to earlier failures\n", outputFile.string());
204 if (unlink(outputFile.string()) != 0) {
205 fprintf(stderr, "warning: could not unlink '%s'\n", outputFile.string());
270 && (0 == strcmp(storageName.string() + (fileNameLen - excludeExtensionLen),
272 fprintf(stderr, "warning: '%s' not added to Zip\n", storageName.string());
276 if (strcasecmp(storageName.getPathExtension().string(), ".gz") == 0) {
282 entry = zip->getEntryByName(storageName.string());
288 file->getPrintableSource().string());
294 fileModWhen = getFileModDate(srcName.string());
302 printf(" (removing old '%s')\n", storageName.string());
309 printf(" (not updating '%s')\n", storageName.string());
324 result = zip->addGzip(file->getSourceFile().string(), storageName.string(), &entry);
331 result = zip->add(file->getSourceFile().string(), storageName.string(), compressionMethod,
334 result = zip->add(file->getData(), file->getSize(), storageName.string(),
339 printf(" '%s'%s", storageName.string(), fromGzip ? " (from .gz)" : "");
351 file->getPrintableSource().string());
354 file->getPrintableSource().string(), result);
375 if (strcasecmp(ext.string(), kNoCompressExt[i]) == 0)
386 const char* path = pathName.string();