Searched refs:Z_OK (Results 26 - 50 of 64) sorted by relevance

123

/freebsd-11.0-release/sys/opencrypto/
H A Dcryptodeflate.c127 if (error != Z_OK) {
136 if (error != Z_OK && error != Z_STREAM_END) {
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Ddeflate.c340 if (length < MIN_MATCH) return Z_OK;
359 return Z_OK;
395 return Z_OK;
406 return Z_OK;
418 return Z_OK;
429 int err = Z_OK;
475 return Z_OK;
773 return Z_OK;
805 return Z_OK;
829 return Z_OK;
[all...]
H A Dinflate.c132 return Z_OK;
148 return Z_OK;
557 when flush is set to Z_FINISH, inflate() cannot return Z_OK. Instead it
593 ret = Z_OK;
1177 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
1193 return Z_OK;
1235 return Z_OK;
1252 return Z_OK;
1329 return Z_OK;
1394 return Z_OK;
[all...]
H A Dzlib.h172 #define Z_OK 0 macro
235 deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
270 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
300 was enough output space; if deflate returns with Z_OK, this function must be
319 deflate() returns Z_OK if some progress has been made (more input
336 deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
356 inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
390 call of inflate(). If inflate returns Z_OK and with zero avail_out, it
436 total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described
448 inflate() returns Z_OK i
[all...]
/freebsd-11.0-release/sys/netgraph/
H A Dng_deflate.c263 Z_DEFAULT_STRATEGY)) != Z_OK) {
272 -cfg->windowBits)) != Z_OK) {
490 if (rtn != Z_OK) {
608 if (rtn != Z_OK && rtn != Z_STREAM_END) {
662 if (rtn != Z_OK) {
/freebsd-11.0-release/usr.sbin/ppp/
H A Ddeflate.c112 if ((res = deflate(&state->cx, flush)) != Z_OK) {
257 if ((res = inflate(&state->cx, flush)) != Z_OK) {
380 if ((res = inflate(&state->cx, flush)) != Z_OK) {
500 if (inflateInit2(&state->cx, -state->winsize) == Z_OK)
524 -state->winsize, 8, Z_DEFAULT_STRATEGY) == Z_OK)
/freebsd-11.0-release/sys/libkern/
H A Dzlib.c851 if (length < MIN_MATCH) return Z_OK;
872 return Z_OK;
902 return Z_OK;
913 int err = Z_OK;
1039 return Z_OK;
1071 return Z_OK;
1099 return Z_OK;
1105 if (flush != Z_FINISH) return Z_OK;
1116 return s->pending != 0 ? Z_OK : Z_STREAM_END;
1144 return status == BUSY_STATE ? Z_DATA_ERROR : Z_OK;
[all...]
/freebsd-11.0-release/usr.sbin/fifolog/lib/
H A Dfifolog_write_poll.c165 assert(i == Z_OK);
276 assert(i == Z_OK || i == Z_BUF_ERROR || i == Z_STREAM_END);
291 assert(Z_OK == deflateReset(f->ff->zs));
/freebsd-11.0-release/sys/dev/random/
H A Dunit_test.c67 if (err != Z_OK) {
/freebsd-11.0-release/contrib/file/src/
H A Dcompress.c503 if (rc != Z_OK)
507 if (rc != Z_OK && rc != Z_STREAM_END)
512 if (rc != Z_OK)
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c567 if ((rc = deflateInit(&rb->rb_zstr, Z_BEST_COMPRESSION)) != Z_OK)
586 if ((rc = deflate(&rb->rb_zstr, Z_NO_FLUSH)) != Z_OK)
607 else if (rc != Z_OK)
620 if ((rc = deflateEnd(&rb->rb_zstr)) != Z_OK)
1328 if ((rc = inflateInit(&zstr)) != Z_OK ||
1330 (rc = inflateEnd(&zstr)) != Z_OK) {
/freebsd-11.0-release/usr.bin/gzip/
H A Dgzip.c611 if (error != Z_OK) {
648 if (error != Z_OK && error != Z_STREAM_END) {
661 if (error != Z_OK && error != Z_STREAM_END) {
683 if (deflateEnd(&z) != Z_OK) {
920 if (inflateInit2(&z, -MAX_WBITS) != Z_OK) {
936 case Z_OK:
/freebsd-11.0-release/sys/kern/
H A Dkern_ctf.c269 if (inflateInit(&zs) != Z_OK) {
H A Dkern_gzio.c175 if (zerror != Z_OK && zerror != Z_STREAM_END) {
/freebsd-11.0-release/sys/sys/
H A Dzlib.h340 #define Z_OK 0 macro
400 deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
429 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
460 was enough output space; if deflate returns with Z_OK, this function must be
476 deflate() returns Z_OK if some progress has been made (more input
490 deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
506 inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not
536 call of inflate(). If inflate returns Z_OK and with zero avail_out, it
560 inflate() returns Z_OK if some progress has been made (more input
581 inflateEnd returns Z_OK i
[all...]
/freebsd-11.0-release/lib/libstand/
H A Dpkgfs.c459 if (c != Z_OK && c != Z_STREAM_END) {
693 if (error != Z_OK)
/freebsd-11.0-release/lib/libz/
H A Dinfback.c69 return Z_OK;
639 return Z_OK;
H A Dzlib.h173 #define Z_OK 0 macro
237 deflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
272 == 0), or after each call of deflate(). If deflate returns Z_OK and with
322 enough output space; if deflate returns with Z_OK, this function must be
342 deflate() returns Z_OK if some progress has been made (more input
359 deflateEnd returns Z_OK if success, Z_STREAM_ERROR if the
379 inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
417 inflate(). If inflate returns Z_OK and with zero avail_out, it must be
478 total_out bytes) and returns Z_OK, Z_STREAM_END or an error code as described
492 inflate() returns Z_OK i
[all...]
/freebsd-11.0-release/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c637 int rc = Z_OK;
653 if ((rc = z_uncompress(buf, &dstlen, src, srclen)) != Z_OK) {
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c1007 if ((ret = uncompress(dst, &len, src, srclen)) == Z_OK)
1020 if ((ret = compress2(dst, &len, src, srclen, level)) == Z_OK)
/freebsd-11.0-release/cddl/contrib/opensolaris/tools/ctf/dump/
H A Ddump.c971 if ((rc = inflateInit(&zstr)) != Z_OK)
977 if ((rc = inflateEnd(&zstr)) != Z_OK)
/freebsd-11.0-release/usr.sbin/bhyve/
H A Drfb.c328 if (err != Z_OK) {
412 if (err != Z_OK) {
/freebsd-11.0-release/contrib/subversion/subversion/libsvn_subr/
H A Derror.c817 if (zerr == Z_OK)
/freebsd-11.0-release/crypto/openssh/
H A Dpacket.c589 case Z_OK:
606 case Z_OK:
664 case Z_OK:
701 case Z_OK:
/freebsd-11.0-release/lib/libz/test/
H A Dexample.c23 if (err != Z_OK) { \

Completed in 557 milliseconds

123