Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 2 of 2) sorted by relevance

/tf-a-ffa_el3_spmc/lib/zlib/
A Dinffast.c77 unsigned dist; /* match distance */ local
148 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 …]
A Dinflate.c402 unsigned dist; local
428 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