Home
last modified time | relevance | path

Searched refs:windowBits (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/contrib/zlib/
H A Dzlib.h970 int windowBits));
1786 int windowBits, int memLevel,
1789 ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
1803 # define z_inflateInit2(strm, windowBits) \ argument
1804 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1806 # define z_inflateBackInit(strm, windowBits, window) \ argument
1807 inflateBackInit_((strm), (windowBits), (window), \
1817 # define inflateInit2(strm, windowBits) \ argument
1818 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1820 # define inflateBackInit(strm, windowBits, window) \ argument
[all …]
H A Dinflate.c155 int ZEXPORT inflateReset2(z_streamp strm, int windowBits) in inflateReset2() argument
165 if (windowBits < 0) { in inflateReset2()
167 windowBits = -windowBits; in inflateReset2()
170 wrap = (windowBits >> 4) + 5; in inflateReset2()
172 if (windowBits < 48) in inflateReset2()
173 windowBits &= 15; in inflateReset2()
178 if (windowBits && (windowBits < 8 || windowBits > 15)) in inflateReset2()
180 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
187 state->wbits = (unsigned)windowBits; in inflateReset2()
191 int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, in inflateInit2_() argument
[all …]
H A Dinfback.c28 int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, in inflateBackInit_() argument
37 windowBits < 8 || windowBits > 15) in inflateBackInit_()
60 state->wbits = (uInt)windowBits; in inflateBackInit_()
61 state->wsize = 1U << windowBits; in inflateBackInit_()
H A Ddeflate.c241 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
246 int windowBits;
284 if (windowBits < 0) { /* suppress zlib wrapper */
286 windowBits = -windowBits;
289 else if (windowBits > 15) {
291 windowBits -= 16;
295 windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
296 strategy < 0 || strategy > Z_FIXED || (windowBits == 8 && wrap != 1)) {
299 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */
308 s->w_bits = (uInt)windowBits;
H A DChangeLog86 - Fix inflateInit2() bug when windowBits is 16 or 32
90 - Fix bug that accepted invalid zlib header when windowBits is zero
570 - Use zlib header window size if windowBits is 0 in inflateInit2()
975 - Be more strict when checking inflateInit2's windowBits parameter
977 - Add gzip wrapper option to deflateInit2 using windowBits
1108 - force windowBits > 8 to avoid a bug in the encoder for a window size
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.h1176 int windowBits, int memLevel, int strategy,
1178 ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
1184 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1185 deflateInit2_((strm), (level), (method), (windowBits), (memLevel), \
1187 #define inflateInit2(strm, windowBits) \ argument
1188 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof (z_stream))
H A Dzlib.c848 int deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
853 int windowBits;
891 if (windowBits < 0) { /* undocumented feature: suppress zlib header */
893 windowBits = -windowBits;
896 windowBits <= 8 || windowBits > 15 || level < 0 || level > 9 ||
907 s->w_bits = windowBits;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.h444 int windowBits,
536 int windowBits));
H A Dzlib.c589 int deflateInit2 (strm, level, method, windowBits, memLevel, in deflateInit2() argument
594 int windowBits;
610 if (windowBits < 0) { /* undocumented feature: suppress zlib header */
612 windowBits = -windowBits;
615 windowBits < 8 || windowBits > 15 || level < 1 || level > 9) {
624 s->w_bits = windowBits;
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c575 #define inflateInit2(strm, windowBits) \ argument
576 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))
2370 int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size) in inflateInit2_() argument
2372 int windowBits;
2393 if (windowBits < 0) {
2395 windowBits = -windowBits;
2398 state->wrap = (windowBits >> 4) + 1;
2400 if (windowBits < 48) windowBits &= 15;
2403 if (windowBits < 8 || windowBits > 15) {
2408 state->wbits = (unsigned)windowBits;