Lines Matching refs:WriteBits
45 TEST_AND_RETURN_FALSE(bw->WriteBits(1, final_bit)); in HuffDeflate()
46 TEST_AND_RETURN_FALSE(bw->WriteBits(2, type)); in HuffDeflate()
54 TEST_AND_RETURN_FALSE(bw->WriteBits(16, pd.length)); in HuffDeflate()
55 TEST_AND_RETURN_FALSE(bw->WriteBits(16, ~pd.length)); in HuffDeflate()
61 TEST_AND_RETURN_FALSE(bw->WriteBits(16, 0)); in HuffDeflate()
62 TEST_AND_RETURN_FALSE(bw->WriteBits(16, ~0)); in HuffDeflate()
100 TEST_AND_RETURN_FALSE(bw->WriteBits(nbits, literal_huffman)); in HuffDeflate()
136 TEST_AND_RETURN_FALSE(bw->WriteBits(nbits, length_huffman)); in HuffDeflate()
140 bw->WriteBits(extra_bits_len, len - kLengthBases[index])); in HuffDeflate()
156 TEST_AND_RETURN_FALSE(bw->WriteBits(nbits, distance_huffman)); in HuffDeflate()
159 bw->WriteBits(extra_bits_len, dist - kDistanceBases[index])); in HuffDeflate()
169 TEST_AND_RETURN_FALSE(bw->WriteBits(nbits, eos_huffman)); in HuffDeflate()