Lines Matching refs:w_size
192 uInt wsize = s->w_size;
256 uInt wsize = s->w_size;
443 s->w_size = 1 << s->w_bits;
444 s->w_mask = s->w_size - 1;
451 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
452 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
573 if (dictLength >= s->w_size) {
580 dictionary += dictLength - s->w_size; /* use the tail */
581 dictLength = s->w_size;
627 if (len > s->w_size)
628 len = s->w_size;
676 s->window_size = (ulg)2L*s->w_size;
1308 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1309 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1319 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
1320 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos));
1634 unsigned min_block = MIN(s->pending_buf_size - 5, s->w_size);
1713 /* Update the sliding window with the last s->w_size bytes of the copied
1715 * than s->w_size bytes were copied. Also update the number of bytes to
1724 if (used >= s->w_size) { /* supplant the previous history */
1726 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
1727 w_size;
1733 s->strstart -= s->w_size;
1734 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1742 s->insert += MIN(used, s->w_size - s->insert);
1760 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1762 s->block_start -= s->w_size;
1763 s->strstart -= s->w_size;
1764 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1767 have += s->w_size; /* more space now */
1776 s->insert += MIN(have, s->w_size - s->insert);
1789 min_block = MIN(have, s->w_size);