Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
Dzmod.c99 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_uncompress()
127 if ((err = deflate(&zs, Z_FINISH)) != Z_STREAM_END) { in z_compress_level()
/freebsd-12-stable/sys/contrib/zlib/test/
Dexample.c226 err = deflate(&c_stream, Z_FINISH);
322 err = deflate(&c_stream, Z_FINISH);
400 err = deflate(&c_stream, Z_FINISH);
442 err = inflate(&d_stream, Z_FINISH);
481 err = deflate(&c_stream, Z_FINISH);
Dminigzip.c312 (void)deflate(strm, Z_FINISH);
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/
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);
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);
Dfitblk_original.c85 flush = Z_FINISH; in partcompress()
116 flush = Z_FINISH; in recompress()
Dfitblk.c90 flush = Z_FINISH; in partcompress()
126 flush = Z_FINISH; in recompress()
Dzwrapbench.c322 ret = deflate(&def, Z_FINISH); in BMK_benchMem()
353 ret = deflate(&def, Z_FINISH); in BMK_benchMem()
458 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
462 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
490 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
494 ret = inflate(&inf, Z_FINISH); in BMK_benchMem()
Dminigzip.c315 (void)deflate(strm, Z_FINISH);
/freebsd-12-stable/sys/contrib/zlib/
Ddeflate.c829 (s->status == FINISH_STATE && flush != Z_FINISH)) {
856 flush != Z_FINISH) {
1100 if (flush != Z_FINISH) return Z_OK;
1730 if (len < min_block && ((len == 0 && flush != Z_FINISH) ||
1738 last = flush == Z_FINISH && len == left + s->strm->avail_in ? 1 : 0;
1820 if (flush != Z_NO_FLUSH && flush != Z_FINISH &&
1858 ((left || flush == Z_FINISH) && flush != Z_NO_FLUSH &&
1861 last = flush == Z_FINISH && s->strm->avail_in == 0 &&
1966 if (flush == Z_FINISH) {
2097 if (flush == Z_FINISH) {
[all …]
Dgzwrite.c118 (flush != Z_FINISH || ret == Z_STREAM_END))) {
148 if (flush == Z_FINISH)
584 if (flush < 0 || flush > Z_FINISH)
665 if (gz_comp(state, Z_FINISH) == -1)
Dcompress.c58 err = deflate(&stream, sourceLen ? Z_NO_FLUSH : Z_FINISH);
DChangeLog60 - Avoid adding empty gzip member after gzflush with Z_FINISH
216 - Improve inflate() documentation on the use of Z_FINISH
333 - Have inflate() with Z_FINISH avoid the allocation of a window
369 - Clarify the use of Z_FINISH with deflateBound() amount of space
1221 . Simplify Z_FINISH check in inflate()
1282 - check Z_FINISH in inflate (thanks to Marc Schluper)
1356 - In very rare conditions, deflate(s, Z_FINISH) could fail to produce an EOF
1533 - deflate(Z_FINISH) now returns Z_STREAM_END when done. Warning: this
1567 - support decompression but only in a single step (forced Z_FINISH)
1588 - use Z_FINISH instead of deflateEnd to finish compression
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/
Dzstd_zlibwrapper.c298 …{ int const initErr = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in :… in z_deflate()
300 if (flush != Z_FINISH) zwc->comprState = ZWRAP_useReset; in z_deflate()
304 …size_t const resetErr = ZSTD_resetCStream(zwc->zbc, (flush == Z_FINISH) ? strm->avail_in : zwc->pl… in z_deflate()
311 …int const res = ZWRAP_initializeCStream(zwc, NULL, 0, (flush == Z_FINISH) ? strm->avail_in : ZSTD_… in z_deflate()
313 if (flush != Z_FINISH) zwc->comprState = ZWRAP_useReset; in z_deflate()
346 if (flush == Z_FINISH) { in z_deflate()
Dgzwrite.c109 (flush != Z_FINISH || ret == Z_STREAM_END))) {
139 if (flush == Z_FINISH)
572 if (flush < 0 || flush > Z_FINISH)
653 if (gz_comp(state, Z_FINISH) == -1)
/freebsd-12-stable/sys/geom/uzip/
Dg_uzip_zlib.c76 err = (inflate(&zp->zs, Z_FINISH) != Z_STREAM_END) ? 1 : 0; in g_uzip_zlib_decompress()
/freebsd-12-stable/usr.sbin/fifolog/lib/
Dfifolog_write_poll.c271 fl = Z_FINISH; in fifolog_write_gzip()
296 if (fl == Z_FINISH) { in fifolog_write_gzip()
/freebsd-12-stable/sys/kern/
Dsubr_compressor.c171 zflag = data == NULL ? Z_FINISH : Z_NO_FLUSH; in gz_write()
224 (zflag == Z_FINISH || s->gz_stream.avail_in > 0)); in gz_write()
Dkern_ctf.c268 ret = inflate(&zs, Z_FINISH);
/freebsd-12-stable/sys/dev/random/
Dunit_test.c117 err = deflate(&c_stream, Z_FINISH); in block_deflate()
/freebsd-12-stable/sys/opencrypto/
Dcryptodeflate.c151 deflate(&zbuf, Z_FINISH);
/freebsd-12-stable/contrib/libevent/test/
Dregress_zlib.c116 return Z_FINISH; in getstate()
/freebsd-12-stable/contrib/ntp/sntp/libevent/test/
Dregress_zlib.c116 return Z_FINISH; in getstate()
/freebsd-12-stable/contrib/libarchive/libarchive/
Darchive_write_add_filter_gzip.c370 finishing ? Z_FINISH : Z_NO_FLUSH ); in drive_compressor()
/freebsd-12-stable/usr.sbin/prometheus_sysctl_exporter/
Dprometheus_sysctl_exporter.c555 deflate(&stream, Z_FINISH) != Z_STREAM_END) { in buf_gzip()

12