Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/zlib/
A Dinffast.c78 unsigned dist; /* match distance */ local
149 dist = (unsigned)(here->val);
159 dist += (unsigned)hold & ((1U << op) - 1);
161 if (dist > dmax) {
169 Tracevv((stderr, "inflate: distance %u\n", dist));
171 if (dist > op) { /* see if copy from window */
172 op = dist - op; /* distance back in window */
192 from = out - dist;
208 from = out - dist; /* rest from output */
237 from = out - dist; /* rest from output */
[all …]
A Dinflate.c404 unsigned dist; local
430 dist = state->wsize - state->wnext;
431 if (dist > copy) dist = copy;
432 zmemcpy(state->window + state->wnext, end - copy, dist);
433 copy -= dist;
440 state->wnext += dist;
442 if (state->whave < state->wsize) state->whave += dist;

Completed in 5 milliseconds