• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/zlib/

Lines Matching refs:have

91 #  pragma message("Assembler code may have bugs -- use at your own risk")
116 * the desired pack level (0..9). The values given below have been tuned to
1018 * that the flush is complete. So we don't have to output an
1103 * doesn't have enough memory anyway to duplicate compression states).
1275 /* Do not waste too much time if we already have a good match: */
1517 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
1540 /* Initialize the hash value now that we have some input: */
1566 /* If the WIN_INIT bytes after the end of the current data have never been
1646 * maximizes the opportunites to have a single copy from next_in to next_out.
1662 unsigned len, left, have, last = 0;
1670 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1671 if (s->strm->avail_out < have) /* need room for header */
1674 have = s->strm->avail_out - have;
1678 if (len > have)
1679 len = have; /* limit len to the output */
1778 have = s->window_size - s->strstart - 1;
1779 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1786 have += s->w_size; /* more space now */
1788 if (have > s->strm->avail_in)
1789 have = s->strm->avail_in;
1790 if (have) {
1791 read_buf(s->strm, s->window + s->strstart, have);
1792 s->strstart += have;
1799 * have enough input for a worthy block, or if flushing and there is enough
1802 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1804 have = MIN(s->pending_buf_size - have, MAX_STORED);
1805 min_block = MIN(have, s->w_size);
1809 s->strm->avail_in == 0 && left <= have)) {
1810 len = MIN(left, have);
1837 /* Make sure that we always have enough lookahead, except
1859 * At this point we have always match_length < MIN_MATCH
1863 * of window index 0 (in particular we have to avoid a match
1940 /* Make sure that we always have enough lookahead, except
1969 * of window index 0 (in particular we have to avoid a match
2071 /* Make sure that we always have enough lookahead, except
2103 /* Emit match if have run of MIN_MATCH or longer, else emit literal */
2142 /* Make sure that we have a literal to write. */