Home
last modified time | relevance | path

Searched refs:m_pBuf (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxcodec/jbig2/
DJBig2_BitStream.cpp15 : m_pBuf(pSrcStream->GetData()), in CJBig2_BitStream()
23 m_pBuf = nullptr; in CJBig2_BitStream()
42 (*dwResult << 1) | ((m_pBuf[m_dwByteIdx] >> (7 - m_dwBitIdx)) & 0x01); in readNBits()
61 (*nResult << 1) | ((m_pBuf[m_dwByteIdx] >> (7 - m_dwBitIdx)) & 0x01); in readNBits()
71 *dwResult = (m_pBuf[m_dwByteIdx] >> (7 - m_dwBitIdx)) & 0x01; in read1Bit()
80 *bResult = (m_pBuf[m_dwByteIdx] >> (7 - m_dwBitIdx)) & 0x01; in read1Bit()
89 *cResult = m_pBuf[m_dwByteIdx]; in read1Byte()
98 *dwResult = (m_pBuf[m_dwByteIdx] << 24) | (m_pBuf[m_dwByteIdx + 1] << 16) | in readInteger()
99 (m_pBuf[m_dwByteIdx + 2] << 8) | m_pBuf[m_dwByteIdx + 3]; in readInteger()
108 *dwResult = (m_pBuf[m_dwByteIdx] << 8) | m_pBuf[m_dwByteIdx + 1]; in readShortInteger()
[all …]
DJBig2_BitStream.h48 const uint8_t* m_pBuf; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp103 : m_pBuf(pData), in CPDF_StreamParser()
112 : m_pBuf(pData), in CPDF_StreamParser()
126 if (PDFCharIsWhitespace(m_pBuf[m_Pos])) in ReadInlineStream()
187 FXSYS_memcpy(pData.get(), m_pBuf + m_Pos, OrigSize); in ReadInlineStream()
194 PDF_DecodeInlineStream(m_pBuf + m_Pos, m_Size - m_Pos, width, height, in ReadInlineStream()
220 FXSYS_memcpy(pData.get(), m_pBuf + m_Pos, dwStreamSize); in ReadInlineStream()
234 int ch = m_pBuf[m_Pos++]; in ParseNextElement()
240 ch = m_pBuf[m_Pos++]; in ParseNextElement()
250 ch = m_pBuf[m_Pos++]; in ParseNextElement()
273 ch = m_pBuf[m_Pos++]; in ParseNextElement()
[all …]
Dcpdf_streamparser.h53 const uint8_t* m_pBuf; variable
/external/pdfium/xfa/fde/
Dcfde_txtedtbuf.cpp268 : m_pBuf(pBuf), in Iterator()
273 ASSERT(m_pBuf); in Iterator()
283 ASSERT(m_nCurChunk < pdfium::CollectionSize<int32_t>(m_pBuf->m_chunks)); in Next()
291 chunk = m_pBuf->m_chunks[m_nCurChunk].get(); in Next()
302 if (m_nIndex >= (m_pBuf->m_nTotal - 1)) in Next()
305 ASSERT(m_nCurChunk < pdfium::CollectionSize<int32_t>(m_pBuf->m_chunks)); in Next()
306 if (m_pBuf->m_chunks[m_nCurChunk]->nUsed != (m_nCurIndex + 1)) { in Next()
309 int32_t nEnd = m_pBuf->m_chunks.size() - 1; in Next()
312 ChunkHeader* chunkTemp = m_pBuf->m_chunks[m_nCurChunk].get(); in Next()
325 ASSERT(nIndex >= 0 && nIndex < m_pBuf->m_nTotal); in SetAt()
[all …]
Dcfde_txtedtbuf.h37 CFDE_TxtEdtBuf* m_pBuf;
/external/pdfium/xfa/fde/xml/
Dcfx_saxreader.cpp69 m_pBuf(nullptr), in CFX_SAXFile()
90 m_pBuf = FX_Alloc(uint8_t, m_dwBufSize); in StartFile()
91 if (!pFile->ReadBlock(m_pBuf, dwStart, m_dwBufSize)) in StartFile()
109 if (!m_pFile->ReadBlock(m_pBuf, m_dwCur, m_dwBufSize)) { in ReadNextBlock()
117 if (m_pBuf) { in Reset()
118 FX_Free(m_pBuf); in Reset()
119 m_pBuf = nullptr; in Reset()
246 const uint8_t* pBuf = m_File.m_pBuf; in ContinueParse()
Dcfx_saxreader.h53 uint8_t* m_pBuf; variable
/external/pdfium/xfa/fgas/crt/
Dfgas_stream.cpp276 uint8_t* m_pBuf; member in __anoneb32b1170111::CFGAS_TextStream
915 m_pBuf(nullptr), in CFGAS_TextStream()
923 if (m_pBuf) in ~CFGAS_TextStream()
924 FX_Free(m_pBuf); in ~CFGAS_TextStream()
1076 if (!m_pBuf) { in ReadString()
1077 m_pBuf = FX_Alloc(uint8_t, iBytes); in ReadString()
1080 m_pBuf = FX_Realloc(uint8_t, m_pBuf, iBytes); in ReadString()
1083 iLen = m_pStreamImp->ReadData(m_pBuf, iBytes); in ReadString()
1085 int32_t iDecode = FX_DecodeString(m_wCodePage, (const FX_CHAR*)m_pBuf, in ReadString()
/external/pdfium/testing/
Dtest_support.cpp180 : m_pBuf(pBuf), m_Len(len) { in TestLoader()
192 memcpy(pBuf, pLoader->m_pBuf + pos, size); in GetBlock()
Dtest_support.h100 const char* const m_pBuf;
/external/pdfium/fpdfsdk/
Dfpdfview.cpp559 FXSYS_memcpy(buffer, m_pBuf + offset, size); in ReadBlock()
564 CMemFile(uint8_t* pBuf, FX_FILESIZE size) : m_pBuf(pBuf), m_size(size) {} in CMemFile()
566 uint8_t* const m_pBuf; member in CMemFile