Lines Matching refs:window
116 unsigned wsize; /* window size or zero if not using window */
117 unsigned whave; /* valid bytes in the window */
118 unsigned write; /* window write index */
119 unsigned char FAR *window; /* allocated sliding window, if wsize != 0 */
128 /* window position, window bytes to copy */
146 window = state->window;
223 if (dist > op) { /* see if copy from window */
224 op = dist - op; /* distance back in window */
230 from = window - OFF;
233 if (op < len) { /* some from window */
241 else if (write < op) { /* wrap around window */
244 if (op < len) { /* some from end of window */
249 from = window - OFF;
250 if (write < len) { /* some from start of window */
260 else { /* contiguous in window */
262 if (op < len) { /* some from window */
344 - Three separate decoding do-loops for direct, window, and write == 0
349 - Swapping window/direct else