Lines Matching refs:window

12  *      sliding window trailing behind the input currently being processed).
175 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
233 * DFLTCC requires the window to be page aligned.
261 s->window = (Byte *) mem->window_memory;
571 register Byte *scan = s->window + s->strstart; /* current string */
579 * we prevent matches with the string of window index 0.
588 register Byte *strend = s->window + s->strstart + MAX_MATCH - 1;
592 register Byte *strend = s->window + s->strstart + MAX_MATCH;
615 match = s->window + cur_match;
633 * necessary to put more guard bytes at the end of the window, or
646 /* Here, scan <= window+strstart+257 */
647 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
679 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
716 if (memcmp((char *)s->window + match,
717 (char *)s->window + start, length) != EQUAL) {
721 fprintf(stderr, "%c%c", s->window[match++], s->window[start++]);
727 do { putc(s->window[start++], stderr); } while (--length != 0);
735 * Fill the window when the lookahead becomes insufficient.
750 unsigned more; /* Amount of free space at the end of the window. */
766 /* If the window is almost full and there is insufficient lookahead,
771 memcpy((char *)s->window, (char *)s->window+wsize,
816 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
821 s->ins_h = s->window[s->strstart];
822 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
840 (char *)&s->window[(unsigned)s->block_start] : \
862 * window to pending_buf.
881 /* Fill the window as much as possible: */
945 /* Insert the string window[strstart .. strstart+2] in the
957 * of window index 0 (in particular we have to avoid a match
990 s->ins_h = s->window[s->strstart];
991 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
1001 Tracevv((stderr,"%c", s->window[s->strstart]));
1002 bflush = zlib_tr_tally (s, 0, s->window[s->strstart]);
1015 * no better match at the next window position.
1040 /* Insert the string window[strstart .. strstart+2] in the
1055 * of window index 0 (in particular we have to avoid a match
1108 Tracevv((stderr,"%c", s->window[s->strstart-1]));
1109 if (zlib_tr_tally (s, 0, s->window[s->strstart-1])) {
1126 Tracevv((stderr,"%c", s->window[s->strstart-1]));
1127 zlib_tr_tally (s, 0, s->window[s->strstart-1]);