Lines Matching refs:wsize
135 state->wsize = 0;
365 Update the window with the last wsize (normally 32K) bytes written before
396 if (state->wsize == 0) {
397 state->wsize = 1U << state->wbits;
402 /* copy state->wsize or less output bytes into the circular window */
404 if (copy >= state->wsize) {
405 zmemcpy(state->window, strm->next_out - state->wsize, state->wsize);
407 state->whave = state->wsize;
410 dist = state->wsize - state->wnext;
417 state->whave = state->wsize;
421 if (state->wnext == state->wsize) state->wnext = 0;
422 if (state->whave < state->wsize) state->whave += dist;
1154 from = state->window + (state->wsize - copy);
1236 if (state->wsize || (out != strm->avail_out && state->mode < BAD &&
1434 unsigned wsize;
1466 wsize = 1U << state->wbits;
1467 zmemcpy(window, state->window, wsize);