Lines Matching refs:tree_d
930 static void getTreeInflateFixed(HuffmanTree* tree_ll, HuffmanTree* tree_d) in getTreeInflateFixed() argument
934 generateFixedDistanceTree(tree_d); in getTreeInflateFixed()
938 static unsigned getTreeInflateDynamic(HuffmanTree* tree_ll, HuffmanTree* tree_d, in getTreeInflateDynamic() argument
1072 error = HuffmanTree_makeFromLengths(tree_d, bitlen_d, NUM_DISTANCE_SYMBOLS, 15); in getTreeInflateDynamic()
1091 HuffmanTree tree_d; /*the huffman tree for distance codes*/ in inflateHuffmanBlock() local
1095 HuffmanTree_init(&tree_d); in inflateHuffmanBlock()
1097 if(btype == 1) getTreeInflateFixed(&tree_ll, &tree_d); in inflateHuffmanBlock()
1098 else if(btype == 2) error = getTreeInflateDynamic(&tree_ll, &tree_d, in, bp, inlength); in inflateHuffmanBlock()
1129 code_d = huffmanDecodeSymbol(in, bp, &tree_d, inbitlength); in inflateHuffmanBlock()
1181 HuffmanTree_cleanup(&tree_d); in inflateHuffmanBlock()
1643 const HuffmanTree* tree_ll, const HuffmanTree* tree_d) in writeLZ77data() argument
1663 addHuffmanSymbol(bp, out, HuffmanTree_getCode(tree_d, distance_code), in writeLZ77data()
1664 HuffmanTree_getLength(tree_d, distance_code)); in writeLZ77data()
1691 HuffmanTree tree_d; /*tree for distance codes*/ in deflateDynamic() local
1717 HuffmanTree_init(&tree_d); in deflateDynamic()
1763 error = HuffmanTree_makeFromFrequencies(&tree_d, frequencies_d.data, 2, frequencies_d.size, 15); in deflateDynamic()
1767 numcodes_d = tree_d.numcodes; if(numcodes_d > 30) numcodes_d = 30; in deflateDynamic()
1770 …for(i = 0; i < numcodes_d; i++) uivector_push_back(&bitlen_lld, HuffmanTree_getLength(&tree_d, (un… in deflateDynamic()
1891 writeLZ77data(bp, out, &lz77_encoded, &tree_ll, &tree_d); in deflateDynamic()
1904 HuffmanTree_cleanup(&tree_d); in deflateDynamic()
1922 HuffmanTree tree_d; /*tree for distance codes*/ in deflateFixed() local
1929 HuffmanTree_init(&tree_d); in deflateFixed()
1932 generateFixedDistanceTree(&tree_d); in deflateFixed()
1944 if(!error) writeLZ77data(bp, out, &lz77_encoded, &tree_ll, &tree_d); in deflateFixed()
1959 HuffmanTree_cleanup(&tree_d); in deflateFixed()