Home
last modified time | relevance | path

Searched refs:dwResult (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fxcodec/jbig2/
DJBig2_BitStream.cpp29 int32_t CJBig2_BitStream::readNBits(uint32_t dwBits, uint32_t* dwResult) { in readNBits() argument
37 *dwResult = 0; in readNBits()
44 *dwResult = in readNBits()
45 (*dwResult << 1) | ((m_pBuf[m_dwByteIdx] >> (7 - m_dwBitIdx)) & 0x01); in readNBits()
73 int32_t CJBig2_BitStream::read1Bit(uint32_t* dwResult) { in read1Bit() argument
77 *dwResult = (m_pBuf[m_dwByteIdx] >> (7 - m_dwBitIdx)) & 0x01; in read1Bit()
100 int32_t CJBig2_BitStream::readInteger(uint32_t* dwResult) { in readInteger() argument
104 *dwResult = (m_pBuf[m_dwByteIdx] << 24) | (m_pBuf[m_dwByteIdx + 1] << 16) | in readInteger()
110 int32_t CJBig2_BitStream::readShortInteger(uint16_t* dwResult) { in readShortInteger() argument
114 *dwResult = (m_pBuf[m_dwByteIdx] << 8) | m_pBuf[m_dwByteIdx + 1]; in readShortInteger()
DJBig2_BitStream.h20 int32_t readNBits(uint32_t nBits, uint32_t* dwResult);
22 int32_t read1Bit(uint32_t* dwResult);
25 int32_t readInteger(uint32_t* dwResult);