Lines Matching refs:window
234 Bytef *window; member
566 (UPDATE_HASH(s, s->ins_h, s->window[(str) + (MIN_MATCH-1)]), \
633 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
641 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
861 TRY_FREE(strm, state->window, state->w_size * 2 * sizeof(Byte));
944 register Bytef *scan = s->window + s->strstart; /* current string */
960 register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
964 register Bytef *strend = s->window + s->strstart + MAX_MATCH;
982 match = s->window + cur_match;
1014 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1046 Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan");
1081 if (memcmp((charf *)s->window + match,
1082 (charf *)s->window + start, length) != EQUAL) {
1086 do { fprintf(stderr, "%c%c", s->window[match++],
1087 s->window[start++]); } while (--length != 0);
1092 do { putc(s->window[start++], stderr); } while (--length != 0);
1137 zmemcpy((charf *)s->window, (charf *)s->window+wsize,
1181 n = read_buf(s->strm, (charf *)s->window + s->strstart + s->lookahead,
1187 s->ins_h = s->window[s->strstart];
1188 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
1206 (charf *)&s->window[(unsigned)s->block_start] : \
1295 s->ins_h = s->window[s->strstart];
1296 UPDATE_HASH(s, s->ins_h, s->window[s->strstart+1]);
1306 Tracevv((stderr,"%c", s->window[s->strstart]));
1307 bflush = ct_tally (s, 0, s->window[s->strstart]);
1412 Tracevv((stderr,"%c", s->window[s->strstart-1]));
1413 if (ct_tally (s, 0, s->window[s->strstart-1])) {
1430 Tracevv((stderr,"%c", s->window[s->strstart-1]));
1431 ct_tally (s, 0, s->window[s->strstart-1]);
3086 Bytef *window; /* sliding window */ member
3112 #define WRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=WAVAIL;}}
3226 s->read = s->write = s->window;
3243 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
3248 s->end = s->window + w;
3352 (s->end - s->read) + (q - s->window))));
3488 (s->end - s->read) + (q - s->window))));
3526 ZFREE(z, s->window, s->end - s->window);
3577 s->read = q = s->window;
4262 f = (uInt)(q - s->window) < c->sub.copy.dist ?
4263 s->end - (c->sub.copy.dist - (q - s->window)) :
4267 if ((uInt)(q - s->window) < c->sub.copy.dist)
4268 f = s->end - (c->sub.copy.dist - (q - s->window));
4275 f = s->window;
4354 q = s->window;
4356 s->write = s->window;
4476 if ((uInt)(q - s->window) >= d) /* offset before dest */
4484 e = d - (q - s->window); /* bytes from offset to end */
4492 r = s->window; /* copy rest from start of window */