Searched refs:wnext (Results 1 – 3 of 3) sorted by relevance
65 unsigned wnext; /* window write index */ local92 wnext = state->wnext;200 if (wnext == 0) { /* very common case */210 else if (wnext < op) { /* wrap around window */211 from += wsize + wnext - op;212 op -= wnext;219 if (wnext < len) { /* some from start of window */220 op = wnext;230 from += wnext - op;
98 unsigned wnext; /* window write index */ member
153 state->wnext = 0;417 state->wnext = 0;424 state->wnext = 0;428 dist = state->wsize - state->wnext;430 zmemcpy(state->window + state->wnext, end - copy, dist);434 state->wnext = copy;438 state->wnext += dist;439 if (state->wnext == state->wsize) state->wnext = 0;1171 if (copy > state->wnext) {1172 copy -= state->wnext;[all …]