Lines Matching refs:strm

220 ZEXTERN int ZEXPORT deflateInit OF((z_streamp strm, int level));
242 ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush));
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
328 ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm));
343 ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm));
363 ZEXTERN int ZEXPORT inflate OF((z_streamp strm, int flush));
402 Also to assist in this, on return inflate() will set strm->data_type to the
403 number of unused bits in the last byte taken from strm->next_in, plus 64
408 uncompressed data from that block has been written to strm->next_out. The
431 below), inflate sets strm->adler to the adler32 checksum of the dictionary
433 strm->adler to the adler32 checksum of all output produced so far (that is,
462 ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));
480 ZEXTERN int ZEXPORT deflateInit2 OF((z_streamp strm,
509 gzip stream is being written, strm->adler is a crc32 instead of an adler32.
538 ZEXTERN int ZEXPORT deflateSetDictionary OF((z_streamp strm,
563 Upon return of this function, strm->adler is set to the adler32 value
568 adler32 value is not computed and strm->adler is not set.
595 ZEXTERN int ZEXPORT deflateReset OF((z_streamp strm));
606 ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm,
620 be compressed and flushed. In particular, strm->avail_out must be non-zero.
624 if strm->avail_out was zero.
627 ZEXTERN int ZEXPORT deflateTune OF((z_streamp strm,
644 ZEXTERN uLong ZEXPORT deflateBound OF((z_streamp strm,
653 ZEXTERN int ZEXPORT deflatePrime OF((z_streamp strm,
669 ZEXTERN int ZEXPORT deflateSetHeader OF((z_streamp strm,
694 ZEXTERN int ZEXPORT inflateInit2 OF((z_streamp strm,
725 return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is
729 memory, Z_STREAM_ERROR if a parameter is invalid (such as a null strm). msg
736 ZEXTERN int ZEXPORT inflateSetDictionary OF((z_streamp strm,
758 ZEXTERN int ZEXPORT inflateSync OF((z_streamp strm));
789 ZEXTERN int ZEXPORT inflateReset OF((z_streamp strm));
799 ZEXTERN int ZEXPORT inflatePrime OF((z_streamp strm,
815 ZEXTERN int ZEXPORT inflateGetHeader OF((z_streamp strm,
856 ZEXTERN int ZEXPORT inflateBackInit OF((z_streamp strm, int windowBits,
860 calls. The fields zalloc, zfree and opaque in strm must be initialized
880 ZEXTERN int ZEXPORT inflateBack OF((z_streamp strm,
923 setting strm->next_in and strm->avail_in. If that input is exhausted, then
924 in() will be called. Therefore strm->next_in must be initialized before
925 calling inflateBack(). If strm->next_in is Z_NULL, then in() will be called
926 immediately for input. If strm->next_in is not Z_NULL, then strm->avail_in
927 must also be initialized, and then if strm->avail_in is not zero, input will
928 initially be taken from strm->next_in[0 .. strm->avail_in - 1].
935 On return, inflateBack() will set strm->next_in and strm->avail_in to
939 error in the deflate stream (in which case strm->msg is set to indicate the
942 distinguished using strm->next_in which will be Z_NULL only if in() returned
943 an error. If strm->next is not Z_NULL, then the Z_BUF_ERROR was due to
945 strm->next_in is assured to be defined if out() returns non-zero.) Note
949 ZEXTERN int ZEXPORT inflateBackEnd OF((z_streamp strm));
1344 ZEXTERN int ZEXPORT deflateInit_ OF((z_streamp strm, int level,
1346 ZEXTERN int ZEXPORT inflateInit_ OF((z_streamp strm,
1348 ZEXTERN int ZEXPORT deflateInit2_ OF((z_streamp strm, int level, int method,
1352 ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
1354 ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits,
1358 #define deflateInit(strm, level) \
1359 deflateInit_((strm), (level), ZLIB_VERSION, sizeof(z_stream))
1360 #define inflateInit(strm) \
1361 inflateInit_((strm), ZLIB_VERSION, sizeof(z_stream))
1362 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \
1363 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1365 #define inflateInit2(strm, windowBits) \
1366 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
1367 #define inflateBackInit(strm, windowBits, window) \
1368 inflateBackInit_((strm), (windowBits), (window), \