Home
last modified time | relevance | path

Searched refs:extra_bits_len (Results 1 – 3 of 3) sorted by relevance

/external/puffin/src/
Dpuffer.cc173 auto extra_bits_len = kLengthExtraBits[len_code_start]; in PuffDeflate() local
175 if (extra_bits_len) { in PuffDeflate()
176 TEST_AND_RETURN_FALSE(br->CacheBits(extra_bits_len)); in PuffDeflate()
177 extra_bits_value = br->ReadBits(extra_bits_len); in PuffDeflate()
178 br->DropBits(extra_bits_len); in PuffDeflate()
204 extra_bits_len = kDistanceExtraBits[distance_alphabet]; in PuffDeflate()
206 if (extra_bits_len) { in PuffDeflate()
207 TEST_AND_RETURN_FALSE(br->CacheBits(extra_bits_len)); in PuffDeflate()
208 extra_bits_value = br->ReadBits(extra_bits_len); in PuffDeflate()
209 br->DropBits(extra_bits_len); in PuffDeflate()
Dhuffer.cc130 auto extra_bits_len = kLengthExtraBits[index]; in HuffDeflate() local
138 if (extra_bits_len > 0) { in HuffDeflate()
140 bw->WriteBits(extra_bits_len, len - kLengthBases[index])); in HuffDeflate()
151 extra_bits_len = kDistanceExtraBits[index]; in HuffDeflate()
157 if (extra_bits_len > 0) { in HuffDeflate()
159 bw->WriteBits(extra_bits_len, dist - kDistanceBases[index])); in HuffDeflate()
Dpuffin_stream.cc285 size_t extra_bits_len = cur_deflate_->offset & 7; in Read() local
286 TEST_AND_RETURN_FALSE(bit_reader.CacheBits(extra_bits_len)); in Read()
287 bit_reader.DropBits(extra_bits_len); in Read()