Home
last modified time | relevance | path

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

12

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_Context.cpp80 m_pStream.reset(new CJBig2_BitStream(pSrcStream)); in CJBig2_Context()
92 if (m_pStream->getByteLeft() <= 0) in decode_SquentialOrgnazation()
95 while (m_pStream->getByteLeft() >= JBIG2_MIN_SEGMENT_SIZE) { in decode_SquentialOrgnazation()
103 m_dwOffset = m_pStream->getOffset(); in decode_SquentialOrgnazation()
121 m_pStream->setOffset(m_dwOffset); in decode_SquentialOrgnazation()
123 m_pStream->offset(4); in decode_SquentialOrgnazation()
126 if (m_pStream->getByteLeft() > 0 && m_pPage && pPause && in decode_SquentialOrgnazation()
140 while (m_pStream->getByteLeft() > JBIG2_MIN_SEGMENT_SIZE) { in decode_RandomOrgnazation_FirstPage()
262 if (m_pStream->readInteger(&pSegment->m_dwNumber) != 0 || in parseSegmentHeader()
263 m_pStream->read1Byte(&pSegment->m_cFlags.c) != 0) { in parseSegmentHeader()
[all …]
DJBig2_ArithDecoder.cpp90 : m_pStream(pStream) { in CJBig2_ArithDecoder()
91 m_B = m_pStream->getCurByte_arith(); in CJBig2_ArithDecoder()
127 B1 = m_pStream->getNextByte_arith(); in BYTEIN()
131 m_pStream->incByteIdx(); in BYTEIN()
137 m_pStream->incByteIdx(); in BYTEIN()
138 m_B = m_pStream->getCurByte_arith(); in BYTEIN()
DJBig2_HuffmanDecoder.cpp12 : m_pStream(pStream) { in CJBig2_HuffmanDecoder()
23 if (m_pStream->read1Bit(&nTmp) == -1) in decodeAValue()
33 if (m_pStream->readNBits(pTable->GetRANGELEN()[i], &nTmp) == -1) in decodeAValue()
DJBig2_HuffmanDecoder.h20 CJBig2_BitStream* const m_pStream;
DJBig2_ArithDecoder.h35 CJBig2_BitStream* const m_pStream; variable
DJBig2_Context.h113 std::unique_ptr<CJBig2_BitStream> m_pStream; variable
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_image.cpp45 if (m_bInline || (m_pStream && m_pStream->GetObjNum() == 0)) { in Release()
50 if (m_pStream->GetObjNum()) in Clone()
51 return m_pDocument->GetPageData()->GetImage(m_pStream); in Clone()
54 pImage->LoadImageF(ToStream(m_pStream->CPDF_Object::Clone()), m_bInline); in Clone()
62 m_pStream = NULL; in CPDF_Image()
72 if (m_pStream) { in ~CPDF_Image()
73 m_pStream->Release(); in ~CPDF_Image()
81 m_pStream = pStream; in LoadImageF()
/external/pdfium/core/src/fxcrt/
Dfx_basic_buffer.cpp215 if (m_pStream) { in operator <<()
216 m_pStream->WriteBlock(&i, 1); in operator <<()
223 if (m_pStream) { in operator <<()
224 m_pStream->WriteBlock(&i, sizeof(int)); in operator <<()
231 if (m_pStream) { in operator <<()
232 m_pStream->WriteBlock(&i, sizeof(FX_DWORD)); in operator <<()
239 if (m_pStream) { in operator <<()
240 m_pStream->WriteBlock(&f, sizeof(FX_FLOAT)); in operator <<()
248 if (m_pStream) { in operator <<()
249 m_pStream->WriteBlock(&len, sizeof(int)); in operator <<()
[all …]
/external/pdfium/xfa/src/fdp/src/css/
Dfde_csssyntax.cpp24 : m_pStream(NULL), in CFDE_CSSSyntaxParser()
45 m_pStream = pStream; in Init()
46 m_iStreamPos = m_pStream->GetBOM(bom); in Init()
64 m_pStream = NULL; in Reset()
75 if (m_pStream == NULL) { in DoSyntaxParse()
84 int32_t iLen = m_TextPlane.LoadFromStream(m_pStream, m_iStreamPos, in DoSyntaxParse()
86 m_iStreamPos = m_pStream->GetPosition(); in DoSyntaxParse()
334 if (m_pStream != NULL) { in DoSyntaxParse()
338 m_pStream->GetCodePage() != wCodePage) { in DoSyntaxParse()
339 m_pStream->SetCodePage(wCodePage); in DoSyntaxParse()
Dfde_csssyntax.h99 IFX_Stream* m_pStream; variable
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffdoc.cpp18 m_pStream(nullptr), in CXFA_FFDoc()
34 int32_t iStatus = pDocParser->StartParse(m_pStream); in StartLoad()
144 if (pParser->StartParse(m_pStream) == XFA_PARSESTATUS_Ready && in DoLoad()
217 m_pStream = pStream; in OpenDoc()
255 if (m_pStream) { in OpenDoc()
256 m_pStream->Release(); in OpenDoc()
257 m_pStream = NULL; in OpenDoc()
259 m_pStream = pFileRead; in OpenDoc()
292 if (m_dwDocType != XFA_DOCTYPE_XDP && m_pStream && m_bOwnStream) { in CloseDoc()
293 m_pStream->Release(); in CloseDoc()
[all …]
Dxfa_ffdoc.h54 IFX_FileRead* m_pStream; variable
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp54 if (!m_pStream) { in InitJPEG()
55 m_pStream = new CPDF_Stream(NULL, 0, NULL); in InitJPEG()
64 m_pStream->InitStream(pData, size, pDict); in SetJpegImage()
88 m_pStream->InitStreamFromFile(pFile, pDict); in SetJpegImage()
370 if (!m_pStream) { in SetImage()
371 m_pStream = new CPDF_Stream(NULL, 0, NULL); in SetImage()
374 m_pStream->InitStream(dest_buf, dest_size, pDict); in SetImage()
377 m_pStream->InitStreamFromFile(pFileRead, pDict); in SetImage()
385 pPage->GetRenderCache()->ResetBitmap(m_pStream, pBitmap); in ResetCache()
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.cpp865 m_pStream = NULL; in Reset()
914 m_pStream = pXMLStream; in LoadXML()
915 FX_WORD wCodePage = m_pStream->GetCodePage(); in LoadXML()
918 m_pStream->SetCodePage(FX_CODEPAGE_UTF8); in LoadXML()
924 m_pSyntaxParser->Init(m_pStream, iXMLPlaneSize, iTextDataSize); in LoadXML()
1062 if (pXMLStream == NULL || pXMLStream == m_pStream) { in SaveXML()
1063 m_pStream->Seek(FX_STREAMSEEK_Begin, 0); in SaveXML()
1064 pXMLStream = m_pStream; in SaveXML()
1082 if (pXMLStream == m_pStream) { in SaveXML()
1455 : m_pStream(nullptr), in CFDE_XMLSyntaxParser()
[all …]
/external/pdfium/xfa/src/fgas/src/font/
Dfx_gefont.cpp99 m_pStream(NULL), in CFX_GEFont()
121 m_pStream(NULL), in CFX_GEFont()
158 if (m_pStream != NULL) { in ~CFX_GEFont()
159 m_pStream->Release(); in ~CFX_GEFont()
260 if (m_pFont || m_pStream || m_pFileRead) { in LoadFont()
264 m_pStream = IFX_Stream::CreateStream( in LoadFont()
266 m_pFileRead = FX_CreateFileRead(m_pStream); in LoadFont()
268 if (m_pStream && m_pFileRead) { in LoadFont()
288 m_pStream = pFontStream; in LoadFont()
Dfx_gefont.h65 IFX_Stream* m_pStream; variable
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_parser_imp.cpp27 m_pStream(nullptr), in CXFA_SimpleParser()
70 m_pStream = IFX_Stream::CreateStream( in StartParse()
72 if (m_pStream == NULL) { in StartParse()
75 FX_WORD wCodePage = m_pStream->GetCodePage(); in StartParse()
78 m_pStream->SetCodePage(FX_CODEPAGE_UTF8); in StartParse()
84 m_pXMLParser = new CXFA_XMLParser(m_pXMLDoc->GetRoot(), m_pStream); in StartParse()
108 if (m_pStream) { in DoParse()
109 m_pStream->Release(); in DoParse()
110 m_pStream = NULL; in DoParse()
126 m_pStream = pStream; in ParseXMLData()
[all …]
Dxfa_parser_imp.h71 IFX_Stream* m_pStream; variable
124 IFX_Stream* m_pStream; variable
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_stream.cpp1208 : m_bReleaseStream(bReleaseStream), m_pStream(pStream) { in CFGAS_FileRead()
1209 FXSYS_assert(m_pStream != NULL); in CFGAS_FileRead()
1213 m_pStream->Release(); in ~CFGAS_FileRead()
1217 return (FX_FILESIZE)m_pStream->GetLength(); in GetSize()
1222 m_pStream->Lock(); in ReadBlock()
1223 m_pStream->Seek(FX_STREAMSEEK_Begin, (int32_t)offset); in ReadBlock()
1224 int32_t iLen = m_pStream->ReadData((uint8_t*)buffer, (int32_t)size); in ReadBlock()
1225 m_pStream->Unlock(); in ReadBlock()
1330 : m_pStream(pStream), m_bReleaseStream(bReleaseStream) { in CFGAS_FileWrite()
1331 FXSYS_assert(m_pStream != NULL); in CFGAS_FileWrite()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp172 m_pStream(pStream), in CPDF_ImageCacheEntry()
227 if (!pSrc->Load(m_pDocument, m_pStream, &pMaskSrc, &MatteColor, in GetCachedBitmap()
281 ->StartLoadDIBSource(m_pDocument, m_pStream, TRUE, pFormResources, in StartGetCachedBitmap()
Drender_int.h439 CPDF_Stream* GetStream() const { return m_pStream; } in GetStream()
464 CPDF_Stream* m_pStream; variable
575 const CPDF_Stream* m_pStream; variable
Dfpdf_render_loadimage.cpp101 if (pSource->Load(m_pDocument, m_pStream, (CPDF_DIBSource**)ppMask, in LoadDIBSource()
126 ->StartLoadDIBSource(m_pDocument, m_pStream, TRUE, pFormResource, in StartLoadDIBSource()
224 m_pStream = pStream; in Load()
233 if (!LoadColorInfo(m_pStream->GetObjNum() != 0 ? NULL : pFormResources, in Load()
342 m_pStream = pStream; in StartLoadDIBSource()
353 if (!LoadColorInfo(m_pStream->GetObjNum() != 0 ? NULL : pFormResources, in StartLoadDIBSource()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h515 const CPDF_Stream* GetStream() const { return m_pStream; } in GetStream()
518 return m_pStream ? m_pStream->GetDict() : nullptr; in GetDict()
542 const CPDF_Stream* m_pStream; variable
Dfpdf_resource.h786 CPDF_Stream* GetStream() const { return m_pStream; } in GetStream()
789 return m_pStream ? m_pStream->GetDict() : NULL; in GetDict()
837 CPDF_Stream* m_pStream;
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_objects.cpp971 m_pStream = NULL; in CPDF_StreamAcc()
981 m_pStream = pStream; in LoadAllData()
1007 pDecryptedData, dwDecryptedSize, m_pStream->GetDict(), m_pData, in LoadAllData()
1033 if (!m_pStream) { in GetData()
1036 return m_pStream->m_pDataBuf; in GetData()
1042 if (!m_pStream) { in GetSize()
1045 return m_pStream->m_dwSize; in GetSize()

12