Lines Matching defs:file

38    file is reached, even though there may be unused data in the buffer.  Once
39 that data has been used, no more attempts will be made to read the file.
42 available data from the input file. */
73 case, all further file reads will be directly to either the output buffer or
117 gzip file, to wit, if a single 31 byte is written, then we cannot tell
118 whether this is a single-byte file, or just a partially written gzip
119 file -- for here we assume that if a gzip file is being written, then
121 single byte is sufficient indication that it is not a gzip file) */
168 gz_error(state, Z_BUF_ERROR, "unexpected end of file");
203 Data is either copied from the input file or decompressed from the input
204 file depending on state->how. If state->how is LOOK, then a gzip header is
207 end of the input file has been reached and all data has been processed. */
239 /* skip over len bytes or reach end-of-file, whichever comes first */
264 /* Read len bytes into buf from file, or less than len up to the end of the
266 end of file was reached, or there was an error. state->err must be
345 int ZEXPORT gzread(gzFile file, voidp buf, unsigned len) {
349 if (file == NULL)
351 state = (gz_statep)file;
377 z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems, gzFile file) {
382 if (file == NULL)
384 state = (gz_statep)file;
412 int ZEXPORT gzgetc(gzFile file) {
417 if (file == NULL)
419 state = (gz_statep)file;
437 int ZEXPORT gzgetc_(gzFile file) {
438 return gzgetc(file);
442 int ZEXPORT gzungetc(int c, gzFile file) {
446 if (file == NULL)
448 state = (gz_statep)file;
499 char * ZEXPORT gzgets(gzFile file, char *buf, int len) {
506 if (file == NULL || buf == NULL || len < 1)
508 state = (gz_statep)file;
531 if (state->x.have == 0) { /* end of file */
551 /* return terminated string, or if nothing, end of file */
559 int ZEXPORT gzdirect(gzFile file) {
563 if (file == NULL)
565 state = (gz_statep)file;
577 int ZEXPORT gzclose_r(gzFile file) {
582 if (file == NULL)
584 state = (gz_statep)file;
590 /* free memory and close file */