/external/pdfium/core/fxcrt/ |
D | cfx_bitstream_unittest.cpp | 32 EXPECT_EQ(0x00U, bitstream.GetBits(8)); in TEST() 36 EXPECT_EQ(0x00U, bitstream.GetBits(1)); in TEST() 40 EXPECT_EQ(0x00U, bitstream.GetBits(2)); in TEST() 44 EXPECT_EQ(0x04U, bitstream.GetBits(3)); in TEST() 48 EXPECT_EQ(0x04U, bitstream.GetBits(4)); in TEST() 52 EXPECT_EQ(0x44U, bitstream.GetBits(7)); in TEST() 56 EXPECT_EQ(0xCDU, bitstream.GetBits(9)); in TEST() 60 EXPECT_EQ(0x08AAU, bitstream.GetBits(15)); in TEST() 65 EXPECT_EQ(0x00U, bitstream.GetBits(16)); in TEST() 89 EXPECT_EQ(0x0448U, bitstream.GetBits(17)); in TEST() [all …]
|
D | cfx_bitstream.h | 24 uint32_t GetBits(uint32_t nBits);
|
D | cfx_bitstream.cpp | 25 uint32_t CFX_BitStream::GetBits(uint32_t nBits) { in GetBits() function in CFX_BitStream
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_hint_tables.cpp | 106 const uint32_t dwObjLeastNum = hStream->GetBits(32); in ReadPageHintTable() 112 HintsOffsetToFileOffset(hStream->GetBits(32)); in ReadPageHintTable() 120 const uint32_t dwDeltaObjectsBits = hStream->GetBits(16); in ReadPageHintTable() 125 const uint32_t dwPageLeastLen = hStream->GetBits(32); in ReadPageHintTable() 131 const uint32_t dwDeltaPageLenBits = hStream->GetBits(16); in ReadPageHintTable() 140 const uint32_t dwSharedObjBits = hStream->GetBits(16); in ReadPageHintTable() 146 const uint32_t dwSharedIdBits = hStream->GetBits(16); in ReadPageHintTable() 154 const uint32_t dwSharedNumeratorBits = hStream->GetBits(16); in ReadPageHintTable() 172 FX_SAFE_UINT32 safeDeltaObj = hStream->GetBits(dwDeltaObjectsBits); in ReadPageHintTable() 190 FX_SAFE_UINT32 safePageLen = hStream->GetBits(dwDeltaPageLenBits); in ReadPageHintTable() [all …]
|
/external/pdfium/third_party/libtiff/ |
D | tif_fax3.h | 172 #define GetBits(n) (BitAcc & ((1<<(n))-1)) macro 198 TabEnt = tab + GetBits(wid); \ 210 TabEnt = tab + GetBits(wid); \ 229 TabEnt = tab + GetBits(wid); \ 234 TabEnt = tab + GetBits(wid); \ 263 if (GetBits(11) == 0) \ 270 if (GetBits(8)) \ 274 while (GetBits(1) == 0) \ 497 if (GetBits(4)) \ 522 if (!GetBits(1)) \
|
D | tif_fax3.c | 289 is1D = GetBits(1); /* 1D/2D-encoding tag bit */ in Fax3Decode2D() 1467 if( GetBits(13) != 0x1001 ) in Fax4Decode()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_meshstream.cpp | 179 return m_BitStream->GetBits(m_nFlagBits) & 0x03; in ReadFlag() 187 pos.x = m_xmin + m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / in ReadCoords() 189 pos.y = m_ymin + m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / in ReadCoords() 193 m_BitStream->GetBits(m_nCoordBits) * (m_xmax - m_xmin) / m_CoordMax; in ReadCoords() 195 m_BitStream->GetBits(m_nCoordBits) * (m_ymax - m_ymin) / m_CoordMax; in ReadCoords() 205 color_value[i] = m_ColorMin[i] + m_BitStream->GetBits(m_nComponentBits) * in ReadColor()
|
D | cpdf_sampledfunc.cpp | 147 uint32_t sample = bitstream.GetBits(m_nBitsPerSample); in v_Call() 166 static_cast<float>(bitstream2.GetBits(m_nBitsPerSample)); in v_Call()
|
/external/vboot_reference/utility/ |
D | efidecompress.c | 145 GetBits ( in GetBits() function 360 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP() 399 Number = (UINT16) GetBits (Sd, nbit); in ReadPTLen() 402 CharC = (UINT16) GetBits (Sd, nbit); in ReadPTLen() 434 CharC = (UINT16) GetBits (Sd, 2); in ReadPTLen() 472 Number = (UINT16) GetBits (Sd, CBIT); in ReadCLen() 475 CharC = (UINT16) GetBits (Sd, CBIT); in ReadCLen() 517 CharC = (UINT16) (GetBits (Sd, 4) + 3); in ReadCLen() 519 CharC = (UINT16) (GetBits (Sd, CBIT) + 20); in ReadCLen() 570 Sd->mBlockSize = (UINT16) GetBits (Sd, 16); in DecodeC()
|
/external/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.cpp | 1627 microBlockOffset = GetBits(pIn->x, 0, 3, log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1628 GetBits(pIn->y, 1, 2, 3 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1629 GetBits(pIn->x, 3, 1, 5 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1630 GetBits(pIn->y, 3, 1, 6 + log2ElementBytes); in ComputeSurface2DMicroBlockOffset() 1631 microBlockOffset = GetBits(microBlockOffset, 0, 4, 0) | in ComputeSurface2DMicroBlockOffset() 1633 GetBits(microBlockOffset, 4, 3, 5); in ComputeSurface2DMicroBlockOffset() 1638 microBlockOffset = GetBits(pIn->y, 0, 3, log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1639 GetBits(pIn->x, 1, 2, 3 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1640 GetBits(pIn->x, 3, 1, 5 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1641 GetBits(pIn->y, 3, 1, 6 + log2ElementBytes); in ComputeSurface2DMicroBlockOffset() [all …]
|
D | addrcommon.h | 697 static inline UINT_32 GetBits( in GetBits() function
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderErrorCorrectionLevel.h | 25 int32_t GetBits() const { return m_bits; } in GetBits() function
|
D | BC_QRCoderMode.h | 22 int32_t GetBits() const;
|
D | BC_QRCoderMode.cpp | 82 int32_t CBC_QRCoderMode::GetBits() const { in GetBits() function in CBC_QRCoderMode
|
D | BC_QRCoderMatrixUtil.cpp | 153 int32_t typeInfo = (ecLevel->GetBits() << 3) | maskPattern; in MakeTypeInfoBits()
|
D | BC_QRCoderEncoder.cpp | 162 bits->AppendBits(mode->GetBits(), 4); in AppendModeInfo()
|
/external/mesa3d/src/amd/addrlib/src/r800/ |
D | ciaddrlib.cpp | 101 static UINT_64 GetBits( in GetBits() function 134 ret = GetBits(bits, lsb - 1, 0) // low bits in RemoveBits() 135 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits in RemoveBits() 160 ret = GetBits(bits, lsb - 1, 0) // old low bitss in InsertBits() 161 | (GetBits(newBits, msb - lsb, 0) << lsb) //new bits in InsertBits() 162 | (GetBits(bits, 8 * sizeof(bits) - 1, lsb) << (msb + 1)); //old high bits in InsertBits() 2011 UINT_64 bankDataBits = GetBits(offset, msb, lsb); in HwlComputeMetadataNibbleAddress() 2019 UINT_64 pipeDataBits = GetBits(offset, msb, lsb); in HwlComputeMetadataNibbleAddress()
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device.cpp | 458 float sample = static_cast<float>(bitstream.GetBits(sampleSize)); in AddSamples()
|