Home | History | Annotate | Download | only in include

Lines Matching refs:deflate

28   (zlib format), rfc1951.txt (deflate format) and rfc1952.txt (gzip format).
58 around a deflate stream, which is itself documented in RFC 1951.
63 gzip wrapper, documented in RFC 1952, wrapped around a deflate stream.
168 /* Allowed flush values; see deflate() and inflate() below for details */
203 /* The deflate compression method (the only one supported in this version) */
238 perform any compression: this will be done by deflate().
242 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
244 deflate compresses as much data as possible, and stops when the input
249 The detailed semantics are as follows. deflate performs one or both of the
255 processing will resume at this point for the next call of deflate().
263 Before the call of deflate(), the application should ensure that at least
268 (avail_out == 0), or after each call of deflate(). If deflate returns Z_OK
272 Normally the parameter flush is set to Z_NO_FLUSH, which allows deflate to
289 If deflate returns with avail_out == 0, this function must be called again
291 avail_out), until the flush is complete (deflate returns with non-zero
297 pending output is flushed and deflate returns with Z_STREAM_END if there
298 was enough output space; if deflate returns with Z_OK, this function must be
301 deflate has returned Z_STREAM_END, the only possible operations on the
306 the value returned by deflateBound (see below). If deflate does not return
309 deflate() sets strm->adler to the adler32 checksum of all input read
312 deflate() may update strm->data_type if it can make a good guess about
317 deflate() returns Z_OK if some progress has been made (more input
323 fatal, and deflate() can be called again with more input and more output
395 if and when it gets to the next deflate block boundary. When decoding the
401 The Z_BLOCK option assists in appending to or combining deflate streams.
404 if inflate() is currently decoding the last block in the deflate stream,
407 deflate stream. The end-of-block will not be indicated until all of the
440 deflate data. The header type is detected automatically. Any information
500 windowBits can also be -8..-15 for raw deflate. In this case, -windowBits
501 determines the window size. deflate() will then generate raw deflate data
535 not perform any compression: this will be done by deflate().
545 call of deflate. The compressor and decompressor must use exactly the same
558 deflate or deflate2. Thus the strings most likely to be useful should be
560 current implementation of deflate will use at most the window size minus
567 actually used by the compressor.) If a raw deflate was requested, then the
572 inconsistent (for example if deflate has already been called for this stream
574 perform any compression: this will be done by deflate().
616 take effect only at the next call of deflate().
619 a call of deflate(), since the currently available input may have to
633 Fine tune deflate's internal compression parameters. This should only be
634 used by someone who understands the algorithm used by zlib's deflate for
637 specific input data. Read the deflate.c source code for the meaning of the
641 returns Z_OK on success, or Z_STREAM_ERROR for an invalid deflate stream.
650 for deflation in a single pass, and so would be called before deflate().
657 deflatePrime() inserts bits in the deflate output stream. The intent
658 is that this function is used to start off the deflate output with the
659 bits leftover from a previous deflate stream when appending to it. As such,
660 this function can only be used for raw deflate, and must be used before the
661 deflate() call after a deflateInit2() or deflateReset(). bits must be
675 deflate(). The text, time, os, extra field, name, and comment information
711 determines the window size. inflate() will then process raw deflate data,
714 is for use with other formats that use the deflate compressed data format
716 format is developed using the raw deflate format for compressed data, it is
761 description of deflate with Z_FULL_FLUSH) can be found, or until all
865 assured that deflate was used with small window sizes, windowBits must be 15
867 deflate streams.
894 deflate stream with each call. inflateBackEnd() is then called to free
897 A raw deflate stream is one with no zlib or gzip header or trailer.
901 only the raw deflate stream to decompress. This is different from the
903 trailer around the deflate stream.
907 routines until it reads a complete deflate stream and writes out all of the
939 error in the deflate stream (in which case strm->msg is set to indicate the
979 deflate code when not needed)
980 17: NO_GZIP -- deflate can't write gzip streams, and inflate can't detect
986 21: FASTEST -- deflate algorithm with only one, lowest compression level
1176 flush is as in the deflate() function. The return value is the zlib