Home | History | Annotate | Download | only in zlib

Lines Matching refs:w_size

209     uInt wsize = s->w_size;
311 s->w_size = 1 << s->w_bits;
312 s->w_mask = s->w_size - 1;
319 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
320 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
440 if (dictLength >= s->w_size) {
447 dictionary += dictLength - s->w_size; /* use the tail */
448 dictLength = s->w_size;
497 if (len > s->w_size)
498 len = s->w_size;
1170 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1171 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1181 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
1182 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos));
1237 s->window_size = (ulg)2L*s->w_size;
1527 uInt wsize = s->w_size;
1693 unsigned min_block = MIN(s->pending_buf_size - 5, s->w_size);
1772 /* Update the sliding window with the last s->w_size bytes of the copied
1774 * than s->w_size bytes were copied. Also update the number of bytes to
1783 if (used >= s->w_size) { /* supplant the previous history */
1785 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
1786 s->strstart = s->w_size;
1792 w_size;
1793 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1801 s->insert += MIN(used, s->w_size - s->insert);
1819 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1821 s->block_start -= s->w_size;
1822 s->strstart -= s->w_size;
1823 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1826 have += s->w_size; /* more space now */
1835 s->insert += MIN(have, s->w_size - s->insert);
1848 min_block = MIN(have, s->w_size);