Home
last modified time | relevance | path

Searched refs:Z_FINISH (Results 1 – 25 of 48) sorted by relevance

12

/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/zlib/test/
H A Dexample.c189 err = deflate(&c_stream, Z_FINISH); in test_deflate()
281 err = deflate(&c_stream, Z_FINISH); in test_large_deflate()
354 err = deflate(&c_stream, Z_FINISH); in test_flush()
394 err = inflate(&d_stream, Z_FINISH); in test_sync()
430 err = deflate(&c_stream, Z_FINISH); in test_dict_deflate()
H A Dminigzip.c274 (void)deflate(strm, Z_FINISH); in gzclose()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c119 err = zlib_deflate(&stream, Z_FINISH); in z_compress_level()
173 err = zlib_inflate(&stream, Z_FINISH); in z_uncompress()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c156 err = zlib_deflate(&stream, Z_FINISH); in z_compress_level()
209 err = zlib_inflate(&stream, Z_FINISH); in z_uncompress()
/freebsd/sys/contrib/zstd/zlibWrapper/examples/
H A Dexample.c251 err = deflate(&c_stream, Z_FINISH);
347 err = deflate(&c_stream, Z_FINISH);
425 err = deflate(&c_stream, Z_FINISH);
467 err = inflate(&d_stream, Z_FINISH);
507 err = deflate(&c_stream, Z_FINISH);
H A Dexample_original.c243 err = deflate(&c_stream, Z_FINISH);
339 err = deflate(&c_stream, Z_FINISH);
417 err = deflate(&c_stream, Z_FINISH);
459 err = inflate(&d_stream, Z_FINISH);
499 err = deflate(&c_stream, Z_FINISH);
H A Dfitblk_original.c85 flush = Z_FINISH; in partcompress()
116 flush = Z_FINISH; in recompress()
H A Dfitblk.c90 flush = Z_FINISH; in partcompress()
126 flush = Z_FINISH; in recompress()
H A Dzwrapbench.c339 ret = deflate(&def, Z_FINISH); in BMK_benchMem()
370 ret = deflate(&def, Z_FINISH); in BMK_benchMem()
475 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
479 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
507 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
511 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
/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/contrib/zlib/
H A Ddeflate.c957 (s->status == FINISH_STATE && flush != Z_FINISH)) { in deflate()
984 flush != Z_FINISH) { in deflate()
1228 if (flush != Z_FINISH) return Z_OK; in deflate()
1664 if (len < min_block && ((len == 0 && flush != Z_FINISH) || in deflate_stored()
1672 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0; in deflate_stored()
1754 if (flush != Z_NO_FLUSH && flush != Z_FINISH && in deflate_stored()
1792 ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH && in deflate_stored()
1795 last = flush == Z_FINISH && s->strm->avail_in == 0 && in deflate_stored()
1897 if (flush == Z_FINISH) { in deflate_fast()
2025 if (flush == Z_FINISH) { in deflate_slow()
[all …]
H A Dgzwrite.c105 (flush != Z_FINISH || ret == Z_STREAM_END))) { in gz_comp()
135 if (flush == Z_FINISH) in gz_comp()
542 if (flush < 0 || flush > Z_FINISH) in gzflush()
617 if (gz_comp(state, Z_FINISH) == -1) in gzclose_w()
H A Dcompress.c53 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH); in compress2()
/freebsd/sys/cddl/boot/zfs/
H A Dgzip.c75 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dgzwrite.c111 (flush != Z_FINISH || ret == Z_STREAM_END))) {
141 if (flush == Z_FINISH)
575 if (flush < 0 || flush > Z_FINISH)
656 if (gz_comp(state, Z_FINISH) == -1)
H A Dzstd_zlibwrapper.c378 …{ int const initErr = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in :… in z_deflate()
380 if (flush != Z_FINISH) zwc->comprState = ZWRAP_useReset; in z_deflate()
390 …resetErr = ZSTD_CCtx_setPledgedSrcSize(zwc->zbc, (flush == Z_FINISH) ? strm->avail_in : zwc->pledg… in z_deflate()
397 …int const res = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in : ZSTD_… in z_deflate()
399 if (flush != Z_FINISH) zwc->comprState = ZWRAP_useReset; in z_deflate()
432 if (flush == Z_FINISH) { in z_deflate()
/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/fifolog/lib/
H A Dfifolog_write_poll.c269 fl = Z_FINISH; in fifolog_write_gzip()
294 if (fl == Z_FINISH) { in fifolog_write_gzip()
/freebsd/sys/dev/random/
H A Dunit_test.c115 err = deflate(&c_stream, Z_FINISH); in block_deflate()
/freebsd/sys/kern/
H A Dsubr_compressor.c176 zflag = data == NULL ? Z_FINISH : Z_NO_FLUSH; in gz_write()
229 (zflag == Z_FINISH || s->gz_stream.avail_in > 0)); in gz_write()
/freebsd/sys/opencrypto/
H A Dcryptodeflate.c144 deflate(&zbuf, Z_FINISH); in deflate_global()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c116 return Z_FINISH; in getstate()
/freebsd/contrib/libevent/test/
H A Dregress_zlib.c116 return Z_FINISH; in getstate()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_gzip.c367 finishing ? Z_FINISH : Z_NO_FLUSH ); in drive_compressor()

12