Home | History | Annotate | Download | only in examples

Lines Matching defs:infile

26 print_file_size(lzma_stream *strm, FILE *infile, const char *filename)
34 if (fseek(infile, 0, SEEK_END)) {
40 const long file_size = ftell(infile);
43 rewind(infile);
78 infile);
80 if (ferror(infile)) {
104 if (fseek(infile, (long)(strm->seek_pos), SEEK_SET)) {
182 FILE *infile = fopen(argv[i], "rb");
184 if (infile == NULL) {
190 success &= print_file_size(&strm, infile, argv[i]);
192 (void)fclose(infile);