Lines Matching defs:length
44 Build and output length and distance decoding tables for fixed code
57 /* literal/length table */
227 unsigned long length; /* literal or length of data to copy */
231 code const FAR *lencode; /* starting table for length/literal codes */
237 unsigned len; /* length to copy for repeats, bits to drop */
304 /* get and verify stored block length */
312 length = (unsigned)hold & 0xffff;
313 Tracev((stderr, "inflate: stored length %lu\n",
314 length));
318 while (length != 0) {
319 copy = length;
329 length -= copy;
345 strm->msg = (char *)"too many length symbols";
351 /* get code length code lengths (not a typo) */
372 /* get length and distance code code lengths */
390 strm->msg = (char *)"invalid bit length repeat";
413 strm->msg = (char *)"invalid bit length repeat";
459 /* get a literal, length, or end-of-block code */
476 length = (unsigned)here.val;
484 *put++ = (unsigned char)(length);
499 strm->msg = (char *)"invalid literal/length code";
504 /* length code -- get extra bits, if any */
508 length += BITS(extra);
511 Tracevv((stderr, "inflate: length %lu\n", length));
563 if (copy > length) copy = length;
564 length -= copy;
569 } while (length != 0);