Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/zlib/
H A Dzlib.h969 int windowBits));
1773 int windowBits, int memLevel,
1776 ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
1790 # define z_inflateInit2(strm, windowBits) \ argument
1791 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1793 # define z_inflateBackInit(strm, windowBits, window) \ argument
1794 inflateBackInit_((strm), (windowBits), (window), \
1804 # define inflateInit2(strm, windowBits) \ argument
1805 inflateInit2_((strm), (windowBits), ZLIB_VERSION, \
1807 # define inflateBackInit(strm, windowBits, window) \ argument
[all …]
H A Dinflate.c157 int ZEXPORT inflateReset2(strm, windowBits) in inflateReset2() argument
159 int windowBits;
169 if (windowBits < 0) {
171 windowBits = -windowBits;
174 wrap = (windowBits >> 4) + 5;
176 if (windowBits < 48)
177 windowBits &= 15;
182 if (windowBits && (windowBits < 8 || windowBits > 15))
191 state->wbits = (unsigned)windowBits;
197 int windowBits;
[all …]
H A Dinfback.c28 int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) in inflateBackInit_() argument
30 int windowBits;
41 windowBits < 8 || windowBits > 15)
64 state->wbits = (uInt)windowBits;
65 state->wsize = 1U << windowBits;
H A Ddeflate.c243 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
248 int windowBits;
291 if (windowBits < 0) { /* suppress zlib wrapper */
293 windowBits = -windowBits;
296 else if (windowBits > 15) {
298 windowBits -= 16;
302 windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
303 strategy < 0 || strategy > Z_FIXED || (windowBits == 8 && wrap != 1)) {
306 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */
315 s->w_bits = (uInt)windowBits;
H A Dzconf.h.in264 /* Maximum value for windowBits in deflateInit2 and inflateInit2.
274 (1 << (windowBits+2)) + (1 << (memLevel+9))
275 that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
281 The memory requirements for inflate are (in bytes) 1 << windowBits
282 that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
H A DChangeLog23 - Fix inflateInit2() bug when windowBits is 16 or 32
27 - Fix bug that accepted invalid zlib header when windowBits is zero
507 - Use zlib header window size if windowBits is 0 in inflateInit2()
912 - Be more strict when checking inflateInit2's windowBits parameter
914 - Add gzip wrapper option to deflateInit2 using windowBits
1045 - force windowBits > 8 to avoid a bug in the encoder for a window size
/f-stack/freebsd/contrib/zstd/zlibWrapper/
H A Dzstd_zlibwrapper.c282 int windowBits, int memLevel, in z_deflateInit2_() argument
513 int windowBits; member
611 ZEXTERN int ZEXPORT z_inflateInit2_ OF((z_streamp strm, int windowBits, in z_inflateInit2_() argument
615 return inflateInit2_(strm, windowBits, version, stream_size); in z_inflateInit2_()
619 LOG_WRAPPERD("- inflateInit2 windowBits=%d\n", windowBits); in z_inflateInit2_()
623 zwd->windowBits = windowBits; in z_inflateInit2_()
667 int windowBits)) in z_inflateReset2() argument
670 return inflateReset2(strm, windowBits); in z_inflateReset2()
676 zwd->windowBits = windowBits; in z_inflateReset2()
741 { int const initErr = (zwd->windowBits) ? in z_inflate()
[all …]
/f-stack/freebsd/netgraph/
H A Dng_deflate.c235 if (cfg->windowBits < 8 || cfg->windowBits > 15) in ng_deflate_rcvmsg()
238 cfg->windowBits = 0; in ng_deflate_rcvmsg()
258 -cfg->windowBits, 8, in ng_deflate_rcvmsg()
268 -cfg->windowBits)) != Z_OK) { in ng_deflate_rcvmsg()
H A Dng_deflate.h46 u_char windowBits; /* log2(Window size) */ member
/f-stack/tools/compat/include/netgraph/
H A Dng_deflate.h44 u_char windowBits; /* log2(Window size) */ member
/f-stack/freebsd/contrib/openzfs/config/
H A Dkernel-zlib.m46 dnl # workspace (268K). The caller can now specific the windowBits and