Lines Matching defs:have
112 * the desired pack level (0..9). The values given below have been tuned to
279 s->strstart -= wsize; /* we now have strstart >= MAX_DIST */
304 /* Initialize the hash value now that we have some input: */
318 /* Initialize the hash value now that we have some input: */
344 /* If the WIN_INIT bytes after the end of the current data have never been
512 * code is written. At that time, 31*(n - 2) bits have been written, just
513 * after 24*(n - 2) bits have been consumed from sym_buf. sym_buf starts at
864 * the data being compressed may have slid out of the sliding window, impeding
1235 * that the flush is complete. So we don't have to output an
1319 * doesn't have enough memory anyway to duplicate compression states).
1428 /* Do not waste too much time if we already have a good match: */
1474 * are at least four bytes to check otherwise the mismatch would have
1515 * are at least four bytes to check otherwise the mismatch would have
1682 * maximizes the opportunities to have a single copy from next_in to next_out.
1695 unsigned len, left, have, last = 0;
1703 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1704 if (s->strm->avail_out < have) /* need room for header */
1707 have = s->strm->avail_out - have;
1711 if (len > have)
1712 len = have; /* limit len to the output */
1814 have = s->window_size - s->strstart;
1815 if (s->strm->avail_in > have && s->block_start >= (long)s->w_size) {
1822 have += s->w_size; /* more space now */
1826 if (have > s->strm->avail_in)
1827 have = s->strm->avail_in;
1828 if (have) {
1829 read_buf(s->strm, s->window + s->strstart, have);
1830 s->strstart += have;
1831 s->insert += MIN(have, s->w_size - s->insert);
1838 * have enough input for a worthy block, or if flushing and there is enough
1841 have = (s->bi_valid + 42) >> 3; /* number of header bytes */
1843 have = MIN(s->pending_buf_size - have, MAX_STORED);
1844 min_block = MIN(have, s->w_size);
1848 s->strm->avail_in == 0 && left <= have)) {
1849 len = MIN(left, have);
1873 /* Make sure that we always have enough lookahead, except
1895 * At this point we have always match_length < MIN_MATCH
1899 * of window index 0 (in particular we have to avoid a match
1976 /* Make sure that we always have enough lookahead, except
2005 * of window index 0 (in particular we have to avoid a match
2110 /* Make sure that we always have enough lookahead, except
2143 /* Emit match if have run of MIN_MATCH or longer, else emit literal */
2179 /* Make sure that we have a literal to write. */