Lines Matching defs:file
5 This file is part of the SANE package.
18 along with sane; see the file COPYING.
21 This file implements a SANE backend for eSCL scanners. */
50 FILE *file;
60 n = fread(state->buffer, 1, sizeof(state->buffer), state->file);
61 if (n < sizeof(state->buffer) && ferror(state->file))
76 int n = fclose(state->file);
87 int64_t n = _fseeki64(state->file, offset, whence);
89 int64_t n = fseeko(state->file, offset, whence);
94 stm->pos = _ftelli64(state->file);
96 stm->pos = ftello(state->file);
103 fz_open_file_ptr_escl(fz_context *ctx, FILE *file)
107 state->file = file;
145 /* Register the default file types to handle. */