Home | History | Annotate | Download | only in chromium

Lines Matching refs:FILE

31 // This file input format is based loosely on
106 FILE* f = fopen(filename, "rb");
191 " ImageDiff <compare file> <reference file>\n"
196 " ImageDiff --diff <compare file> <reference file> <output file>\n"
198 " difference to <output file>\n");
204 " it will take as many file pairs as given, and will compare them as\n"
215 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file1);
219 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file2);
319 FILE* file = fopen(outFile, "wb");
320 if (!file) {
321 fprintf(stderr, "ImageDiff: Unable to create file \"%s\"\n", outFile);
324 if (dataSize != fwrite(data, 1, dataSize, file)) {
325 fclose(file);
326 fprintf(stderr, "ImageDiff: Unable to write data to file \"%s\"\n", outFile);
329 fclose(file);
339 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file1);
343 fprintf(stderr, "ImageDiff: Unable to open file \"%s\"\n", file2);