Home
last modified time | relevance | path

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

/openbmc/linux/lib/zlib_deflate/
H A Ddeflate.c192 int windowBits, in zlib_deflateInit2() argument
217 windowBits = -windowBits; in zlib_deflateInit2()
220 windowBits < 9 || windowBits > 15 || level < 0 || level > 9 || in zlib_deflateInit2()
240 next += zlib_deflate_window_memsize(windowBits); in zlib_deflateInit2()
242 next += zlib_deflate_prev_memsize(windowBits); in zlib_deflateInit2()
252 s->w_bits = windowBits; in zlib_deflateInit2()
1134 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument
1137 windowBits = -windowBits; in zlib_deflate_workspacesize()
1141 windowBits > 15); in zlib_deflate_workspacesize()
1144 + zlib_deflate_window_memsize(windowBits) in zlib_deflate_workspacesize()
[all …]
H A Ddefutil.h244 #define zlib_deflate_window_memsize(windowBits) \ argument
245 (2 * (1 << (windowBits)) * sizeof(Byte) + PAGE_SIZE)
247 #define zlib_deflate_window_memsize(windowBits) \ argument
248 (2 * (1 << (windowBits)) * sizeof(Byte))
250 #define zlib_deflate_prev_memsize(windowBits) \ argument
251 ((1 << (windowBits)) * sizeof(Pos))
/openbmc/linux/include/linux/
H A Dzlib.h182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel);
587 int windowBits, int memLevel,
589 extern int zlib_inflateInit2(z_streamp strm, int windowBits);
/openbmc/linux/lib/zlib_inflate/
H A Dinflate.c59 int zlib_inflateInit2(z_streamp strm, int windowBits) in zlib_inflateInit2() argument
69 if (windowBits < 0) { in zlib_inflateInit2()
71 windowBits = -windowBits; in zlib_inflateInit2()
74 state->wrap = (windowBits >> 4) + 1; in zlib_inflateInit2()
76 if (windowBits < 8 || windowBits > 15) { in zlib_inflateInit2()
79 state->wbits = (unsigned)windowBits; in zlib_inflateInit2()
/openbmc/u-boot/lib/zlib/
H A Dinflate.c33 int ZEXPORT inflateInit2_(z_streamp strm, int windowBits, const char *version, in inflateInit2_() argument
53 if (windowBits < 0) { in inflateInit2_()
55 windowBits = -windowBits; in inflateInit2_()
58 state->wrap = (windowBits >> 4) + 1; in inflateInit2_()
60 if (windowBits < 48) windowBits &= 15; in inflateInit2_()
63 if (windowBits < 8 || windowBits > 15) { in inflateInit2_()
68 state->wbits = (unsigned)windowBits; in inflateInit2_()
H A Ddeflate.c210 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
215 int windowBits;
249 if (windowBits < 0) { /* suppress zlib wrapper */
251 windowBits = -windowBits;
254 else if (windowBits > 15) {
256 windowBits -= 16;
260 windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||
264 if (windowBits == 8) windowBits = 9; /* until 256-byte window bug fixed */
272 s->w_bits = windowBits;
/openbmc/u-boot/include/u-boot/
H A Dzlib.h523 int windowBits, int memLevel,
713 ZEXTERN int ZEXPORT inflateInit2_ OF((z_streamp strm, int windowBits,
717 #define inflateInit2(strm, windowBits) \ argument
718 inflateInit2_((strm), (windowBits), ZLIB_VERSION, sizeof(z_stream))