Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zlib/
H A Dzlib.h973 int windowBits);
1794 int windowBits, int memLevel,
1797 ZEXTERN int ZEXPORT inflateInit2_(z_streamp strm, int windowBits,
1799 ZEXTERN int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits,
1808 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1809 deflateInit2_((strm),(level),(method),(windowBits),(memLevel),\
1811 # define z_inflateInit2(strm, windowBits) \ argument
1812 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1814 # define z_inflateBackInit(strm, windowBits, window) \ argument
1815 inflateBackInit_((strm), (windowBits), (window), \
[all …]
H A Dinflate.c141 int ZEXPORT inflateReset2(z_streamp strm, int windowBits) { in inflateReset2() argument
150 if (windowBits < 0) { in inflateReset2()
151 if (windowBits < -15) in inflateReset2()
154 windowBits = -windowBits; in inflateReset2()
157 wrap = (windowBits >> 4) + 5; in inflateReset2()
159 if (windowBits < 48) in inflateReset2()
160 windowBits &= 15; in inflateReset2()
165 if (windowBits && (windowBits < 8 || windowBits > 15)) in inflateReset2()
167 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
174 state->wbits = (unsigned)windowBits; in inflateReset2()
[all …]
H A Dinfback.c25 int ZEXPORT inflateBackInit_(z_streamp strm, int windowBits, in inflateBackInit_() argument
34 windowBits < 8 || windowBits > 15) in inflateBackInit_()
57 state->wbits = (uInt)windowBits; in inflateBackInit_()
58 state->wsize = 1U << windowBits; in inflateBackInit_()
H A Ddeflate.c380 int windowBits, int memLevel, int strategy, in deflateInit2_() argument
414 if (windowBits < 0) { /* suppress zlib wrapper */ in deflateInit2_()
416 if (windowBits < -15) in deflateInit2_()
418 windowBits = -windowBits; in deflateInit2_()
421 else if (windowBits > 15) { in deflateInit2_()
423 windowBits -= 16; in deflateInit2_()
427 windowBits < 8 || windowBits > 15 || level < 0 || level > 9 || in deflateInit2_()
428 strategy < 0 || strategy > Z_FIXED || (windowBits == 8 && wrap != 1)) { in deflateInit2_()
431 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */ in deflateInit2_()
440 s->w_bits = (uInt)windowBits; in deflateInit2_()
H A Dzconf.h.in271 /* Maximum value for windowBits in deflateInit2 and inflateInit2.
281 (1 << (windowBits+2)) + (1 << (memLevel+9))
282 that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
288 The memory requirements for inflate are (in bytes) 1 << windowBits
289 that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
H A DChangeLog126 - Fix inflateInit2() bug when windowBits is 16 or 32
130 - Fix bug that accepted invalid zlib header when windowBits is zero
610 - Use zlib header window size if windowBits is 0 in inflateInit2()
1015 - Be more strict when checking inflateInit2's windowBits parameter
1017 - Add gzip wrapper option to deflateInit2 using windowBits
1148 - force windowBits > 8 to avoid a bug in the encoder for a window size
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c291 int windowBits, int memLevel, in z_deflateInit2_() argument
296 … return deflateInit2_(strm, level, method, windowBits, memLevel, strategy, version, stream_size); in z_deflateInit2_()
528 int windowBits; member
626 ZEXTERN int ZEXPORT z_inflateInit2_ OF((z_streamp strm, int windowBits, in z_inflateInit2_() argument
630 return inflateInit2_(strm, windowBits, version, stream_size); in z_inflateInit2_()
634 LOG_WRAPPERD("- inflateInit2 windowBits=%d\n", windowBits); in z_inflateInit2_()
638 zwd->windowBits = windowBits; in z_inflateInit2_()
682 int windowBits)) in z_inflateReset2() argument
685 return inflateReset2(strm, windowBits); in z_inflateReset2()
691 zwd->windowBits = windowBits; in z_inflateReset2()
[all …]
/freebsd/sys/netgraph/
H A Dng_deflate.c233 if (cfg->windowBits < 8 || cfg->windowBits > 15) in ng_deflate_rcvmsg()
236 cfg->windowBits = 0; in ng_deflate_rcvmsg()
256 -cfg->windowBits, 8, in ng_deflate_rcvmsg()
266 -cfg->windowBits)) != Z_OK) { in ng_deflate_rcvmsg()
H A Dng_deflate.h44 u_char windowBits; /* log2(Window size) */ member
/freebsd/contrib/libfido2/fuzz/
H A Dwrap.c656 (z_streamp strm, int level, int method, int windowBits, int memLevel,
659 (strm, level, method, windowBits, memLevel, strategy, version,