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()
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()
1133 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 || in zlib_deflate_workspacesize()
1134 windowBits > 15); in zlib_deflate_workspacesize()
1137 + zlib_deflate_window_memsize(windowBits) in zlib_deflate_workspacesize()
1138 + zlib_deflate_prev_memsize(windowBits) in zlib_deflate_workspacesize()