Lines Matching refs:file
47 file is reached, even though there may be unused data in the buffer. Once
48 that data has been used, no more attempts will be made to read the file.
99 the output buffer. In that case, all further file reads will be directly to
183 if (flags & 8) /* file name */
193 /* an unexpected end of file is not checked for here -- it will be
204 /* not a gzip file -- save first byte (31) and fall to raw i/o */
248 gz_error(state, Z_DATA_ERROR, "unexpected end of file");
278 gz_error(state, Z_DATA_ERROR, "unexpected end of file");
298 Data is either copied from the input file or decompressed from the input
299 file depending on state->how. If state->how is LOOK, then a gzip header is
302 or GZIP unless the end of the input file has been reached and all data has
336 /* skip over len bytes or reach end-of-file, whichever comes first */
362 int ZEXPORT gzread(file, buf, len)
363 gzFile file;
372 if (file == NULL)
374 state = (gz_statep)file;
453 int ZEXPORT gzgetc(file)
454 gzFile file;
461 if (file == NULL)
463 state = (gz_statep)file;
477 ret = gzread(file, buf, 1);
482 int ZEXPORT gzungetc(c, file)
484 gzFile file;
489 if (file == NULL)
491 state = (gz_statep)file;
539 char * ZEXPORT gzgets(file, buf, len)
540 gzFile file;
550 if (file == NULL || buf == NULL || len < 1)
552 state = (gz_statep)file;
575 if (state->have == 0) { /* end of file */
603 int ZEXPORT gzdirect(file)
604 gzFile file;
609 if (file == NULL)
611 state = (gz_statep)file;
627 int ZEXPORT gzclose_r(file)
628 gzFile file;
634 if (file == NULL)
636 state = (gz_statep)file;
642 /* free memory and close file */