Home | History | Annotate | Download | only in zlib

Lines Matching refs:wsize

1394     uInt wsize = s->w_size;
1404 more = wsize;
1417 if (s->strstart >= wsize+MAX_DIST(s)) {
1419 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1420 s->match_start -= wsize;
1421 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1422 s->block_start -= (long) wsize;
1434 *p = (Pos)(m >= wsize ? m-wsize : NIL);
1437 n = wsize;
1442 *p = (Pos)(m >= wsize ? m-wsize : NIL);
1448 more += wsize;
1453 * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&
1455 * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)
1456 * => more >= window_size - 2*WSIZE + 2
1460 * Otherwise, window_size == 2*WSIZE so more >= 2.
1461 * If there was sliding, more >= WSIZE. So in all cases, more >= 2.
1684 /* strstart never exceeds WSIZE-MAX_MATCH, so there are