Lines Matching refs:lencode
274 bool doCodes(Huffman *lencode, Huffman *distcode);
487 bool Inflater::doCodes(Huffman *lencode, Huffman *distcode)
507 int symbol = doDecode(lencode);
611 static Huffman lencode = {lencnt, lensym};
630 buildHuffman(&lencode, lengths, FIXLCODES);
639 bool ret = doCodes(&lencode, &distcode);
649 int lencnt[MAXBITS+1], lensym[MAXLCODES]; // lencode memory
651 Huffman lencode = {lencnt, lensym}; // length code
685 if (buildHuffman(&lencode, lengths, 19) != 0)
692 int symbol = doDecode(&lencode);
733 int err = buildHuffman(&lencode, lengths, nlen);
734 if (err < 0 || (err > 0 && nlen - lencode.count[0] != 1))
741 if (err < 0 || (err > 0 && nlen - lencode.count[0] != 1))
748 bool retn = doCodes(&lencode, &distcode);