/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_stream_acc.cpp | 12 : 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 …]
|
D | cpdf_stream_acc.h | 30 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/ |
D | JBig2_Context.cpp | 68 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 …]
|
D | JBig2_ArithDecoder.cpp | 59 : 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()
|
D | JBig2_HuffmanDecoder.cpp | 12 : 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()
|
D | JBig2_HuffmanDecoder.h | 23 UnownedPtr<CJBig2_BitStream> const m_pStream;
|
D | JBig2_ArithDecoder.h | 43 UnownedPtr<CJBig2_BitStream> const m_pStream; variable
|
/external/pdfium/core/fxge/win32/ |
D | cfx_psrenderer.cpp | 96 : 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 …]
|
D | cfx_psrenderer.h | 89 RetainPtr<IFX_WriteStream> m_pStream; variable
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_image.cpp | 40 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 …]
|
D | cpdf_meshstream.cpp | 111 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()
|
D | cpdf_iccprofile.h | 23 CPDF_Stream* GetStream() const { return m_pStream.Get(); } in GetStream() 35 UnownedPtr<CPDF_Stream> const m_pStream; variable
|
D | cpdf_image.h | 33 CPDF_Stream* GetStream() const { return m_pStream.Get(); } in GetStream() 80 MaybeOwned<CPDF_Stream> m_pStream; variable
|
D | cpdf_iccprofile.cpp | 24 : m_bsRGB(DetectSRGB(pData, dwSize)), m_pStream(pStream) { in CPDF_IccProfile()
|
D | cpdf_meshstream.h | 83 RetainPtr<CPDF_StreamAcc> m_pStream; variable
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlsyntaxparser.cpp | 80 : 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 …]
|
D | cfx_xmlparser.cpp | 21 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()
|
D | cfx_xmldoc.h | 34 RetainPtr<CFX_SeekableStreamProxy> m_pStream; variable
|
D | cfx_xmlparser.h | 36 RetainPtr<CFX_SeekableStreamProxy> m_pStream;
|
D | cfx_xmlsyntaxparser.h | 103 RetainPtr<CFX_SeekableStreamProxy> m_pStream; variable
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 143 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()
|
D | cfx_seekablestreamproxy.h | 26 FX_FILESIZE GetLength() const { return m_pStream->GetSize(); } in GetLength() 51 RetainPtr<IFX_SeekableStream> m_pStream; variable
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_simple_parser.cpp | 364 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()
|
D | cxfa_simple_parser.h | 78 RetainPtr<CFX_SeekableStreamProxy> m_pStream; variable
|
/external/pdfium/xfa/fxfa/ |
D | cxfa_ffdoc.h | 88 RetainPtr<IFX_SeekableStream> m_pStream; variable
|