Searched refs:dist (Results 1 – 2 of 2) sorted by relevance
77 unsigned dist; /* match distance */ local148 dist = (unsigned)(here.val);158 dist += (unsigned)hold & ((1U << op) - 1);160 if (dist > dmax) {168 Tracevv((stderr, "inflate: distance %u\n", dist));170 if (dist > op) { /* see if copy from window */171 op = dist - op; /* distance back in window */191 from = out - dist;207 from = out - dist; /* rest from output */236 from = out - dist; /* rest from output */[all …]
402 unsigned dist; local428 dist = state->wsize - state->wnext;429 if (dist > copy) dist = copy;430 zmemcpy(state->window + state->wnext, end - copy, dist);431 copy -= dist;438 state->wnext += dist;440 if (state->whave < state->wsize) state->whave += dist;
Completed in 7 milliseconds