Searched refs:wnext (Results 1 – 6 of 6) sorted by relevance
82 unsigned wnext; /* window write index */ local109 wnext = state->wnext;217 if (wnext == 0) { /* very common case */227 else if (wnext < op) { /* wrap around window */228 from += wsize + wnext - op;229 op -= wnext;236 if (wnext < len) { /* some from start of window */237 op = wnext;247 from += wnext - op;
138 state->wnext = 0;400 state->wnext = 0;407 state->wnext = 0;411 dist = state->wsize - state->wnext;413 zmemcpy(state->window + state->wnext, end - copy, dist);417 state->wnext = copy;421 state->wnext += dist;422 if (state->wnext == state->wsize) state->wnext = 0;1148 if (copy > state->wnext) {1149 copy -= state->wnext;[all …]
95 unsigned wnext; /* window write index */ member
67 state->wnext = 0;
133 ar.write = state->wnext;
116 ar.write = state->wnext;