Lines Matching refs:distcode
437 const struct huffman *distcode) in codes() argument
479 symbol = decode(s, distcode); in codes()
540 static struct huffman lencode, distcode; in fixed() local
550 distcode.count = distcnt; in fixed()
551 distcode.symbol = distsym; in fixed()
567 construct(&distcode, lengths, MAXDCODES); in fixed()
574 return codes(s, &lencode, &distcode); in fixed()
672 struct huffman lencode, distcode; /* length and distance codes */ in dynamic() local
679 distcode.count = distcnt; in dynamic()
680 distcode.symbol = distsym; in dynamic()
738 err = construct(&distcode, lengths + nlen, ndist); in dynamic()
739 if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) in dynamic()
743 return codes(s, &lencode, &distcode); in dynamic()