Searched refs:windowBits (Results 1 – 3 of 3) sorted by relevance
171 int windowBits, in zlib_deflateInit2() argument194 if (windowBits < 0) { /* undocumented feature: suppress zlib header */ in zlib_deflateInit2()196 windowBits = -windowBits; in zlib_deflateInit2()199 windowBits < 9 || windowBits > 15 || level < 0 || level > 9 || in zlib_deflateInit2()211 next += zlib_deflate_window_memsize(windowBits); in zlib_deflateInit2()213 next += zlib_deflate_prev_memsize(windowBits); in zlib_deflateInit2()223 s->w_bits = windowBits; in zlib_deflateInit2()1123 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument1125 if (windowBits < 0) /* undocumented feature: suppress zlib header */ in zlib_deflate_workspacesize()1126 windowBits = -windowBits; in zlib_deflate_workspacesize()[all …]
250 #define zlib_deflate_window_memsize(windowBits) \ argument251 (2 * (1 << (windowBits)) * sizeof(Byte))252 #define zlib_deflate_prev_memsize(windowBits) \ argument253 ((1 << (windowBits)) * sizeof(Pos))
48 int zlib_inflateInit2(z_streamp strm, int windowBits) in zlib_inflateInit2() argument58 if (windowBits < 0) { in zlib_inflateInit2()60 windowBits = -windowBits; in zlib_inflateInit2()63 state->wrap = (windowBits >> 4) + 1; in zlib_inflateInit2()65 if (windowBits < 8 || windowBits > 15) { in zlib_inflateInit2()68 state->wbits = (unsigned)windowBits; in zlib_inflateInit2()