Lines Matching defs:length
109 /* Matches of length 3 are discarded if their distance exceeds TOO_FAR */
117 ush good_length; /* reduce lazy search above this match length */
118 ush max_lazy; /* do not perform lazy search above this match length */
119 ush nice_length; /* quit search above this match length */
497 * for length/distance pairs over any compressed block is assured to be 31
500 * Analysis: The longest fixed codes are a length code of 8 bits plus 5
503 * possible fixed-codes length/distance pair is then 31 bits total.
508 * literal/length. As each symbol is consumed, the pointer to the next
530 * Therefore its average symbol length is assured to be less than 31. So
876 /* upper bound for fixed blocks with 9-bit literals and length 255
882 /* upper bound for stored blocks with length 127 (memLevel == 1) --
891 /* compute wrapper length */
1388 * return its length. Matches shorter or equal to prev_length are discarded,
1393 * OUT assertion: the match length is not greater than s->lookahead.
1396 unsigned chain_length = s->max_chain_length;/* max hash chain length */
1399 register int len; /* length of current match */
1400 int best_len = (int)s->prev_length; /* best match length so far */
1444 /* Skip to next match if the match length cannot increase
1445 * or if the match length is less than 2. Note that the checks below
1449 * However the length of the match is limited to the lookahead, so
1564 register int len; /* length of current match */
1579 /* Return failure if the match length is less than 2:
1622 local void check_match(deflate_state *s, IPos start, IPos match, int length) {
1625 s->window + start, length) != EQUAL) {
1626 fprintf(stderr, " start %u, match %u, length %d\n",
1627 start, match, length);
1630 } while (--length != 0);
1634 fprintf(stderr,"\\[%d,%d]", start - match, length);
1635 do { putc(s->window[start++], stderr); } while (--length != 0);
1639 # define check_match(s, start, match, length)
1663 /* Maximum stored block length in deflate format (not including header). */
1702 len = MAX_STORED; /* maximum deflate stored block length */
1706 /* maximum stored block length that will fit in avail_out: */
1714 /* If the stored block would be less than min_block in length, or if
1842 /* maximum stored block length that will fit in pending: */
1913 /* Insert new strings in the hash table only if the match length
2107 Bytef *scan, *strend; /* scan goes up to strend for length of run */