Lines Matching refs:write
75 * - Pull out common write == 0 case for speed in inflate_fast()
147 state->write = 0;
372 state->write = 0;
380 state->write = 0;
384 dist = state->wsize - state->write;
386 zmemcpy(state->window + state->write, strm->next_out - copy, dist);
390 state->write = copy;
394 state->write += dist;
395 if (state->write == state->wsize) state->write = 0;
1080 if (copy > state->write) {
1081 copy -= state->write;
1085 from = state->window + (state->write - copy);