Home
last modified time | relevance | path

Searched refs:gzerror (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dminigzip.c329 const char *gzerror OF((gzFile, int *));
331 const char *gzerror(gz, err) in gzerror() 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/sys/contrib/zlib/test/
H A Dminigzip.c286 static const char *gzerror(gzFile gz, int *err) { in gzerror() function
328 if (len != (int)buf_len) error(gzerror(out, &err)); in gz_compress_mmap()
360 if (gzwrite(out, buf, (unsigned)len) != len) error(gzerror(out, &err)); in gz_compress()
376 if (len < 0) error (gzerror(in, &err)); in gz_uncompress()
H A Dexample.c100 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err)); in test_gzio()
104 fprintf(stderr, "gzprintf err: %s\n", gzerror(file, &err)); in test_gzio()
118 fprintf(stderr, "gzread err: %s\n", gzerror(file, &err)); in test_gzio()
147 fprintf(stderr, "gzgets err after gzseek: %s\n", gzerror(file, &err)); in test_gzio()
/freebsd/lib/libz/
H A DSymbol.map64 gzerror;
/freebsd/sys/contrib/zlib/
H A Dzconf.h87 # define gzerror z_gzerror macro
H A Dgzlib.c489 const char * ZEXPORT gzerror(gzFile file, int *errnum) { in gzerror() function
H A Dzlib.h1662 ZEXTERN const char * ZEXPORT gzerror(gzFile file, int *errnum);
H A Dzconf.h.in76 # define gzerror z_gzerror macro
H A DChangeLog496 - Don't set error code in gzerror() if passed pointer is NULL
536 - Note in zlib.h that gzerror() should be used to distinguish from EOF
658 - Fix gzerror() error report on empty input file [Brown]
718 - Add comments to zlib.h about gzerror() usage [Brown]
1387 - zlibVersion and gzerror return const char* (needed for DLL)
1618 - added gzerror()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c97 (void) gzerror(fp, &error); in read_map()
216 (void) gzerror(fp, &error); in write_map()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dgzlib.c535 const char * ZEXPORT gzerror(file, errnum) in gzerror() function
/freebsd/contrib/mandoc/
H A Dread.c522 (void)gzerror(gz, &gzerrnum); in read_whole_file()