Lines Matching defs:strm
228 ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level);
250 ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush);
341 deflate() sets strm->adler to the Adler-32 checksum of all input read
343 strm->adler will be the CRC-32 checksum of the input read so far. (See
346 deflate() may update strm->data_type if it can make a good guess about
363 ZEXTERN int ZEXPORT deflateEnd(z_streamp strm);
378 ZEXTERN int ZEXPORT inflateInit(z_streamp strm);
401 ZEXTERN int ZEXPORT inflate(z_streamp strm, int flush);
443 To assist in this, on return inflate() always sets strm->data_type to the
444 number of unused bits in the last byte taken from strm->next_in, plus 64 if
449 data from that block has been written to strm->next_out. The number of
460 256 is added to the value of strm->data_type when inflate() returns
487 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
489 strm->adler to the Adler-32 checksum of all output produced so far (that is,
499 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
508 value, in which case strm->msg points to a string with a more specific
521 ZEXTERN int ZEXPORT inflateEnd(z_streamp strm);
539 ZEXTERN int ZEXPORT deflateInit2(z_streamp strm,
576 being written, strm->adler is a CRC-32 instead of an Adler-32.
611 ZEXTERN int ZEXPORT deflateSetDictionary(z_streamp strm,
641 Upon return of this function, strm->adler is set to the Adler-32 value
646 Adler-32 value is not computed and strm->adler is not set.
655 ZEXTERN int ZEXPORT deflateGetDictionary(z_streamp strm,
695 ZEXTERN int ZEXPORT deflateReset(z_streamp strm);
706 ZEXTERN int ZEXPORT deflateParams(z_streamp strm,
717 compressed with the old level and strategy using deflate(strm, Z_BLOCK).
722 If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
729 request until strm.avail_out is not zero, before calling deflateParams().
744 ZEXTERN int ZEXPORT deflateTune(z_streamp strm,
761 ZEXTERN uLong ZEXPORT deflateBound(z_streamp strm,
776 ZEXTERN int ZEXPORT deflatePending(z_streamp strm,
791 ZEXTERN int ZEXPORT deflatePrime(z_streamp strm,
808 ZEXTERN int ZEXPORT deflateSetHeader(z_streamp strm,
834 ZEXTERN int ZEXPORT inflateInit2(z_streamp strm,
868 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
888 ZEXTERN int ZEXPORT inflateSetDictionary(z_streamp strm,
911 ZEXTERN int ZEXPORT inflateGetDictionary(z_streamp strm,
926 ZEXTERN int ZEXPORT inflateSync(z_streamp strm);
961 ZEXTERN int ZEXPORT inflateReset(z_streamp strm);
972 ZEXTERN int ZEXPORT inflateReset2(z_streamp strm,
986 ZEXTERN int ZEXPORT inflatePrime(z_streamp strm,
1007 ZEXTERN long ZEXPORT inflateMark(z_streamp strm);
1035 ZEXTERN int ZEXPORT inflateGetHeader(z_streamp strm,
1076 ZEXTERN int ZEXPORT inflateBackInit(z_streamp strm, int windowBits,
1080 calls. The fields zalloc, zfree and opaque in strm must be initialized
1101 ZEXTERN int ZEXPORT inflateBack(z_streamp strm,
1145 setting strm->next_in and strm->avail_in. If that input is exhausted, then
1146 in() will be called. Therefore strm->next_in must be initialized before
1147 calling inflateBack(). If strm->next_in is Z_NULL, then in() will be called
1148 immediately for input. If strm->next_in is not Z_NULL, then strm->avail_in
1149 must also be initialized, and then if strm->avail_in is not zero, input will
1150 initially be taken from strm->next_in[0 .. strm->avail_in - 1].
1157 On return, inflateBack() will set strm->next_in and strm->avail_in to
1161 in the deflate stream (in which case strm->msg is set to indicate the nature
1164 using strm->next_in which will be Z_NULL only if in() returned an error. If
1165 strm->next_in is not Z_NULL, then the Z_BUF_ERROR was due to out() returning
1166 non-zero. (in() will always be called before out(), so strm->next_in is
1171 ZEXTERN int ZEXPORT inflateBackEnd(z_streamp strm);
1784 ZEXTERN int ZEXPORT deflateInit_(z_streamp strm, int level,
1786 ZEXTERN int ZEXPORT inflateInit_(z_streamp strm,
1788 ZEXTERN int ZEXPORT deflateInit2_(z_streamp strm, int level, int method,
1792 ZEXTERN int ZEXPORT inflateInit2_(z_streamp strm, int windowBits,
1794 ZEXTERN int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits,
1799 # define z_deflateInit(strm, level) \
1800 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1801 # define z_inflateInit(strm) \
1802 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1803 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1804 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1806 # define z_inflateInit2(strm, windowBits) \
1807 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1809 # define z_inflateBackInit(strm, windowBits, window) \
1810 inflateBackInit_((strm), (windowBits), (window), \
1813 # define deflateInit(strm, level) \
1814 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1815 # define inflateInit(strm) \
1816 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1817 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1818 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1820 # define inflateInit2(strm, windowBits) \
1821 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1823 # define inflateBackInit(strm, windowBits, window) \
1824 inflateBackInit_((strm), (windowBits), (window), \