Searched refs:gzerror (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dminigzip.c329 const char *gzerror OF((gzFile, int *));
331 const char *gzerror(gz, err) function
389 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err));
423 if (len != (int)buf_len) error(gzerror(out, &err));
445 if (len < 0) error (gzerror(in, &err));
H A Dexample.c159 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
163 fprintf(stderr, "gzprintf err: %s\n", gzerror(file, &err));
177 fprintf(stderr, "gzread err: %s\n", gzerror(file, &err));
206 fprintf(stderr, "gzgets err after gzseek: %s\n", gzerror(file, &err));
H A Dexample_original.c151 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
155 fprintf(stderr, "gzprintf err: %s\n", gzerror(file, &err));
169 fprintf(stderr, "gzread err: %s\n", gzerror(file, &err));
198 fprintf(stderr, "gzgets err after gzseek: %s\n", gzerror(file, &err));
/freebsd-13-stable/sys/contrib/zlib/test/
H A Dminigzip.c324 const char *gzerror OF((gzFile, int *));
326 const char *gzerror(gz, err) function
384 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err));
418 if (len != (int)buf_len) error(gzerror(out, &err));
440 if (len < 0) error (gzerror(in, &err));
H A Dexample.c134 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
138 fprintf(stderr, "gzprintf err: %s\n", gzerror(file, &err));
152 fprintf(stderr, "gzread err: %s\n", gzerror(file, &err));
181 fprintf(stderr, "gzgets err after gzseek: %s\n", gzerror(file, &err));
/freebsd-13-stable/sys/contrib/zlib/
H A Dzconf.h79 # define gzerror z_gzerror macro
H A Dgzlib.c535 const char * ZEXPORT gzerror(file, errnum) function
H A Dzlib.h1408 data. If the error code returned by gzerror is Z_OK or Z_BUF_ERROR, then
1415 stream. Alternatively, gzerror can be used before gzclose to detect this
1435 there was an error. gzerror() must be consulted if zero is returned in
1539 (see function gzerror below). gzflush is only permitted when writing.
1638 cannot call gzerror with file, since its structures have been deallocated.
1659 ZEXTERN const char * ZEXPORT gzerror OF((gzFile file, int *errnum));
1668 closed, then the string previously returned by gzerror will no longer be
1671 gzerror() should be used to distinguish errors from end-of-file for those
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/draid/
H A Ddraid.c97 (void) gzerror(fp, &error);
215 (void) gzerror(fp, &error);
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/
H A Dgzlib.c535 const char * ZEXPORT gzerror(file, errnum) function
/freebsd-13-stable/contrib/mandoc/
H A Dread.c507 (void)gzerror(gz, &gzerrnum);

Completed in 110 milliseconds