Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_BitStream.cpp14 : m_pBuf(pSrcStream->GetData()), in CJBig2_BitStream()
22 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/xfa/src/fee/src/fee/
Dfde_txtedtbuf.cpp23 : m_pBuf(pBuf), in CFDE_TxtEdtBufIter()
32 FXSYS_assert(m_pBuf); in CFDE_TxtEdtBufIter()
43 FXSYS_assert(m_nCurChunk < m_pBuf->m_Chunks.GetSize()); in Next()
51 (CFDE_TxtEdtBuf::FDE_LPCHUNKHEADER)m_pBuf->m_Chunks[m_nCurChunk]; in Next()
62 if (m_nIndex >= (m_pBuf->m_nTotal - 1)) { in Next()
65 FXSYS_assert(m_nCurChunk < m_pBuf->m_Chunks.GetSize()); in Next()
67 (CFDE_TxtEdtBuf::FDE_LPCHUNKHEADER)m_pBuf->m_Chunks[m_nCurChunk]; in Next()
71 int32_t nEnd = m_pBuf->m_Chunks.GetSize() - 1; in Next()
75 (CFDE_TxtEdtBuf::FDE_LPCHUNKHEADER)m_pBuf->m_Chunks[m_nCurChunk]; in Next()
87 FXSYS_assert(nIndex >= 0 && nIndex < m_pBuf->m_nTotal); in SetAt()
[all …]
Dfde_txtedtbuf.h32 CFDE_TxtEdtBuf* m_pBuf;
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_parser_old.cpp240 m_pBuf = pData; in CPDF_StreamParser()
333 if (PDFCharIsWhitespace(m_pBuf[m_Pos])) in ReadInlineStream()
395 FXSYS_memcpy(pData, m_pBuf + m_Pos, OrigSize); in ReadInlineStream()
401 PDF_DecodeInlineStream(m_pBuf + m_Pos, m_Size - m_Pos, width, height, in ReadInlineStream()
442 FXSYS_memcpy(pData, m_pBuf + m_Pos, dwStreamSize); in ReadInlineStream()
466 int ch = m_pBuf[m_Pos++]; in ParseNextElement()
472 ch = m_pBuf[m_Pos++]; in ParseNextElement()
482 ch = m_pBuf[m_Pos++]; in ParseNextElement()
504 ch = m_pBuf[m_Pos++]; in ParseNextElement()
541 int ch = m_pBuf[m_Pos++]; in SkipPathObject()
[all …]
Dpageint.h53 const uint8_t* m_pBuf; variable
/external/pdfium/xfa/src/fgas/src/xml/
Dfx_sax_imp.cpp26 m_pBuf(NULL), in CFX_SAXFile()
44 m_pBuf = FX_Alloc(uint8_t, m_dwBufSize); in StartFile()
45 if (!pFile->ReadBlock(m_pBuf, dwStart, m_dwBufSize)) { in StartFile()
62 if (!m_pFile->ReadBlock(m_pBuf, m_dwCur, m_dwBufSize)) { in ReadNextBlock()
69 if (m_pBuf) { in Reset()
70 FX_Free(m_pBuf); in Reset()
71 m_pBuf = NULL; in Reset()
215 const uint8_t* pBuf = m_File.m_pBuf; in ContinueParse()
Dfx_sax_imp.h20 uint8_t* m_pBuf; variable
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp283 m_pBuf = NULL; in CPSOutput()
286 FX_Free(m_pBuf); in ~CPSOutput()
289 m_pBuf = FX_Alloc(FX_CHAR, 1026); in Init()
298 *(FX_WORD*)m_pBuf = send_len; in OutputPS()
299 FXSYS_memcpy(m_pBuf + 2, string + sent_len, send_len); in OutputPS()
300 ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, m_pBuf, 0, NULL); in OutputPS()
Dwin32_int.h285 FX_CHAR* m_pBuf; variable
/external/pdfium/testing/
Dtest_support.cpp160 : m_pBuf(pBuf), m_Len(len) { in TestLoader()
172 memcpy(pBuf, pLoader->m_pBuf + pos, size); in GetBlock()
Dtest_support.h62 const char* const m_pBuf;
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_stream.cpp632 m_pBuf(NULL), in CFX_TextStream()
646 if (m_pBuf != NULL) { in ~CFX_TextStream()
647 FX_Free(m_pBuf); in ~CFX_TextStream()
795 if (m_pBuf == NULL) { in ReadString()
796 m_pBuf = FX_Alloc(uint8_t, iBytes); in ReadString()
799 m_pBuf = FX_Realloc(uint8_t, m_pBuf, iBytes); in ReadString()
803 iLen = m_pStreamImp->ReadData(m_pBuf, iBytes); in ReadString()
805 int32_t iDecode = FX_DecodeString(m_wCodePage, (const FX_CHAR*)m_pBuf, in ReadString()
Dfx_stream.h257 uint8_t* m_pBuf; variable
/external/pdfium/fpdfsdk/src/
Dfpdfview.cpp371 CMemFile(uint8_t* pBuf, FX_FILESIZE size) : m_pBuf(pBuf), m_size(size) {} in CMemFile()
385 FXSYS_memcpy(buffer, m_pBuf + offset, size); in ReadBlock()
392 uint8_t* const m_pBuf; member in CMemFile