Searched refs:windowBits (Results 1 – 4 of 4) sorted by relevance
192 int windowBits, in zlib_deflateInit2() argument215 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() argument1129 if (windowBits < 0) /* undocumented feature: suppress zlib header */ in zlib_deflate_workspacesize()1130 windowBits = -windowBits; in zlib_deflate_workspacesize()[all …]
244 #define zlib_deflate_window_memsize(windowBits) \ argument245 (2 * (1 << (windowBits)) * sizeof(Byte) + PAGE_SIZE)247 #define zlib_deflate_window_memsize(windowBits) \ argument248 (2 * (1 << (windowBits)) * sizeof(Byte))250 #define zlib_deflate_prev_memsize(windowBits) \ argument251 ((1 << (windowBits)) * sizeof(Pos))
182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel);587 int windowBits, int memLevel,589 extern int zlib_inflateInit2(z_streamp strm, int windowBits);
59 int zlib_inflateInit2(z_streamp strm, int windowBits) in zlib_inflateInit2() argument69 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()