Lines Matching refs:w_size
206 uInt wsize = s->w_size;
313 s->w_size = 1 << s->w_bits;
314 s->w_mask = s->w_size - 1;
321 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
322 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
400 if (dictLength >= s->w_size) {
407 dictionary += dictLength - s->w_size; /* use the tail */
408 dictLength = s->w_size;
457 if (len > s->w_size)
458 len = s->w_size;
1128 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1129 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1140 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
1141 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos));
1197 s->window_size = (ulg)2L*s->w_size;
1487 uInt wsize = s->w_size;
1651 unsigned min_block = MIN(s->pending_buf_size - 5, s->w_size);
1741 if (used >= s->w_size) { /* supplant the previous history */
1743 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
1744 s->strstart = s->w_size;
1749 s->strstart -= s->w_size;
1750 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1758 s->insert += MIN(used, s->w_size - s->insert);
1774 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1776 s->block_start -= s->w_size;
1777 s->strstart -= s->w_size;
1778 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1781 have += s->w_size; /* more space now */
1800 min_block = MIN(have, s->w_size);