Home
last modified time | relevance | path

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

/external/pdfium/core/fxcrt/
Dcfx_bitstream_unittest.cpp29 EXPECT_EQ(64U, bitstream.BitsRemaining()); in TEST()
34 EXPECT_EQ(56U, bitstream.BitsRemaining()); in TEST()
38 EXPECT_EQ(55U, bitstream.BitsRemaining()); in TEST()
42 EXPECT_EQ(53U, bitstream.BitsRemaining()); in TEST()
46 EXPECT_EQ(50U, bitstream.BitsRemaining()); in TEST()
50 EXPECT_EQ(46U, bitstream.BitsRemaining()); in TEST()
54 EXPECT_EQ(39U, bitstream.BitsRemaining()); in TEST()
58 EXPECT_EQ(30U, bitstream.BitsRemaining()); in TEST()
62 EXPECT_EQ(15U, bitstream.BitsRemaining()); in TEST()
67 EXPECT_EQ(15U, bitstream.BitsRemaining()); in TEST()
[all …]
Dcfx_bitstream.h29 uint32_t BitsRemaining() const { in BitsRemaining() function
/external/puffin/src/
Dbit_io_unittest.cc65 TEST(BitIOTest, BitsRemaining) { in TEST() argument
70 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()
Dbit_reader.h73 virtual uint64_t BitsRemaining() const = 0;
103 uint64_t BitsRemaining() const override;
Dbit_reader.cc71 uint64_t BufferBitReader::BitsRemaining() const { in BitsRemaining() function in puffin::BufferBitReader
Dpuffer.cc187 bits_to_cache = br->BitsRemaining(); in PuffDeflate()
/external/pdfium/core/fpdfapi/page/
Dcpdf_meshstream.cpp166 return m_BitStream->BitsRemaining() >= m_nFlagBits; in CanReadFlag()
170 return m_BitStream->BitsRemaining() / 2 >= m_nCoordBits; in CanReadCoords()
174 return m_BitStream->BitsRemaining() / m_nComponentBits >= m_nComponents; in CanReadColor()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_hint_tables.cpp30 return bits.IsValid() && hStream->BitsRemaining() >= bits.ValueOrDie(); in CanReadFromBitStream()
102 if (hStream->BitsRemaining() < kHeaderSize) in ReadPageHintTable()
265 if (hStream->BitsRemaining() < kHeaderSize) in ReadSharedObjHintTable()