Lines Matching refs:strm
230 ZEXTERN int ZEXPORT deflateInit(z_streamp strm, int level);
252 ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush);
343 deflate() sets strm->adler to the Adler-32 checksum of all input read
345 strm->adler will be the CRC-32 checksum of the input read so far. (See
348 deflate() may update strm
365 ZEXTERN int ZEXPORT deflateEnd(z_streamp strm);
380 ZEXTERN int ZEXPORT inflateInit(z_streamp strm);
403 ZEXTERN int ZEXPORT inflate(z_streamp strm, int flush);
445 To assist in this, on return inflate() always sets strm->data_type to the
446 number of unused bits in the last byte taken from strm->next_in, plus 64 if
451 data from that block has been written to strm->next_out. The number of
462 256 is added to the value of strm->data_type when inflate() returns
489 below), inflate sets strm->adler to the Adler-32 checksum of the dictionary
491 strm->adler to the Adler-32 checksum of all output produced so far (that is,
501 gzip-wrapped deflate data, strm->adler32 is set to the CRC-32 of the output
510 value, in which case strm->msg points to a string with a more specific
523 ZEXTERN int ZEXPORT inflateEnd(z_streamp strm);
541 ZEXTERN int ZEXPORT deflateInit2(z_streamp strm,
578 being written, strm->adler is a CRC-32 instead of an Adler-32.
613 ZEXTERN int ZEXPORT deflateSetDictionary(z_streamp strm,
643 Upon return of this function, strm->adler is set to the Adler-32 value
648 Adler-32 value is not computed and strm->adler is not set.
657 ZEXTERN int ZEXPORT deflateGetDictionary(z_streamp strm,
697 ZEXTERN int ZEXPORT deflateReset(z_streamp strm);
708 ZEXTERN int ZEXPORT deflateParams(z_streamp strm,
719 compressed with the old level and strategy using deflate(strm, Z_BLOCK).
724 If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
731 request until strm.avail_out is not zero, before calling deflateParams().
746 ZEXTERN int ZEXPORT deflateTune(z_streamp strm,
763 ZEXTERN uLong ZEXPORT deflateBound(z_streamp strm,
778 ZEXTERN int ZEXPORT deflatePending(z_streamp strm,
793 ZEXTERN int ZEXPORT deflatePrime(z_streamp strm,
810 ZEXTERN int ZEXPORT deflateSetHeader(z_streamp strm,
836 ZEXTERN int ZEXPORT inflateInit2(z_streamp strm,
870 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
890 ZEXTERN int ZEXPORT inflateSetDictionary(z_streamp strm,
913 ZEXTERN int ZEXPORT inflateGetDictionary(z_streamp strm,
928 ZEXTERN int ZEXPORT inflateSync(z_streamp strm);
963 ZEXTERN int ZEXPORT inflateReset(z_streamp strm);
974 ZEXTERN int ZEXPORT inflateReset2(z_streamp strm,
988 ZEXTERN int ZEXPORT inflatePrime(z_streamp strm,
1009 ZEXTERN long ZEXPORT inflateMark(z_streamp strm);
1037 ZEXTERN int ZEXPORT inflateGetHeader(z_streamp strm,
1078 ZEXTERN int ZEXPORT inflateBackInit(z_streamp strm, int windowBits,
1082 calls. The fields zalloc, zfree and opaque in strm must be initialized
1103 ZEXTERN int ZEXPORT inflateBack(z_streamp strm,
1147 setting strm->next_in and strm->avail_in. If that input is exhausted, then
1148 in() will be called. Therefore strm->next_in must be initialized before
1149 calling inflateBack(). If strm->next_in is Z_NULL, then in() will be called
1150 immediately for input. If strm->next_in is not Z_NULL, then strm->avail_in
1151 must also be initialized, and then if strm->avail_in is not zero, input will
1152 initially be taken from strm->next_in[0 .. strm->avail_in - 1].
1159 On return, inflateBack() will set strm->next_in and strm->avail_in to
1163 in the deflate stream (in which case strm->msg is set to indicate the nature
1166 using strm->next_in which will be Z_NULL only if in() returned an error. If
1167 strm->next_in is not Z_NULL, then the Z_BUF_ERROR was due to out() returning
1168 non-zero. (in() will always be called before out(), so strm->next_in is
1173 ZEXTERN int ZEXPORT inflateBackEnd(z_streamp strm);
1788 ZEXTERN int ZEXPORT deflateInit_(z_streamp strm, int level,
1790 ZEXTERN int ZEXPORT inflateInit_(z_streamp strm,
1792 ZEXTERN int ZEXPORT deflateInit2_(z_streamp strm, int level, int method,
1796 ZEXTERN int ZEXPORT inflateInit2_(z_streamp strm, int windowBits,
1798 ZEXTERN int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits,
1803 # define z_deflateInit(strm, level) \
1804 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1805 # define z_inflateInit(strm) \
1806 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1807 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1808 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1810 # define z_inflateInit2(strm, windowBits) \
1811 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1813 # define z_inflateBackInit(strm, windowBits, window) \
1814 inflateBackInit_((strm), (windowBits), (window), \
1817 # define deflateInit(strm, level) \
1818 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1819 # define inflateInit(strm) \
1820 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1821 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1822 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1824 # define inflateInit2(strm, windowBits) \
1825 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1827 # define inflateBackInit(strm, windowBits, window) \
1828 inflateBackInit_((strm), (windowBits), (window), \