Home
last modified time | relevance | path

Searched refs:m_pStream (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream_acc.cpp19 : m_pStream(std::move(pStream)) {} in CPDF_StreamAcc()
31 if (!m_pStream) in LoadAllData()
34 bool bProcessRawData = bRawAccess || !m_pStream->HasFilter(); in LoadAllData()
59 return m_pStream; in GetStream()
63 return m_pStream->GetDict()->GetIntegerFor("Length1"); in GetLength1ForTest()
77 if (m_pStream && m_pStream->IsMemoryBased()) in GetSpan()
78 return m_pStream->GetInMemoryRawData(); in GetSpan()
83 return m_pStream ? m_pStream->KeyForCache() : 0; in KeyForCache()
102 if (m_pStream->IsUninitialized()) in ProcessRawData()
105 uint32_t dwSrcSize = m_pStream->GetRawSize(); in ProcessRawData()
[all …]
Dcpdf_stream_acc.h65 RetainPtr<const CPDF_Stream> const m_pStream; variable
/external/pdfium/core/fxcodec/jbig2/
DJBig2_Context.cpp74 : m_pStream(std::make_unique<CJBig2_BitStream>(pSrcSpan, src_key)), in CJBig2_Context()
82 if (m_pStream->getByteLeft() <= 0) in DecodeSequential()
85 while (m_pStream->getByteLeft() >= JBIG2_MIN_SEGMENT_SIZE) { in DecodeSequential()
94 m_nOffset = m_pStream->getOffset(); in DecodeSequential()
115 m_pStream->setOffset(m_nOffset); in DecodeSequential()
117 m_pStream->offset(4); in DecodeSequential()
120 if (m_pStream->getByteLeft() > 0 && m_pPage && pPause && in DecodeSequential()
208 if (m_pStream->readInteger(&pSegment->m_dwNumber) != 0 || in ParseSegmentHeader()
209 m_pStream->read1Byte(&pSegment->m_cFlags.c) != 0) { in ParseSegmentHeader()
213 uint8_t cTemp = m_pStream->getCurByte(); in ParseSegmentHeader()
[all …]
DJBig2_ArithDecoder.cpp57 : m_pStream(pStream) { in CJBig2_ArithDecoder()
58 m_B = m_pStream->getCurByte_arith(); in CJBig2_ArithDecoder()
92 unsigned char B1 = m_pStream->getNextByte_arith(); in BYTEIN()
112 m_pStream->incByteIdx(); in BYTEIN()
118 m_pStream->incByteIdx(); in BYTEIN()
119 m_B = m_pStream->getCurByte_arith(); in BYTEIN()
124 if (!m_pStream->IsInBounds()) in BYTEIN()
DJBig2_HuffmanDecoder.cpp13 : m_pStream(pStream) {} in CJBig2_HuffmanDecoder()
23 if (m_pStream->read1Bit(&nTmp) == -1) in DecodeAValue()
41 if (m_pStream->readNBits(pTable->GetRANGELEN()[i], &nTmp) == -1) in DecodeAValue()
DJBig2_HuffmanDecoder.h22 UnownedPtr<CJBig2_BitStream> const m_pStream;
DJBig2_ArithDecoder.h64 UnownedPtr<CJBig2_BitStream> const m_pStream; variable
DJBig2_Context.h85 std::unique_ptr<CJBig2_BitStream> m_pStream; variable
/external/pdfium/core/fpdfdoc/
Dcpdf_icon.cpp15 : m_pStream(std::move(pStream)) {} in CPDF_Icon()
20 RetainPtr<const CPDF_Dictionary> pDict = m_pStream->GetDict(); in GetImageSize()
29 RetainPtr<const CPDF_Dictionary> pDict = m_pStream->GetDict(); in GetImageMatrix()
37 RetainPtr<const CPDF_Dictionary> pDict = m_pStream->GetDict(); in GetImageAlias()
Dcpdf_icon.h26 RetainPtr<const CPDF_Stream> const m_pStream;
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp54 : m_bIsInline(true), m_pDocument(pDoc), m_pStream(std::move(pStream)) { in CPDF_Image()
61 m_pStream(ToStream(pDoc->GetMutableIndirectObject(dwStreamObjNum))) { in CPDF_Image()
69 RetainPtr<CPDF_Dictionary> pStreamDict = m_pStream->GetMutableDict(); in FinishInitialization()
79 if (!m_pStream->IsInline()) in ConvertStreamToIndirectObject()
82 m_pDocument->AddIndirectObject(m_pStream); in ConvertStreamToIndirectObject()
86 return m_pStream ? m_pStream->GetDict() : nullptr; in GetDict()
90 return m_pStream; in GetStream()
136 if (!m_pStream) in InitJPEG()
137 m_pStream = pdfium::MakeRetain<CPDF_Stream>(); in InitJPEG()
160 m_pStream->InitStreamFromFile(std::move(pFile), std::move(pDict)); in SetJpegImage()
[all …]
Dcpdf_meshstream.cpp109 m_pStream(pdfium::MakeRetain<CPDF_StreamAcc>(m_pShadingStream)) {} in CPDF_MeshStream()
114 m_pStream->LoadAllDataFiltered(); in Load()
115 m_BitStream = std::make_unique<CFX_BitStream>(m_pStream->GetSpan()); in Load()
Dcpdf_iccprofile.h48 RetainPtr<const CPDF_Stream> const m_pStream; // Used by `m_Transform`. variable
Dcpdf_iccprofile.cpp25 : m_bsRGB(DetectSRGB(span)), m_pStream(std::move(pStream)) { in CPDF_IccProfile()
Dcpdf_meshstream.h86 RetainPtr<CPDF_StreamAcc> m_pStream; variable
Dcpdf_image.h90 RetainPtr<CPDF_Stream> m_pStream; variable
Dcpdf_dib.h109 RetainPtr<const CPDF_Stream> const m_pStream; variable
Dcpdf_dib.cpp220 : m_pDocument(pDoc), m_pStream(std::move(pStream)) {} in CPDF_DIB()
286 if (!m_pStream->IsInline()) in StartLoadDIBBase()
793 if (!m_pStream) in LoadInternal()
796 m_pDict = m_pStream->GetDict(); in LoadInternal()
821 m_pStreamAcc = pdfium::MakeRetain<CPDF_StreamAcc>(m_pStream); in LoadInternal()
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp104 : m_pStream(stream) { in CFX_SeekableStreamProxy()
105 DCHECK(m_pStream); in CFX_SeekableStreamProxy()
136 return m_pStream->GetSize(); in GetSize()
178 if (!m_pStream->ReadBlockAtOffset({pBuffer, iBufferSize}, m_iPosition)) in ReadData()
Dcfx_seekablestreamproxy.h48 RetainPtr<IFX_SeekableReadStream> const m_pStream; variable
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.h176 RetainPtr<IFX_RetainableWriteStream> m_pStream; variable
Dcfx_psrenderer.cpp240 m_pStream = pStream; in Init()
279 m_pStream->WriteBlock( in EndRendering()
286 m_pStream->WriteBlock( in EndRendering()