Lines Matching refs:lencode
437 const struct huffman *lencode, in codes() argument
460 symbol = decode(s, lencode); in codes()
541 static struct huffman lencode, distcode; in fixed() local
549 lencode.count = lencnt; in fixed()
550 lencode.symbol = lensym; in fixed()
563 construct(&lencode, lengths, FIXLCODES); in fixed()
575 return codes(s, &lencode, &distcode); in fixed()
673 struct huffman lencode, distcode; /* length and distance codes */ in dynamic() local
678 lencode.count = lencnt; in dynamic()
679 lencode.symbol = lensym; in dynamic()
697 err = construct(&lencode, lengths, 19); in dynamic()
707 symbol = decode(s, &lencode); in dynamic()
736 err = construct(&lencode, lengths, nlen); in dynamic()
737 if (err && (err < 0 || nlen != lencode.count[0] + lencode.count[1])) in dynamic()
746 return codes(s, &lencode, &distcode); in dynamic()