Lines Matching refs:windowBits
192 int windowBits,
215 if (windowBits < 0) { /* undocumented feature: suppress zlib header */
217 windowBits = -windowBits;
220 windowBits < 9 || windowBits > 15 || level < 0 || level > 9 ||
240 next += zlib_deflate_window_memsize(windowBits);
242 next += zlib_deflate_prev_memsize(windowBits);
252 s->w_bits = windowBits;
1127 int zlib_deflate_workspacesize(int windowBits, int memLevel)
1129 if (windowBits < 0) /* undocumented feature: suppress zlib header */
1130 windowBits = -windowBits;
1133 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 ||
1134 windowBits > 15);
1137 + zlib_deflate_window_memsize(windowBits)
1138 + zlib_deflate_prev_memsize(windowBits)