Home
last modified time | relevance | path

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

12

/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream_acc.cpp12 : m_pStream(pStream) {} in CPDF_StreamAcc()
23 if (!m_pStream) in LoadAllData()
26 bool bProcessRawData = bRawAccess || !m_pStream->HasFilter(); in LoadAllData()
27 if (bProcessRawData && m_pStream->IsMemoryBased()) { in LoadAllData()
28 m_dwSize = m_pStream->GetRawSize(); in LoadAllData()
29 m_pData = m_pStream->GetRawData(); in LoadAllData()
32 uint32_t dwSrcSize = m_pStream->GetRawSize(); in LoadAllData()
37 if (m_pStream->IsMemoryBased()) { in LoadAllData()
38 pSrcData = m_pStream->GetRawData(); in LoadAllData()
41 if (!m_pStream->ReadRawData(0, pSrcData, dwSrcSize)) in LoadAllData()
[all …]
Dcpdf_stream_acc.h30 const CPDF_Stream* GetStream() const { return m_pStream.Get(); } in GetStream()
52 UnownedPtr<const CPDF_Stream> const m_pStream; variable
/external/pdfium/core/fxcodec/jbig2/
DJBig2_Context.cpp68 m_pStream = pdfium::MakeUnique<CJBig2_BitStream>(pSrcStream); in CJBig2_Context()
75 if (m_pStream->getByteLeft() <= 0) in decodeSequential()
78 while (m_pStream->getByteLeft() >= JBIG2_MIN_SEGMENT_SIZE) { in decodeSequential()
86 m_dwOffset = m_pStream->getOffset(); in decodeSequential()
107 m_pStream->setOffset(m_dwOffset.ValueOrDie()); in decodeSequential()
109 m_pStream->offset(4); in decodeSequential()
112 if (m_pStream->getByteLeft() > 0 && m_pPage && pPause && in decodeSequential()
124 while (m_pStream->getByteLeft() > JBIG2_MIN_SEGMENT_SIZE) { in decodeRandomFirstPage()
244 if (m_pStream->readInteger(&pSegment->m_dwNumber) != 0 || in parseSegmentHeader()
245 m_pStream->read1Byte(&pSegment->m_cFlags.c) != 0) { in parseSegmentHeader()
[all …]
DJBig2_ArithDecoder.cpp59 : m_Complete(false), m_FinishedStream(false), m_pStream(pStream) { in CJBig2_ArithDecoder()
60 m_B = m_pStream->getCurByte_arith(); in CJBig2_ArithDecoder()
95 B1 = m_pStream->getNextByte_arith(); in BYTEIN()
105 m_pStream->incByteIdx(); in BYTEIN()
111 m_pStream->incByteIdx(); in BYTEIN()
112 m_B = m_pStream->getCurByte_arith(); in BYTEIN()
117 if (!m_pStream->IsInBounds()) in BYTEIN()
DJBig2_HuffmanDecoder.cpp12 : m_pStream(pStream) {} in CJBig2_HuffmanDecoder()
22 if (m_pStream->read1Bit(&nTmp) == -1) in decodeAValue()
32 if (m_pStream->readNBits(pTable->GetRANGELEN()[i], &nTmp) == -1) in decodeAValue()
DJBig2_HuffmanDecoder.h23 UnownedPtr<CJBig2_BitStream> const m_pStream;
DJBig2_ArithDecoder.h43 UnownedPtr<CJBig2_BitStream> const m_pStream; variable
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp96 : m_pStream(nullptr), in CFX_PSRenderer()
109 m_pStream = pStream; in Init()
135 m_pStream->WriteString(init_str); in StartRendering()
144 m_pStream->WriteString("\nrestore\n"); in EndRendering()
150 m_pStream->WriteString("q\n"); in SaveState()
156 m_pStream->WriteString("Q\n"); in RestoreState()
158 m_pStream->WriteString("q\n"); in RestoreState()
209 m_pStream->WriteBlock(buf.str().c_str(), buf.tellp()); in OutputPath()
226 m_pStream->WriteString("W"); in SetClip_PathFill()
228 m_pStream->WriteString("*"); in SetClip_PathFill()
[all …]
Dcfx_psrenderer.h89 RetainPtr<IFX_WriteStream> m_pStream; variable
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.cpp40 m_pStream(std::move(pStream)), in CPDF_Image()
41 m_pDict(ToDictionary(m_pStream->GetDict()->Clone())) { in CPDF_Image()
42 ASSERT(m_pStream.IsOwned()); in CPDF_Image()
49 m_pStream(ToStream(pDoc->GetIndirectObject(dwStreamObjNum))), in CPDF_Image()
50 m_pDict(m_pStream->GetDict()) { in CPDF_Image()
51 ASSERT(!m_pStream.IsOwned()); in CPDF_Image()
68 if (!m_pStream->IsInline()) in ConvertStreamToIndirectObject()
71 ASSERT(m_pStream.IsOwned()); in ConvertStreamToIndirectObject()
72 m_pDocument->AddIndirectObject(m_pStream.Release()); in ConvertStreamToIndirectObject()
76 return m_pStream ? m_pStream->GetDict() : nullptr; in GetDict()
[all …]
Dcpdf_meshstream.cpp111 m_pStream(pdfium::MakeRetain<CPDF_StreamAcc>(pShadingStream)) { in CPDF_MeshStream()
119 m_pStream->LoadAllDataFiltered(); in Load()
120 m_BitStream = pdfium::MakeUnique<CFX_BitStream>(m_pStream->GetData(), in Load()
121 m_pStream->GetSize()); in Load()
Dcpdf_iccprofile.h23 CPDF_Stream* GetStream() const { return m_pStream.Get(); } in GetStream()
35 UnownedPtr<CPDF_Stream> const m_pStream; variable
Dcpdf_image.h33 CPDF_Stream* GetStream() const { return m_pStream.Get(); } in GetStream()
80 MaybeOwned<CPDF_Stream> m_pStream; variable
Dcpdf_iccprofile.cpp24 : m_bsRGB(DetectSRGB(pData, dwSize)), m_pStream(pStream) { in CPDF_IccProfile()
Dcpdf_meshstream.h83 RetainPtr<CPDF_StreamAcc> m_pStream; variable
/external/pdfium/core/fxcrt/xml/
Dcfx_xmlsyntaxparser.cpp80 : m_pStream(pStream), in CFX_XMLSyntaxParser()
106 pdfium::base::checked_cast<size_t>(m_pStream->GetLength())); in CFX_XMLSyntaxParser()
107 m_iCurrentPos = m_pStream->GetBOMLength(); in CFX_XMLSyntaxParser()
131 FX_FILESIZE iStreamLength = m_pStream->GetLength(); in DoSyntaxParse()
143 if (m_pStream->GetPosition() != m_iCurrentPos) in DoSyntaxParse()
144 m_pStream->Seek(CFX_SeekableStreamProxy::From::Begin, m_iCurrentPos); in DoSyntaxParse()
147 m_pStream->ReadString(m_Buffer.data(), m_iXMLPlaneSize, &m_bEOS); in DoSyntaxParse()
148 iPos = m_pStream->GetPosition(); in DoSyntaxParse()
593 if (!m_pStream) in GetStatus()
596 int32_t iStreamLength = m_pStream->GetLength(); in GetStatus()
[all …]
Dcfx_xmlparser.cpp21 m_pStream(pStream), in CFX_XMLParser()
22 m_pParser(pdfium::MakeUnique<CFX_XMLSyntaxParser>(m_pStream)), in CFX_XMLParser()
26 ASSERT(m_pParent && m_pStream); in CFX_XMLParser()
Dcfx_xmldoc.h34 RetainPtr<CFX_SeekableStreamProxy> m_pStream; variable
Dcfx_xmlparser.h36 RetainPtr<CFX_SeekableStreamProxy> m_pStream;
Dcfx_xmlsyntaxparser.h103 RetainPtr<CFX_SeekableStreamProxy> m_pStream; variable
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp143 m_pStream(stream) { in CFX_SeekableStreamProxy()
144 ASSERT(m_pStream); in CFX_SeekableStreamProxy()
147 m_iPosition = m_pStream->GetSize(); in CFX_SeekableStreamProxy()
217 if (!m_pStream->ReadBlock(pBuffer, m_iPosition, iBufferSize)) in ReadData()
276 if (!m_pStream->WriteBlock(str.unterminated_c_str(), m_iPosition, in WriteString()
Dcfx_seekablestreamproxy.h26 FX_FILESIZE GetLength() const { return m_pStream->GetSize(); } in GetLength()
51 RetainPtr<IFX_SeekableStream> m_pStream; variable
/external/pdfium/xfa/fxfa/parser/
Dcxfa_simple_parser.cpp364 m_pStream = pdfium::MakeRetain<CFX_SeekableStreamProxy>(pStream, false); in StartParse()
365 uint16_t wCodePage = m_pStream->GetCodePage(); in StartParse()
368 m_pStream->SetCodePage(FX_CODEPAGE_UTF8); in StartParse()
372 pdfium::MakeUnique<CFX_XMLParser>(m_pXMLDoc->GetRoot(), m_pStream); in StartParse()
395 m_pStream.Reset(); in DoParse()
1263 m_pStream.Reset(); in CloseParser()
Dcxfa_simple_parser.h78 RetainPtr<CFX_SeekableStreamProxy> m_pStream; variable
/external/pdfium/xfa/fxfa/
Dcxfa_ffdoc.h88 RetainPtr<IFX_SeekableStream> m_pStream; variable

12