Lines Matching defs:window
35 strm->state->window is allocated with an additional
86 unsigned wsize; /* window size or zero if not using window */
87 unsigned whave; /* valid bytes in the window */
88 unsigned wnext; /* window write index */
89 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
98 /* window position, window bytes to copy */
117 window = state->window;
238 if (dist > op) { /* see if copy from window */
239 op = dist - op; /* distance back in window */
267 from = window;
268 if (wnext >= op) { /* contiguous in window */
271 else { /* wrap around window */
274 if (op < len) { /* some from end of window */
277 from = window; /* more from start of window */
288 copied from the window is also small, and progress
299 /* from points to window, so there is no risk of
366 - Three separate decoding do-loops for direct, window, and wnext == 0
371 - Swapping window/direct else