Lines Matching refs:distcode
438 const struct huffman *distcode) in codes() argument
480 symbol = decode(s, distcode); in codes()
541 static struct huffman lencode, distcode; in fixed() local
551 distcode.count = distcnt; in fixed()
552 distcode.symbol = distsym; in fixed()
568 construct(&distcode, lengths, MAXDCODES); in fixed()
575 return codes(s, &lencode, &distcode); in fixed()
673 struct huffman lencode, distcode; /* length and distance codes */ in dynamic() local
680 distcode.count = distcnt; in dynamic()
681 distcode.symbol = distsym; in dynamic()
741 err = construct(&distcode, lengths + nlen, ndist); in dynamic()
742 if (err && (err < 0 || ndist != distcode.count[0] + distcode.count[1])) in dynamic()
746 return codes(s, &lencode, &distcode); in dynamic()