Lines Matching refs:have
61 unsigned int have; /* amount of output data unused at next */
125 state->have = 0; /* no output data available */
234 unsigned int *have)
238 *have = 0;
240 ret = read(state->fd, buf + *have, len - *have);
243 *have += ret;
244 } while (*have < len);
460 /* we have a gzip header, woo hoo! */
509 state->have = 1;
520 memcpy(state->next + state->have, strm->next_in, strm->avail_in);
521 state->have += strm->avail_in;
593 state->have = had - strm->avail_out;
594 state->next = strm->next_out - state->have;
597 crc32(state->zstrm.adler, state->next, state->have);
625 state->how = LOOK; /* ready for next stream, once have is 0 (leave
641 if (state->have) /* got some data from xz_head() */
645 if (xz_load(state, state->out, state->size << 1, &(state->have)) ==
666 if (state->have) {
667 n = (uint64_t) state->have > len ?
668 (unsigned) len : state->have;
669 state->have -= n;
728 if (state->have) {
729 n = state->have > len ? len : state->have;
732 state->have -= n;
762 n = state->have;
763 state->have = 0;