Searched refs:Z_FINISH (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c59 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
85 if ((err = deflate(&zs, Z_FINISH)) != Z_STREAM_END) {
H A Ddeflate.c382 s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */
566 flush > Z_FINISH || flush < 0) {
573 (s->status == FINISH_STATE && flush != Z_FINISH)) {
777 * flushes. For repeated and useless calls with Z_FINISH, we keep
781 flush != Z_FINISH) {
835 if (flush != Z_FINISH) return Z_OK;
1443 FLUSH_BLOCK(s, flush == Z_FINISH);
1444 return flush == Z_FINISH ? finish_done : block_done;
1550 FLUSH_BLOCK(s, flush == Z_FINISH);
1551 return flush == Z_FINISH
[all...]
H A Dzlib.h168 #define Z_FINISH 4 macro
298 If the parameter flush is set to Z_FINISH, pending input is processed,
301 called again with Z_FINISH and more output space (updated avail_out) but no
306 Z_FINISH can be used immediately after deflateInit if all the compression
322 Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
395 Z_FINISH, or Z_BLOCK. Z_SYNC_FLUSH requests that inflate() flush as much
418 Z_FINISH. In this case all pending input is processed and all pending
422 be inflateEnd to deallocate the decompression state. The use of Z_FINISH
456 output buffer when Z_FINISH is used. Note that Z_BUF_ERROR is not fatal, and
1180 the flush parameter is Z_FINISH an
[all...]
/freebsd-10.1-release/lib/libz/
H A Duncompr.c48 err = inflate(&stream, Z_FINISH);
H A Dcompress.c49 err = deflate(&stream, Z_FINISH);
H A Dgzwrite.c69 flush is assumed to be a valid deflate() flush value. If flush is Z_FINISH,
100 doing Z_FINISH then don't write until we get to Z_STREAM_END */
102 (flush != Z_FINISH || ret == Z_STREAM_END))) {
128 if (flush == Z_FINISH)
484 if (flush < 0 || flush > Z_FINISH)
565 if (gz_comp(state, Z_FINISH) == -1)
H A Ddeflate.c411 s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */
680 (s->status == FINISH_STATE && flush != Z_FINISH)) {
884 * flushes. For repeated and useless calls with Z_FINISH, we keep
888 flush != Z_FINISH) {
949 if (flush != Z_FINISH) return Z_OK;
1612 if (flush == Z_FINISH) {
1715 if (flush == Z_FINISH) {
1846 if (flush == Z_FINISH) {
1921 if (flush == Z_FINISH) {
1960 if (flush == Z_FINISH) {
[all...]
H A Dzlib.h168 #define Z_FINISH 4 macro
320 If the parameter flush is set to Z_FINISH, pending input is processed,
323 called again with Z_FINISH and more output space (updated avail_out) but no
328 Z_FINISH can be used immediately after deflateInit if all the compression
345 Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
421 The flush parameter of inflate() can be Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FINISH,
453 single call of inflate), the parameter flush should be set to Z_FINISH. In
457 saved by the compressor for this purpose.) The use of Z_FINISH is not
460 call. Z_FINISH also informs inflate to not maintain a sliding window if the
472 memory for a sliding window when Z_FINISH i
[all...]
H A Dinflate.c599 provides the effect documented in zlib.h for Z_FINISH when the entire input
601 when flush is set to Z_FINISH, inflate() cannot return Z_OK. Instead it
1233 (state->mode < CHECK || flush != Z_FINISH)))
1249 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
/freebsd-10.1-release/lib/libz/test/
H A 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);
482 err = deflate(&c_stream, Z_FINISH);
H A Dminigzip.c312 (void)deflate(strm, Z_FINISH);
/freebsd-10.1-release/usr.sbin/fifolog/lib/
H A Dfifolog_write_poll.c261 fl = Z_FINISH;
286 if (fl == Z_FINISH) {
/freebsd-10.1-release/sys/net/
H A Dzlib.h337 #define Z_FINISH 5 macro
458 If the parameter flush is set to Z_FINISH, pending input is processed,
461 called again with Z_FINISH and more output space (updated avail_out) but no
466 Z_FINISH can be used immediately after deflateInit if all the compression
479 Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example
543 parameter other than Z_PARTIAL_FLUSH, Z_PACKET_FLUSH or Z_FINISH, but the
552 Z_FINISH. In this case all pending input is processed and all pending
556 be inflateEnd to deallocate the decompression state. The use of Z_FINISH
568 the output buffer when Z_FINISH is used. In the Z_DATA_ERROR case, the
918 the flush parameter is Z_FINISH an
[all...]
H A Dzlib.c893 s->noheader = 0; /* was set to -1 by deflate(..., Z_FINISH); */
991 flush > Z_FINISH || flush < 0) {
997 (s->status == FINISH_STATE && flush != Z_FINISH)) {
1043 * flushes. For repeated and useless calls with Z_FINISH, we keep
1047 flush != Z_FINISH) {
1105 if (flush != Z_FINISH) return Z_OK;
1624 FLUSH_BLOCK(s, flush == Z_FINISH);
1625 return flush == Z_FINISH ? finish_done : block_done;
1719 FLUSH_BLOCK(s, flush == Z_FINISH);
1720 return flush == Z_FINISH
[all...]
/freebsd-10.1-release/sys/opencrypto/
H A Dcryptodeflate.c137 deflate(&zbuf, Z_FINISH);
/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c116 return Z_FINISH;
/freebsd-10.1-release/crypto/openssl/crypto/comp/
H A Dc_zlib.c329 err = inflate(&stream, Z_FINISH);
674 ret = deflate(zout, Z_FINISH);
/freebsd-10.1-release/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_gzip.c370 finishing ? Z_FINISH : Z_NO_FLUSH );
/freebsd-10.1-release/sys/kern/
H A Dkern_ctf.c296 if ((ret = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
H A Dkern_gzio.c366 err = do_flush (file, Z_FINISH);
/freebsd-10.1-release/usr.bin/csup/
H A Dstream.c1067 flags = Z_FINISH;
1098 (flags == Z_FINISH && rv != Z_STREAM_END) ||
1102 assert(rv == Z_OK || (rv == Z_STREAM_END && flags == Z_FINISH));
/freebsd-10.1-release/sys/geom/uncompress/
H A Dg_uncompress.c274 err = (inflate(sc->zs, Z_FINISH) != Z_STREAM_END) ?
/freebsd-10.1-release/sys/geom/uzip/
H A Dg_uzip.c283 if (inflate(&zs, Z_FINISH) != Z_STREAM_END) {
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctf.c605 (type == Z_FINISH && rc == Z_STREAM_END))
618 compress_flush(rb, Z_FINISH);
/freebsd-10.1-release/usr.bin/gzip/
H A Dgzip.c660 error = deflate(&z, Z_FINISH);
927 error = inflate(&z, Z_FINISH);
929 /* Z_BUF_ERROR goes with Z_FINISH... */

Completed in 276 milliseconds

12