Lines Matching refs:w_size

178     slide_hash_simd(s->head, s->prev, s->w_size, s->hash_size);
184 uInt wsize = s->w_size;
252 uInt wsize = s->w_size;
462 s->w_size = 1 << s->w_bits;
463 s->w_mask = s->w_size - 1;
480 s->w_size + window_padding,
484 zmemzero(s->window, (s->w_size + window_padding) * (2 * sizeof(Byte)));
485 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
489 zmemzero(s->prev, s->w_size * sizeof(Pos));
613 if (dictLength >= s->w_size) {
620 dictionary += dictLength - s->w_size; /* use the tail */
621 dictLength = s->w_size;
663 if (len > s->w_size)
664 len = s->w_size;
712 s->window_size = (ulg)2L*s->w_size;
1345 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1346 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1360 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof(Byte));
1361 zmemcpy((voidpf)ds->prev, (voidpf)ss->prev, ds->w_size * sizeof(Pos));
1689 unsigned min_block = MIN(s->pending_buf_size - 5, s->w_size);
1768 /* Update the sliding window with the last s->w_size bytes of the copied
1770 * than s->w_size bytes were copied. Also update the number of bytes to
1779 if (used >= s->w_size) { /* supplant the previous history */
1781 zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);
1782 s->strstart = s->w_size;
1788 s->strstart -= s->w_size;
1789 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1797 s->insert += MIN(used, s->w_size - s->insert);
1815 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1817 s->block_start -= s->w_size;
1818 s->strstart -= s->w_size;
1819 zmemcpy(s->window, s->window + s->w_size, s->strstart);
1822 have += s->w_size; /* more space now */
1831 s->insert += MIN(have, s->w_size - s->insert);
1844 min_block = MIN(have, s->w_size);