Home
last modified time | relevance | path

Searched refs:CacheBits (Results 1 – 8 of 8) sorted by relevance

/external/puffin/src/
Dbit_io_unittest.cc41 ASSERT_TRUE(br.CacheBits(11)); in TEST()
54 ASSERT_FALSE(br.CacheBits(9)); in TEST()
55 ASSERT_TRUE(br.CacheBits(8)); in TEST()
62 ASSERT_FALSE(br.CacheBits(1)); in TEST()
71 ASSERT_TRUE(br.CacheBits(1)); in TEST()
75 ASSERT_TRUE(br.CacheBits(7)); in TEST()
79 ASSERT_TRUE(br.CacheBits(31)); in TEST()
83 ASSERT_TRUE(br.CacheBits(1)); in TEST()
Dpuffer.cc44 while (!end_loop && br->CacheBits(8)) { in PuffDeflate()
47 TEST_AND_RETURN_FALSE(br->CacheBits(3)); in PuffDeflate()
73 TEST_AND_RETURN_FALSE(br->CacheBits(32)); in PuffDeflate()
143 if (!br->CacheBits(max_bits)) { in PuffDeflate()
149 TEST_AND_RETURN_FALSE(br->CacheBits(max_bits)); in PuffDeflate()
176 TEST_AND_RETURN_FALSE(br->CacheBits(extra_bits_len)); in PuffDeflate()
183 if (!br->CacheBits(bits_to_cache)) { in PuffDeflate()
188 TEST_AND_RETURN_FALSE(br->CacheBits(bits_to_cache)); in PuffDeflate()
207 TEST_AND_RETURN_FALSE(br->CacheBits(extra_bits_len)); in PuffDeflate()
Dhuffman_table.cc243 TEST_AND_RETURN_FALSE(br->CacheBits(14)); in BuildDynamicHuffmanTable()
264 TEST_AND_RETURN_FALSE(br->CacheBits(3)); in BuildDynamicHuffmanTable()
322 TEST_AND_RETURN_FALSE(br->CacheBits(max_bits)); in BuildHuffmanCodeLengths()
340 TEST_AND_RETURN_FALSE(br->CacheBits(2)); in BuildHuffmanCodeLengths()
348 TEST_AND_RETURN_FALSE(br->CacheBits(3)); in BuildHuffmanCodeLengths()
356 TEST_AND_RETURN_FALSE(br->CacheBits(7)); in BuildHuffmanCodeLengths()
Dbit_reader.h28 virtual bool CacheBits(size_t nbits) = 0;
93 bool CacheBits(size_t nbits) override;
Dbit_reader.cc11 bool BufferBitReader::CacheBits(size_t nbits) { in CacheBits() function in puffin::BufferBitReader
Dpuffin_unittest.cc582 br.CacheBits(2); in TEST_F()
596 br.CacheBits(2); in TEST_F()
Dutils.cc343 TEST_AND_RETURN_FALSE(bit_reader.CacheBits(bits_to_skip)); in FindPuffLocations()
429 TEST_AND_RETURN_FALSE(br.CacheBits(bits_to_drop)); in RemoveDeflatesWithBadDistanceCaches()
Dpuffin_stream.cc286 TEST_AND_RETURN_FALSE(bit_reader.CacheBits(extra_bits_len)); in Read()