Lines Matching refs:w_size
191 uInt wsize = s->w_size;
257 uInt wsize = s->w_size;
444 s->w_size = 1 << s->w_bits;
445 s->w_mask = s->w_size - 1;
452 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
453 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
575 if (dictLength >= s->w_size) {
582 dictionary += dictLength - s->w_size; /* use the tail */
583 dictLength = s->w_size;
629 if (len > s->w_size)
630 len = s->w_size;
679 s->window_size = (ulg)2L*s->w_size;
1314 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1315 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1325 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
1326 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos));
1644 unsigned min_block = MIN(s->pending_buf_size - 5, s->w_size);
1723 /* Update the sliding window with the last s->w_size bytes of the copied
1725 * than s->w_size bytes were copied. Also update the number of bytes to
1734 if (used >= s->w_size) { /* supplant the previous history */
1736 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
1737 s->strstart = s->w_size;
1743 s->strstart -= s->w_size;
1744 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1752 s->insert += MIN(used, s->w_size - s->insert);
1770 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1772 s->block_start -= s->w_size;
1773 s->strstart -= s->w_size;
1774 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1777 have += s->w_size; /* more space now */
1786 s->insert += MIN(have, s->w_size - s->insert);
1799 min_block = MIN(have, s->w_size);