Searched refs:BitsRemaining (Results 1 – 7 of 7) sorted by relevance
65 TEST(BitIOTest, BitsRemaining) { in TEST() argument70 EXPECT_EQ(br.BitsRemaining(), 40); in TEST()73 EXPECT_EQ(br.BitsRemaining(), 39); in TEST()77 EXPECT_EQ(br.BitsRemaining(), 32); in TEST()81 EXPECT_EQ(br.BitsRemaining(), 1); in TEST()85 EXPECT_EQ(br.BitsRemaining(), 0); in TEST()
73 virtual uint64_t BitsRemaining() const = 0;103 uint64_t BitsRemaining() const override;
71 uint64_t BufferBitReader::BitsRemaining() const { in BitsRemaining() function in puffin::BufferBitReader
187 bits_to_cache = br->BitsRemaining(); in PuffDeflate()
162 return m_BitStream->BitsRemaining() >= m_nFlagBits; in CanReadFlag()166 return m_BitStream->BitsRemaining() / 2 >= m_nCoordBits; in CanReadCoords()170 return m_BitStream->BitsRemaining() / m_nComponentBits >= m_nComponents; in CanReadColor()
27 return bits.IsValid() && hStream->BitsRemaining() >= bits.ValueOrDie(); in CanReadFromBitStream()75 if (hStream->BitsRemaining() < kHeaderSize) in ReadPageHintTable()265 if (hStream->BitsRemaining() < kHeaderSize) in ReadSharedObjHintTable()365 if (hStream->BitsRemaining() < dwSharedObjTotal) in ReadSharedObjHintTable()
28 uint32_t BitsRemaining() const { in BitsRemaining() function