Lines Matching defs:have
94 * the desired pack level (0..9). The values given below have been tuned to
284 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
309 /* Initialize the hash value now that we have some input: */
335 /* If the WIN_INIT bytes after the end of the current data have never been
476 * code is written. At that time, 31*(n - 2) bits have been written, just
477 * after 24*(n - 2) bits have been consumed from sym_buf. sym_buf starts at
831 * the data being compressed may have slid out of the sliding window, impeding
1205 * that the flush is complete. So we don't have to output an
1288 * doesn't have enough memory anyway to duplicate compression states).
1390 /* Do not waste too much time if we already have a good match: */
1636 * maximizes the opportunities to have a single copy from next_in to next_out.
1650 unsigned len, left, have, last = 0;
1658 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1659 if (s->strm->avail_out < have) /* need room for header */
1662 have = s->strm->avail_out - have;
1666 if (len > have)
1667 len = have; /* limit len to the output */
1769 have = s->window_size - s->strstart;
1770 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1777 have += s->w_size; /* more space now */
1781 if (have > s->strm->avail_in)
1782 have = s->strm->avail_in;
1783 if (have) {
1784 read_buf(s->strm, s->window + s->strstart, have);
1785 s->strstart += have;
1786 s->insert += MIN(have, s->w_size - s->insert);
1793 * have enough input for a worthy block, or if flushing and there is enough
1796 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1798 have = MIN(s->pending_buf_size - have, MAX_STORED);
1799 min_block = MIN(have, s->w_size);
1803 s->strm->avail_in == 0 && left <= have)) {
1804 len = MIN(left, have);
1829 /* Make sure that we always have enough lookahead, except
1851 * At this point we have always match_length < MIN_MATCH
1855 * of window index 0 (in particular we have to avoid a match
1930 /* Make sure that we always have enough lookahead, except
1959 * of window index 0 (in particular we have to avoid a match
2059 /* Make sure that we always have enough lookahead, except
2092 /* Emit match if have run of MIN_MATCH or longer, else emit literal */
2129 /* Make sure that we have a literal to write. */