• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/archival/

Lines Matching refs:WSIZE

107 #ifndef WSIZE
108 # define WSIZE 0x8000 /* window size--must be a power of two, and */
120 #define MAX_DIST (WSIZE-MIN_LOOKAHEAD)
122 * distances are limited to MAX_DIST instead of WSIZE.
176 #define WMASK (WSIZE-1)
177 /* HASH_SIZE and WSIZE must be powers of two */
199 WINDOW_SIZE = 2 * WSIZE,
200 /* window size, 2*WSIZE except for MMAP or BIG_MEM, where it is the
283 * and move to the first half later to keep a dictionary of at least WSIZE
285 * WSIZE-MAX_MATCH bytes, but this ensures that IO is always
288 * To do: limit the window size to WSIZE+BSZ if SMALL_MEM (the code would
291 DECLARE(uch, window, 2L * WSIZE);
297 /* DECLARE(Pos, prev, WSIZE); */
302 #define head (G1.prev + WSIZE) /* hash head (see deflate.c) */
550 } else if (G1.strstart >= WSIZE + MAX_DIST) {
554 Assert(WINDOW_SIZE == 2 * WSIZE, "no sliding with BIG_MEM");
556 memcpy(G1.window, G1.window + WSIZE, WSIZE);
557 G1.match_start -= WSIZE;
558 G1.strstart -= WSIZE; /* we now have strstart >= MAX_DIST: */
560 G1.block_start -= WSIZE;
564 head[n] = (Pos) (m >= WSIZE ? m - WSIZE : 0);
566 for (n = 0; n < WSIZE; n++) {
568 G1.prev[n] = (Pos) (m >= WSIZE ? m - WSIZE : 0);
573 more += WSIZE;
1629 /* Since LIT_BUFSIZE <= 2*WSIZE, the input data must be there: */
1638 /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.
1639 * Otherwise we can't have processed more than WSIZE input bytes since
1641 * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to
1774 /* strstart never exceeds WSIZE-MAX_MATCH, so there are
1856 sizeof(int) <= 2 ? (unsigned) WSIZE : 2 * WSIZE);
2076 ALLOC(uch, G1.window, 2L * WSIZE);