/illumos-gate/usr/src/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...] |
H A D | inflate.c | 555 provides the effect documented in zlib.h for Z_FINISH when the entire input 557 when flush is set to Z_FINISH, inflate() cannot return Z_OK. Instead it 1177 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
|
/illumos-gate/usr/src/boot/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)
|
/illumos-gate/usr/src/boot/sys/boot/zfs/ |
H A D | gzip.c | 48 if ((err = inflate(&zs, Z_FINISH)) != Z_STREAM_END) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | zlib.h | 214 #define Z_FINISH 4 macro 321 If the parameter flush is set to Z_FINISH, all pending input is processed, 324 called again with Z_FINISH and more output space (updated avail_out) but no 329 Z_FINISH can be used immediately after deflateInit if all the compression 342 Z_FINISH), Z_STREAM_ERROR if the stream state was inconsistent (for example 396 parameter other than Z_PARTIAL_FLUSH, Z_PACKET_FLUSH or Z_FINISH, but the 405 Z_FINISH. In this case all pending input is processed and all pending 409 be inflateEnd to deallocate the decompression state. The use of Z_FINISH 420 when Z_FINISH is used. In the Z_DATA_ERROR case, the application may then
|
H A D | zlib.c | 681 s->noheader = 0; /* was set to -1 by deflate(..., Z_FINISH); */ 771 if (flush != Z_NO_FLUSH && flush != Z_FINISH) 783 (flush == Z_FINISH && state->status != FINISH_STATE)) { 786 if (flush == Z_FINISH) { 806 if (flush != Z_NO_FLUSH && flush != Z_FINISH 839 if (flush != Z_FINISH) return Z_OK; 2285 int flush; /* Z_FINISH if this is the last block for a file */ 2289 int eof = flush == Z_FINISH;
|
/illumos-gate/usr/src/boot/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);
|
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | zlib.h | 467 #define Z_FINISH 5 macro 600 * If the parameter flush is set to Z_FINISH, pending input is 603 * with Z_OK, this function must be called again with Z_FINISH and 609 * Z_FINISH can be used immediately after deflateInit if all the 623 * set to Z_FINISH), Z_STREAM_ERROR if the stream state was 688 * Z_PACKET_FLUSH or Z_FINISH, but the current implementation actually 697 * be set to Z_FINISH. In this case all pending input is processed and 702 * decompression state. The use of Z_FINISH is never required, but can 715 * buffer when Z_FINISH is used. In the Z_DATA_ERROR case, the 1103 * the flush parameter is Z_FINISH an [all...] |
H A D | zlib.c | 1015 /* was set to -1 by deflate(..., Z_FINISH); */ 1123 flush > Z_FINISH || flush < 0) { 1130 (s->status == FINISH_STATE && flush != Z_FINISH)) { 1181 * useless calls with Z_FINISH, we keep returning 1185 flush != Z_FINISH) { 1252 if (flush != Z_FINISH) 1927 FLUSH_BLOCK(s, flush == Z_FINISH); 1928 return (flush == Z_FINISH ? finish_done : block_done); 2051 FLUSH_BLOCK(s, flush == Z_FINISH); 2052 return (flush == Z_FINISH [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctf.c | 513 (type == Z_FINISH && rc == Z_STREAM_END)) 526 compress_flush(rb, Z_FINISH);
|
/illumos-gate/usr/src/tools/ctf/dump/ |
H A D | dump.c | 974 if ((rc = inflate(&zstr, Z_FINISH)) != Z_STREAM_END)
|