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.
614 ZEXTERN int ZEXPORT deflateSetDictionary(z_streamp strm,
644 Upon return of this function, strm->adler is set to the Adler-32 value
649 Adler-32 value is not computed and strm->adler is not set.
658 ZEXTERN int ZEXPORT deflateGetDictionary(z_streamp strm,
698 ZEXTERN int ZEXPORT deflateReset(z_streamp strm);
709 ZEXTERN int ZEXPORT deflateParams(z_streamp strm,
720 compressed with the old level and strategy using deflate(strm, Z_BLOCK).
725 If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does
732 request until strm.avail_out is not zero, before calling deflateParams().
747 ZEXTERN int ZEXPORT deflateTune(z_streamp strm,
764 ZEXTERN uLong ZEXPORT deflateBound(z_streamp strm,
779 ZEXTERN int ZEXPORT deflatePending(z_streamp strm,
794 ZEXTERN int ZEXPORT deflateUsed(z_streamp strm,
806 ZEXTERN int ZEXPORT deflatePrime(z_streamp strm,
823 ZEXTERN int ZEXPORT deflateSetHeader(z_streamp strm,
849 ZEXTERN int ZEXPORT inflateInit2(z_streamp strm,
883 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a
903 ZEXTERN int ZEXPORT inflateSetDictionary(z_streamp strm,
926 ZEXTERN int ZEXPORT inflateGetDictionary(z_streamp strm,
941 ZEXTERN int ZEXPORT inflateSync(z_streamp strm);
976 ZEXTERN int ZEXPORT inflateReset(z_streamp strm);
987 ZEXTERN int ZEXPORT inflateReset2(z_streamp strm,
1001 ZEXTERN int ZEXPORT inflatePrime(z_streamp strm,
1022 ZEXTERN long ZEXPORT inflateMark(z_streamp strm);
1050 ZEXTERN int ZEXPORT inflateGetHeader(z_streamp strm,
1091 ZEXTERN int ZEXPORT inflateBackInit(z_streamp strm, int windowBits,
1095 calls. The fields zalloc, zfree and opaque in strm must be initialized
1116 ZEXTERN int ZEXPORT inflateBack(z_streamp strm,
1160 setting strm->next_in and strm->avail_in. If that input is exhausted, then
1161 in() will be called. Therefore strm->next_in must be initialized before
1162 calling inflateBack(). If strm->next_in is Z_NULL, then in() will be called
1163 immediately for input. If strm->next_in is not Z_NULL, then strm->avail_in
1164 must also be initialized, and then if strm->avail_in is not zero, input will
1165 initially be taken from strm->next_in[0 .. strm->avail_in - 1].
1172 On return, inflateBack() will set strm->next_in and strm->avail_in to
1176 in the deflate stream (in which case strm->msg is set to indicate the nature
1179 using strm->next_in which will be Z_NULL only if in() returned an error. If
1180 strm->next_in is not Z_NULL, then the Z_BUF_ERROR was due to out() returning
1181 non-zero. (in() will always be called before out(), so strm->next_in is
1186 ZEXTERN int ZEXPORT inflateBackEnd(z_streamp strm);
1799 ZEXTERN int ZEXPORT deflateInit_(z_streamp strm, int level,
1801 ZEXTERN int ZEXPORT inflateInit_(z_streamp strm,
1803 ZEXTERN int ZEXPORT deflateInit2_(z_streamp strm, int level, int method,
1807 ZEXTERN int ZEXPORT inflateInit2_(z_streamp strm, int windowBits,
1809 ZEXTERN int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits,
1814 # define z_deflateInit(strm, level) \
1815 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1816 # define z_inflateInit(strm) \
1817 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1818 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1819 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1821 # define z_inflateInit2(strm, windowBits) \
1822 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1824 # define z_inflateBackInit(strm, windowBits, window) \
1825 inflateBackInit_((strm), (windowBits), (window), \
1828 # define deflateInit(strm, level) \
1829 deflateInit_((strm), (level), ZLIB_VERSION, (int)sizeof(z_stream))
1830 # define inflateInit(strm) \
1831 inflateInit_((strm), ZLIB_VERSION, (int)sizeof(z_stream))
1832 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1833 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1835 # define inflateInit2(strm, windowBits) \
1836 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1838 # define inflateBackInit(strm, windowBits, window) \
1839 inflateBackInit_((strm), (windowBits), (window), \