Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/zlib_deflate/
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 …]
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))
/linux-6.3-rc2/include/linux/
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);
/linux-6.3-rc2/lib/zlib_inflate/
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()

Completed in 11 milliseconds