Lines Matching refs:wsize
136 state->wsize = 0;
366 Update the window with the last wsize (normally 32K) bytes written before
398 if (state->wsize == 0) {
399 state->wsize = 1U << state->wbits;
404 /* copy state->wsize or less output bytes into the circular window */
405 if (copy >= state->wsize) {
406 zmemcpy(state->window, end - state->wsize, state->wsize);
408 state->whave = state->wsize;
411 dist = state->wsize - state->wnext;
418 state->whave = state->wsize;
422 if (state->wnext == state->wsize) state->wnext = 0;
423 if (state->whave < state->wsize) state->whave += dist;
1150 from = state->window + (state->wsize - copy);
1232 if (state->wsize || (out != strm->avail_out && state->mode < BAD &&
1445 unsigned wsize;
1477 wsize = 1U << state->wbits;
1478 zmemcpy(window, state->window, wsize);