Lines Matching refs:window
380 Bytef *window; member
814 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
819 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
916 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof (Byte));
926 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
974 zmemcpy(s->window, dictionary, length);
983 s->ins_h = s->window[0];
984 UPDATE_HASH(s, s->ins_h, s->window[1]);
1289 TRY_FREE(strm, s->window);
1328 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof (Byte));
1334 if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL ||
1341 zmemcpy(ds->window, ss->window, ds->w_size * 2 * sizeof (Byte));
1457 register Bytef *scan = s->window + s->strstart; /* current string */
1476 register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
1480 register Bytef *strend = s->window + s->strstart + MAX_MATCH;
1507 match = s->window + cur_match;
1546 Assert(scan <= s->window+(unsigned)(s->window_size-1),
1584 Assert(scan <= s->window+(unsigned)(s->window_size-1),
1620 register Bytef *scan = s->window + s->strstart; /* current string */
1623 register Bytef *strend = s->window + s->strstart + MAX_MATCH;
1637 match = s->window + cur_match;
1664 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1689 if (zmemcmp(s->window + match, s->window + start, length) != EQUAL) {
1693 fprintf(stderr, "%c%c", s->window[match++],
1694 s->window[start++]);
1700 do { putc(s->window[start++], stderr); } while (--length != 0);
1752 zmemcpy(s->window, s->window+wsize, (unsigned)wsize);
1813 n = read_buf(s->strm, s->window + s->strstart + s->lookahead,
1819 s->ins_h = s->window[s->strstart];
1820 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
1841 (charf *)&s->window[(unsigned)s->block_start] : \
2027 s->ins_h = s->window[s->strstart];
2029 s->window[s->strstart+1]);
2042 Tracevv((stderr, "%c", s->window[s->strstart]));
2043 _tr_tally_lit(s, s->window[s->strstart], bflush);
2177 Tracevv((stderr, "%c", s->window[s->strstart-1]));
2178 _tr_tally_lit(s, s->window[s->strstart-1], bflush);
2198 Tracevv((stderr, "%c", s->window[s->strstart-1]));
2199 _tr_tally_lit(s, s->window[s->strstart-1], bflush);
4186 Bytef *window; /* sliding window */ member
4213 #define WWRAP {if (q == s->end && s->read != s->window) {q = s->window; \
4312 s->read = s->write = s->window;
4334 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
4340 s->end = s->window + w;
4449 (s->end - s->read) + (q - s->window))));
4594 (s->end - s->read) + (q - s->window))));
4629 ZFREE(z, s->window);
4630 s->window = Z_NULL;
4645 Assert(s->window + n <= s->end, "set dict");
4646 zmemcpy((charf *)s->window, d, n);
4647 s->read = s->write = s->window + n;
4709 s->read = q = s->window;
5452 f = (uInt)(q - s->window) < c->sub.copy.dist ?
5453 s->end - (c->sub.copy.dist - (q - s->window)) :
5457 if ((uInt)(q - s->window) < c->sub.copy.dist)
5459 (uInt)(q - s->window));
5466 f = s->window;
5578 q = s->window;
5580 s->write = s->window;
5723 if ((uInt)(q - s->window) >= d)
5741 s->window);
5754 r = s->window;