Home | History | Annotate | Download | only in libpng

Lines Matching refs:FILE

23  *    exist in the input file.
28 * If a filename is given on the command-line, then this file is used
43 # define READFILE(file, data, length, check) \
44 if (ReadFile(file, data, length, &check, NULL)) check = 0
45 # define WRITEFILE(file, data, length, check)) \
46 if (WriteFile(file, data, length, &check, NULL)) check = 0
47 # define FCLOSE(file) CloseHandle(file)
51 # define READFILE(file, data, length, check) \
52 check=(png_size_t)fread(data, (png_size_t)1, length, file)
53 # define WRITEFILE(file, data, length, check) \
54 check=(png_size_t)fwrite(data, (png_size_t)1, length, file)
55 # define FCLOSE(file) fclose(file)
62 typedef FILE * png_FILE_p;
102 /* Defined so I can write to a file on gui/windowing platforms */
685 /* Test one file */
728 fprintf(STDERR, "Could not find input file %s\n", inname);
740 fprintf(STDERR, "Could not open output file %s\n", outname);
1369 fprintf(STDERR, "Could not find file %s\n", inname);
1381 fprintf(STDERR, "Could not find file %s\n", outname);
1530 " reads/writes one PNG file (without -m) or multiple files (-m)\n");
1532 " with -m %s is used as a temporary file\n", outname);