Lines Matching refs:lengths
222 static const int MAXCODES = 316; // max codes lengths to read
368 (h->count[length[symbol]])++; // assumes lengths are within bounds
375 // check for an over-subscribed or incomplete set of lengths
618 int lengths[FIXLCODES];
623 lengths[symbol] = 8;
625 lengths[symbol] = 9;
627 lengths[symbol] = 7;
629 lengths[symbol] = 8;
630 buildHuffman(&lencode, lengths, FIXLCODES);
634 lengths[symbol] = 5;
635 buildHuffman(&distcode, lengths, MAXDCODES);
648 int lengths[MAXCODES]; // descriptor code lengths
656 // get number of lengths in each table, check lengths
673 // get code length code lengths
679 lengths[order[index]] = ret;
682 lengths[order[index]] = 0;
684 // build huffman table for code lengths codes
685 if (buildHuffman(&lencode, lengths, 19) != 0)
694 lengths[index++] = symbol;
705 len = lengths[index - 1];// last length
724 error("too many lengths");
728 lengths[index++] = len;
733 int err = buildHuffman(&lencode, lengths, nlen);
740 err = buildHuffman(&distcode, lengths + nlen, ndist);