Searched refs:memLevel (Results 1 – 3 of 3) sorted by relevance
193 int memLevel, in zlib_deflateInit2() argument219 if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method != Z_DEFLATED || in zlib_deflateInit2()244 next += zlib_deflate_head_memsize(memLevel); in zlib_deflateInit2()256 s->hash_bits = memLevel + 7; in zlib_deflateInit2()265 s->lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */ in zlib_deflateInit2()1134 int zlib_deflate_workspacesize(int windowBits, int memLevel) in zlib_deflate_workspacesize() argument1140 BUG_ON(memLevel < 1 || memLevel > MAX_MEM_LEVEL || windowBits < 9 || in zlib_deflate_workspacesize()1146 + zlib_deflate_head_memsize(memLevel) in zlib_deflate_workspacesize()1147 + zlib_deflate_overlay_memsize(memLevel); in zlib_deflate_workspacesize()
252 #define zlib_deflate_head_memsize(memLevel) \ argument253 ((1 << ((memLevel)+7)) * sizeof(Pos))254 #define zlib_deflate_overlay_memsize(memLevel) \ argument255 ((1 << ((memLevel)+6)) * (sizeof(ush)+2))
182 extern int zlib_deflate_workspacesize (int windowBits, int memLevel);587 int windowBits, int memLevel,