Home
last modified time | relevance | path

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

/linux-6.1.9/lib/zlib_deflate/
Ddeflate.c192 int windowBits, in zlib_deflateInit2() argument
215 if (windowBits < 0) { /* undocumented feature: suppress zlib header */ in zlib_deflateInit2()
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()
1127 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument
1129 if (windowBits < 0) /* undocumented feature: suppress zlib header */ in zlib_deflate_workspacesize()
1130 windowBits = -windowBits; in zlib_deflate_workspacesize()
[all …]
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))
/linux-6.1.9/include/linux/
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);
/linux-6.1.9/lib/zlib_inflate/
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()