Home | History | Annotate | Download | only in puff

Lines Matching refs:distcode

424                 struct huffman *distcode)
463 symbol = decode(s, distcode);
521 static struct huffman lencode, distcode;
542 construct(&distcode, lengths, MAXDCODES);
544 /* construct lencode and distcode */
547 distcode.count = distcnt;
548 distcode.symbol = distsym;
555 return codes(s, &lencode, &distcode);
652 short distcnt[MAXBITS+1], distsym[MAXDCODES]; /* distcode memory */
653 struct huffman lencode, distcode; /* length and distance codes */
657 /* construct lencode and distcode */
660 distcode.count = distcnt;
661 distcode.symbol = distsym;
717 err = construct(&distcode, lengths + nlen, ndist);
718 if (err < 0 || (err > 0 && ndist - distcode.count[0] != 1))
722 return codes(s, &lencode, &distcode);