Searched refs:w_size (Results 1 – 3 of 3) sorted by relevance
29 int w_size; member91 int w_size; in z_comp_alloc() local99 w_size = DEFLATE_SIZE(options[2]); in z_comp_alloc()100 if (w_size < DEFLATE_MIN_SIZE || w_size > DEFLATE_MAX_SIZE) in z_comp_alloc()109 state->w_size = w_size; in z_comp_alloc()110 state->strm.workspace = vmalloc(zlib_deflate_workspacesize(-w_size, 8)); in z_comp_alloc()115 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) in z_comp_alloc()149 DEFLATE_SIZE(options[2]) != state->w_size || in z_comp_init()308 int w_size; in z_decomp_alloc() local316 w_size = DEFLATE_SIZE(options[2]); in z_decomp_alloc()[all …]
224 s->w_size = 1 << s->w_bits; in zlib_deflateInit2()225 s->w_mask = s->w_size - 1; in zlib_deflateInit2()611 memcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));612 memcpy(ds->prev, ss->prev, ds->w_size * sizeof(Pos));666 s->window_size = (ulg)2L*s->w_size; in lm_init()883 uInt wsize = s->w_size; in fill_window()1016 Assert(s->strstart < s->w_size+MAX_DIST(s) || in deflate_stored()1017 s->block_start >= (long)s->w_size, "slide too late"); in deflate_stored()
85 uInt w_size; /* LZ77 window size (32K by default) */ member270 #define MAX_DIST(s) ((s)->w_size-MIN_LOOKAHEAD)