Home | History | Annotate | Download | only in puff

Lines Matching refs:lencode

436                 const struct huffman *lencode,
459 symbol = decode(s, lencode);
540 static struct huffman lencode, distcode;
547 /* construct lencode and distcode */
548 lencode.count = lencnt;
549 lencode.symbol = lensym;
562 construct(&lencode, lengths, FIXLCODES);
574 return codes(s, &lencode, &distcode);
670 short lencnt[MAXBITS+1], lensym[MAXLCODES]; /* lencode memory */
672 struct huffman lencode, distcode; /* length and distance codes */
676 /* construct lencode and distcode */
677 lencode.count = lencnt;
678 lencode.symbol = lensym;
695 /* build huffman table for code lengths codes (use lencode temporarily) */
696 err = construct(&lencode, lengths, 19);
706 symbol = decode(s, &lencode);
733 err = construct(&lencode, lengths, nlen);
734 if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1]))
743 return codes(s, &lencode, &distcode);