Home
last modified time | relevance | path

Searched refs:Z_STREAM_END (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/sys/contrib/zlib/test/
H A Dexample.c190 if (err == Z_STREAM_END) break; in test_deflate()
222 if (err == Z_STREAM_END) break; in test_inflate()
282 if (err != Z_STREAM_END) { in test_large_deflate()
314 if (err == Z_STREAM_END) break; in test_large_inflate()
355 if (err != Z_STREAM_END) { in test_flush()
395 if (err != Z_STREAM_END) { in test_sync()
431 if (err != Z_STREAM_END) { in test_dict_deflate()
464 if (err == Z_STREAM_END) break; in test_dict_inflate()
H A Dinfcover.c370 inf("3 0", "use fixed blocks", 0, -15, 1, Z_STREAM_END); in cover_support()
404 inf("78 9c 63 0 0 0 1 0 1", "check adler32", 0, 15, 1, Z_STREAM_END); in cover_wrap()
408 0, 47, 0, Z_STREAM_END); in cover_wrap()
490 assert(ret == Z_STREAM_END); in cover_back()
613 Z_STREAM_END); in cover_inflate()
659 Z_STREAM_END); in cover_fast()
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dexample.c252 if (err == Z_STREAM_END) break;
286 if (err == Z_STREAM_END) break;
348 if (err != Z_STREAM_END) {
382 if (err == Z_STREAM_END) break;
426 if (err != Z_STREAM_END) {
508 if (err != Z_STREAM_END) {
543 if (err == Z_STREAM_END) break;
H A Dexample_original.c244 if (err == Z_STREAM_END) break;
278 if (err == Z_STREAM_END) break;
340 if (err != Z_STREAM_END) {
374 if (err == Z_STREAM_END) break;
418 if (err != Z_STREAM_END) {
500 if (err != Z_STREAM_END) {
535 if (err == Z_STREAM_END) break;
H A Dfitblk_original.c119 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
215 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */ in main()
H A Dfitblk.c131 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress()
180 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main()
236 assert(ret == Z_STREAM_END); /* otherwise MARGIN too small */ in main()
/freebsd/sys/opencrypto/
H A Dcryptodeflate.c145 if (error != Z_OK && error != Z_STREAM_END) { in deflate_global()
154 if (decomp && zbuf.avail_in == 0 && error == Z_STREAM_END) { in deflate_global()
157 } else if (!decomp && error == Z_STREAM_END) { in deflate_global()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c82 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress()
110 if ((err = deflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_compress_level()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c120 if (err != Z_STREAM_END) { in z_compress_level()
174 if (err != Z_STREAM_END) { in z_uncompress()
/freebsd/sys/kern/
H A Dsubr_compressor.c187 if (zerror != Z_OK && zerror != Z_STREAM_END) { in gz_write()
192 if (s->gz_stream.avail_out == 0 || zerror == Z_STREAM_END) { in gz_write()
198 if (zerror == Z_STREAM_END) { in gz_write()
224 if (zerror == Z_STREAM_END && room < sizeof(trailer)) in gz_write()
228 } while (zerror != Z_STREAM_END && in gz_write()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c157 if (err != Z_STREAM_END) { in z_compress_level()
210 if (err != Z_STREAM_END) { in z_uncompress()
/freebsd/contrib/libfido2/src/
H A Dcompress.c76 if ((z = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in rfc1951_inflate()
131 if ((z = deflate(&zs, Z_FINISH)) != Z_STREAM_END) { in rfc1951_deflate()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dzmod.h45 #define Z_STREAM_END 1 macro
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dzmod.h43 #define Z_STREAM_END 1 macro
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c174 assert(res == Z_OK || res == Z_STREAM_END); in zlib_input_filter()
228 assert(res == Z_OK || res == Z_STREAM_END); in zlib_output_filter()
/freebsd/contrib/libevent/test/
H A Dregress_zlib.c174 assert(res == Z_OK || res == Z_STREAM_END); in zlib_input_filter()
228 assert(res == Z_OK || res == Z_STREAM_END); in zlib_output_filter()
/freebsd/sys/cddl/boot/zfs/
H A Dgzip.c75 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress()
/freebsd/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_comp_zlib.c85 if (res != Z_STREAM_END) in main()
H A Dh_comp_zlib_rnd.c89 if (res != Z_STREAM_END) in main()
/freebsd/sys/contrib/zlib/
H A Dcompress.c58 return err == Z_STREAM_END ? Z_OK : err; in compress2()
H A Duncompr.c76 return err == Z_STREAM_END ? Z_OK : in uncompress2()
/freebsd/sys/geom/uzip/
H A Dg_uzip_zlib.c73 err = (inflate(&zp->zs, Z_FINISH) != Z_STREAM_END) ? 1 : 0; in g_uzip_zlib_decompress()
/freebsd/usr.sbin/ppp/
H A Ddeflate.c113 if (res == Z_STREAM_END) in DeflateOutput()
258 if (res == Z_STREAM_END) in DeflateInput()
381 if (res == Z_STREAM_END) in DeflateDictSetup()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c399 if ((ret != Z_OK) && (ret != Z_STREAM_END)) { in bio_zlib_read()
405 if ((ret == Z_STREAM_END) || !zin->avail_out) in bio_zlib_read()
536 if (ret == Z_STREAM_END) in bio_zlib_flush()
/freebsd/sys/dev/random/
H A Dunit_test.c119 if (err == Z_STREAM_END) break; in block_deflate()

123