Home | History | Annotate | Download | only in zlib

Lines Matching refs:have

133         have = strm->avail_in; \
144 strm->avail_in = have; \
160 if (have == 0) { \
161 have = in(in_desc, &next); \
162 if (have == 0) { \
175 have--; \
260 unsigned have, left; /* available input and output */
283 have = next != Z_NULL ? strm->avail_in : 0;
345 if (copy > have) copy = have;
348 have -= copy;
377 state->have = 0;
378 while (state->have < state->ncode) {
380 state->lens[order[state->have++]] = (unsigned short)BITS(3);
383 while (state->have < 19)
384 state->lens[order[state->have++]] = 0;
398 state->have = 0;
399 while (state->have < state->nlen + state->ndist) {
407 state->lens[state->have++] = here.val;
413 if (state->have == 0) {
418 len = (unsigned)(state->lens[state->have - 1]);
436 if (state->have + copy > state->nlen + state->ndist) {
442 state->lens[state->have++] = (unsigned short)len;
449 /* check for end-of-block code (better have one) */
482 /* use inflate_fast() if we have enough input and output */
483 if (have >= 6 && left >= 258) {
627 strm->avail_in = have;