/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zmod.c | 59 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) { 85 if ((err = deflate(&zs, Z_FINISH)) != Z_STREAM_END) {
|
H A D | deflate.c | 382 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 D | zlib.h | 168 #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 D | uncompr.c | 48 err = inflate(&stream, Z_FINISH);
|
H A D | compress.c | 49 err = deflate(&stream, Z_FINISH);
|
H A D | gzwrite.c | 69 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 D | deflate.c | 411 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 D | zlib.h | 168 #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 D | inflate.c | 599 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 D | example.c | 226 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 D | minigzip.c | 312 (void)deflate(strm, Z_FINISH);
|
/freebsd-10.1-release/usr.sbin/fifolog/lib/ |
H A D | fifolog_write_poll.c | 261 fl = Z_FINISH; 286 if (fl == Z_FINISH) {
|
/freebsd-10.1-release/sys/net/ |
H A D | zlib.h | 337 #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 D | zlib.c | 893 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 D | cryptodeflate.c | 137 deflate(&zbuf, Z_FINISH);
|
/freebsd-10.1-release/contrib/ntp/sntp/libevent/test/ |
H A D | regress_zlib.c | 116 return Z_FINISH;
|
/freebsd-10.1-release/crypto/openssl/crypto/comp/ |
H A D | c_zlib.c | 329 err = inflate(&stream, Z_FINISH); 674 ret = deflate(zout, Z_FINISH);
|
/freebsd-10.1-release/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_gzip.c | 370 finishing ? Z_FINISH : Z_NO_FLUSH );
|
/freebsd-10.1-release/sys/kern/ |
H A D | kern_ctf.c | 296 if ((ret = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
|
H A D | kern_gzio.c | 366 err = do_flush (file, Z_FINISH);
|
/freebsd-10.1-release/usr.bin/csup/ |
H A D | stream.c | 1067 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 D | g_uncompress.c | 274 err = (inflate(sc->zs, Z_FINISH) != Z_STREAM_END) ?
|
/freebsd-10.1-release/sys/geom/uzip/ |
H A D | g_uzip.c | 283 if (inflate(&zs, Z_FINISH) != Z_STREAM_END) {
|
/freebsd-10.1-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | ctf.c | 605 (type == Z_FINISH && rc == Z_STREAM_END)) 618 compress_flush(rb, Z_FINISH);
|
/freebsd-10.1-release/usr.bin/gzip/ |
H A D | gzip.c | 660 error = deflate(&z, Z_FINISH); 927 error = inflate(&z, Z_FINISH); 929 /* Z_BUF_ERROR goes with Z_FINISH... */
|