Lines Matching refs:file
49 file is reached, even though there may be unused data in the buffer. Once
50 that data has been used, no more attempts will be made to read the file.
53 available data from the input file. */
86 case, all further file reads will be directly to either the output buffer or
134 gzip file, to wit, if a single 31 byte is written, then we cannot tell
135 whether this is a single-byte file, or just a partially written gzip
136 file -- for here we assume that if a gzip file is being written, then
138 single byte is sufficient indication that it is not a gzip file) */
189 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
224 Data is either copied from the input file or decompressed from the input
225 file depending on state->how. If state->how is LOOK, then a gzip header is
228 end of the input file has been reached and all data has been processed. */
265 /* skip over len bytes or reach end-of-file, whichever comes first */
291 int ZEXPORT gzread(file, buf, len)
292 gzFile file;
301 if (file == NULL)
303 state = (gz_statep)file;
390 int ZEXPORT gzgetc(file)
391 gzFile file;
398 if (file == NULL)
400 state = (gz_statep)file;
415 ret = gzread(file, buf, 1);
419 int ZEXPORT gzgetc_(file)
420 gzFile file;
422 return gzgetc(file);
426 int ZEXPORT gzungetc(c, file)
428 gzFile file;
433 if (file == NULL)
435 state = (gz_statep)file;
486 char * ZEXPORT gzgets(file, buf, len)
487 gzFile file;
497 if (file == NULL || buf == NULL || len < 1)
499 state = (gz_statep)file;
522 if (state->x.have == 0) { /* end of file */
542 /* return terminated string, or if nothing, end of file */
550 int ZEXPORT gzdirect(file)
551 gzFile file;
556 if (file == NULL)
558 state = (gz_statep)file;
570 int ZEXPORT gzclose_r(file)
571 gzFile file;
577 if (file == NULL)
579 state = (gz_statep)file;
585 /* free memory and close file */