Lines Matching refs:window
82 * DFLTCC requires the window to be page aligned.
85 state->window = PTR_ALIGN(&WS(strm)->working_window[0], PAGE_SIZE);
87 state->window = &WS(strm)->working_window[0];
108 Update the window with the last wsize (normally 32K) bytes written before
109 returning. This is only called when a window is already in use, or when
111 stream has not been reached yet. It is also called to window dictionary data
115 advantage, since only the last 32K of output is copied to the sliding window
127 /* copy state->wsize or less output bytes into the circular window */
130 memcpy(state->window, strm->next_out - state->wsize, state->wsize);
137 memcpy(state->window + state->write, strm->next_out - copy, dist);
140 memcpy(state->window, strm->next_out - copy, copy);
315 When there is a window, goto inf_leave will update the window with the last
317 and there is no window currently, goto inf_leave will create one and copy
318 output to the window for the next call of inflate().
324 the allocation of and copying into a sliding window until necessary, which
385 strm->msg = (char *)"invalid window size";
676 if (state->offset > copy) { /* copy from window */
680 from = state->window + (state->wsize - copy);
683 from = state->window + (state->write - copy);
740 error. Call zlib_updatewindow() to create and/or update the window state.