Lines Matching refs:windowBits
192 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()
1134 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument
1136 if (windowBits < 0) /* undocumented feature: suppress zlib header */ in zlib_deflate_workspacesize()
1137 windowBits = -windowBits; in zlib_deflate_workspacesize()
1140 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 || in zlib_deflate_workspacesize()
1141 windowBits > 15); in zlib_deflate_workspacesize()
1144 + zlib_deflate_window_memsize(windowBits) in zlib_deflate_workspacesize()
1145 + zlib_deflate_prev_memsize(windowBits) in zlib_deflate_workspacesize()