Home
last modified time | relevance | path

Searched refs:pStream (Results 1 – 25 of 101) sorted by relevance

12345

/external/sonivox/arm-wt-22k/lib_src/
Deas_public.c87 static EAS_RESULT EAS_ParseEvents (S_EAS_DATA *pEASData, S_EAS_STREAM *pStream, EAS_U32 endTime, EA…
101 EAS_RESULT EAS_SetStreamParameter (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 param, EAS_I32… in EAS_SetStreamParameter() argument
105 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_SetStreamParameter()
107 return (*pParserModule->pfSetData)(pEASData, pStream->handle, param, value); in EAS_SetStreamParameter()
123 EAS_RESULT EAS_GetStreamParameter (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 param, EAS_I32… in EAS_GetStreamParameter() argument
127 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_GetStreamParameter()
129 return (*pParserModule->pfGetData)(pEASData, pStream->handle, param, pValue); in EAS_GetStreamParameter()
143 EAS_BOOL EAS_StreamReady (S_EAS_DATA *pEASData, EAS_HANDLE pStream) in EAS_StreamReady() argument
148 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_StreamReady()
149 if (pParserModule->pfState(pEASData, pStream->handle, &state) != EAS_SUCCESS) in EAS_StreamReady()
[all …]
/external/pdfium/core/fpdfapi/render/
Dcpdf_pagerendercache.cpp20 CacheInfo(uint32_t t, CPDF_Stream* stream) : time(t), pStream(stream) {} in CacheInfo()
23 CPDF_Stream* pStream; member
60 m_ImageCache[cache_info[i].pStream]->m_dwTimeCount = i; in CacheOptimization()
66 ClearImageCacheEntry(cache_info[i++].pStream); in CacheOptimization()
69 ClearImageCacheEntry(cache_info[i++].pStream); in CacheOptimization()
72 void CPDF_PageRenderCache::ClearImageCacheEntry(CPDF_Stream* pStream) { in ClearImageCacheEntry() argument
73 auto it = m_ImageCache.find(pStream); in ClearImageCacheEntry()
88 CPDF_Stream* pStream = pImage->GetStream(); in StartGetCachedBitmap() local
89 const auto it = m_ImageCache.find(pStream); in StartGetCachedBitmap()
105 m_ImageCache[pStream] = m_pCurImageCacheEntry; in StartGetCachedBitmap()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_dataexporter.cpp37 auto pStream = pdfium::MakeRetain<CFX_SeekableStreamProxy>(pWrite, true); in Export() local
38 pStream->SetCodePage(FX_CODEPAGE_UTF8); in Export()
39 return Export(pStream, pNode, dwFlag, pChecksum); in Export()
43 const RetainPtr<CFX_SeekableStreamProxy>& pStream, in Export() argument
51 pStream->WriteString( in Export()
55 Export(pStream, pChild, dwFlag, pChecksum); in Export()
57 pStream->WriteString(L"</xdp:xdp\n>"); in Export()
69 pXMLDoc->SaveXMLNode(pStream, pElement); in Export()
73 XFA_DataExporter_RegenerateFormFile(pNode, pStream, pChecksum, false); in Export()
83 pXMLDoc->SaveXMLNode(pStream, pElement); in Export()
[all …]
Dxfa_utils.cpp342 const RetainPtr<CFX_SeekableStreamProxy>& pStream, in RegenerateFormFile_Container() argument
351 pStream->WriteString(buf.AsStringView()); in RegenerateFormFile_Container()
356 pStream->WriteString(L"<"); in RegenerateFormFile_Container()
357 pStream->WriteString(wsElement); in RegenerateFormFile_Container()
376 pStream->WriteString(wsOutput.AsStringView()); in RegenerateFormFile_Container()
380 pStream->WriteString(L"\n>"); in RegenerateFormFile_Container()
382 RegenerateFormFile_Container(pChildNode, pStream, bSaveXML); in RegenerateFormFile_Container()
385 pStream->WriteString(L"</"); in RegenerateFormFile_Container()
386 pStream->WriteString(wsElement); in RegenerateFormFile_Container()
387 pStream->WriteString(L"\n>"); in RegenerateFormFile_Container()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfannot.cpp148 CPDF_Stream* pStream) in CPDF_AnnotContext() argument
150 SetForm(pStream); in CPDF_AnnotContext()
156 void SetForm(CPDF_Stream* pStream) { in SetForm() argument
157 if (!pStream) in SetForm()
162 pStream->GetDict()->SetMatrixFor("Matrix", CFX_Matrix()); in SetForm()
165 m_pPage->m_pDocument.Get(), m_pPage->m_pResources.Get(), pStream); in SetForm()
187 void UpdateContentStream(CPDF_Form* pForm, CPDF_Stream* pStream) { in UpdateContentStream() argument
189 ASSERT(pStream); in UpdateContentStream()
194 pStream->SetDataAndRemoveFilter(&buf); in UpdateContentStream()
331 CPDF_Stream* pStream = FPDFDOC_GetAnnotAP(pAnnot->GetAnnotDict(), in FPDFAnnot_UpdateObject() local
[all …]
Dfpdf_transformpage.cpp140 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>( in FPDFPage_TransFormWithClip() local
143 pStream->SetData(&textBuf); in FPDFPage_TransFormWithClip()
151 pContentArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
155 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
295 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>( in FPDFPage_InsertClipPath() local
298 pStream->SetData(&strClip); in FPDFPage_InsertClipPath()
301 pArray->InsertNewAt<CPDF_Reference>(0, pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
304 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in FPDFPage_InsertClipPath()
/external/pdfium/core/fpdfapi/edit/
Dcpdf_flateencoder.cpp15 CPDF_FlateEncoder::CPDF_FlateEncoder(CPDF_Stream* pStream, bool bFlateEncode) in CPDF_FlateEncoder() argument
16 : m_dwSize(0), m_pAcc(pdfium::MakeRetain<CPDF_StreamAcc>(pStream)) { in CPDF_FlateEncoder()
19 bool bHasFilter = pStream && pStream->HasFilter(); in CPDF_FlateEncoder()
21 auto pDestAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in CPDF_FlateEncoder()
26 m_pDict = ToDictionary(pStream->GetDict()->Clone()); in CPDF_FlateEncoder()
33 m_pDict = pStream->GetDict(); in CPDF_FlateEncoder()
42 m_pDict = ToDictionary(pStream->GetDict()->Clone()); in CPDF_FlateEncoder()
Dcpdf_pagecontentgenerator.cpp86 CPDF_Stream* pStream = pDoc->NewIndirect<CPDF_Stream>(); in GenerateContent() local
87 pStream->SetData(&buf); in GenerateContent()
91 pArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
97 pStream->GetObjNum()); in GenerateContent()
103 pStream->GetObjNum()); in GenerateContent()
108 pObjArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
114 pContentArray->AddNew<CPDF_Reference>(pDoc, pStream->GetObjNum()); in GenerateContent()
121 pStream->GetObjNum()); in GenerateContent()
182 CPDF_Stream* pStream = pImage->GetStream(); in ProcessImage() local
183 if (!pStream) in ProcessImage()
[all …]
/external/pdfium/core/fxcodec/jbig2/
DJBig2_HuffmanTable.cpp26 CJBig2_HuffmanTable::CJBig2_HuffmanTable(CJBig2_BitStream* pStream) in CJBig2_HuffmanTable() argument
28 m_bOK = ParseFromCodedBuffer(pStream); in CJBig2_HuffmanTable()
45 bool CJBig2_HuffmanTable::ParseFromCodedBuffer(CJBig2_BitStream* pStream) { in ParseFromCodedBuffer() argument
47 if (pStream->read1Byte(&cTemp) == -1) in ParseFromCodedBuffer()
55 if (pStream->readInteger(&HTLOW) == -1 || in ParseFromCodedBuffer()
56 pStream->readInteger(&HTHIGH) == -1 || in ParseFromCodedBuffer()
70 if ((pStream->readNBits(HTPS, &PREFLEN[NTEMP]) == -1) || in ParseFromCodedBuffer()
71 (pStream->readNBits(HTRS, &RANGELEN[NTEMP]) == -1) || in ParseFromCodedBuffer()
86 if (pStream->readNBits(HTPS, &PREFLEN[NTEMP]) == -1) in ParseFromCodedBuffer()
93 if (pStream->readNBits(HTPS, &PREFLEN[NTEMP]) == -1) in ParseFromCodedBuffer()
[all …]
DJBig2_HtrdProc.cpp83 CJBig2_BitStream* pStream) { in decode_MMR() argument
95 GRD.Start_decode_MMR(&GSPLANES[GSBPP - 1], pStream); in decode_MMR()
99 pStream->alignByte(); in decode_MMR()
100 pStream->offset(3); in decode_MMR()
102 GRD.Start_decode_MMR(&GSPLANES[J], pStream); in decode_MMR()
106 pStream->alignByte(); in decode_MMR()
107 pStream->offset(3); in decode_MMR()
DJBig2_TrdProc.cpp23 CJBig2_BitStream* pStream, in decode_Huffman() argument
25 auto pHuffmanDecoder = pdfium::MakeUnique<CJBig2_HuffmanDecoder>(pStream); in decode_Huffman()
74 if (pStream->readNBits(nTmp, &nVal) != 0) in decode_Huffman()
89 if (pStream->read1Bit(&nTmp) != 0) in decode_Huffman()
108 if (SBREFINE != 0 && pStream->read1Bit(&RI) != 0) in decode_Huffman()
127 pStream->alignByte(); in decode_Huffman()
128 uint32_t nTmp = pStream->getOffset(); in decode_Huffman()
153 auto pArithDecoder = pdfium::MakeUnique<CJBig2_ArithDecoder>(pStream); in decode_Huffman()
158 pStream->alignByte(); in decode_Huffman()
159 pStream->offset(2); in decode_Huffman()
[all …]
DJBig2_SddProc.cpp263 CJBig2_BitStream* pStream, in decode_Huffman() argument
288 auto pHuffmanDecoder = pdfium::MakeUnique<CJBig2_HuffmanDecoder>(pStream); in decode_Huffman()
392 BS = pDecoder->decode_Huffman(pStream, grContext->data()); in decode_Huffman()
405 if (pStream->read1Bit(&nTmp) != 0) in decode_Huffman()
425 pStream->alignByte(); in decode_Huffman()
426 nTmp = pStream->getOffset(); in decode_Huffman()
443 auto pArithDecoder = pdfium::MakeUnique<CJBig2_ArithDecoder>(pStream); in decode_Huffman()
448 pStream->alignByte(); in decode_Huffman()
449 pStream->offset(2); in decode_Huffman()
450 if ((uint32_t)nVal != (pStream->getOffset() - nTmp)) in decode_Huffman()
[all …]
/external/deqp-deps/SPIRV-Tools/source/
Dprint.h26 out_stream() : pStream(nullptr) {} in out_stream()
27 explicit out_stream(std::stringstream& stream) : pStream(&stream) {} in out_stream()
30 if (pStream) { in get()
31 return *pStream; in get()
37 std::stringstream* pStream;
/external/swiftshader/third_party/SPIRV-Tools/source/
Dprint.h26 out_stream() : pStream(nullptr) {} in out_stream()
27 explicit out_stream(std::stringstream& stream) : pStream(&stream) {} in out_stream()
30 if (pStream) { in get()
31 return *pStream; in get()
37 std::stringstream* pStream;
/external/pdfium/core/fpdfdoc/
Dcpdf_filespec.cpp136 CPDF_Stream* pStream = pFiles->GetStreamFor(key); in GetFileStream() local
137 if (pStream) in GetFileStream()
138 return pStream; in GetFileStream()
145 CPDF_Stream* pStream = GetFileStream(); in GetParamsDict() local
146 if (!pStream) in GetParamsDict()
149 CPDF_Dictionary* pDict = pStream->GetDict(); in GetParamsDict()
Dcpdf_metadata.cpp19 CPDF_Stream* pStream = pRoot->GetStreamFor("Metadata"); in CPDF_Metadata() local
20 if (!pStream) in CPDF_Metadata()
23 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in CPDF_Metadata()
Dcpdf_annot.cpp81 if (CPDF_Stream* pStream = psub->AsStream()) in FPDFDOC_GetAnnotAPInternal() local
82 return pStream; in FPDFDOC_GetAnnotAPInternal()
190 CPDF_Stream* pStream = FPDFDOC_GetAnnotAP(m_pAnnotDict.Get(), mode); in GetAPForm() local
191 if (!pStream) in GetAPForm()
194 auto it = m_APMap.find(pStream); in GetAPForm()
199 m_pDocument.Get(), pPage->m_pResources.Get(), pStream); in GetAPForm()
203 m_APMap[pStream] = std::move(pNewForm); in GetAPForm()
/external/pdfium/core/fpdfapi/page/
Dcpdf_function.cpp25 if (CPDF_Stream* pStream = pFuncObj->AsStream()) in Load() local
26 iType = pStream->GetDict()->GetIntegerFor("FunctionType"); in Load()
68 CPDF_Stream* pStream = pObj->AsStream(); in Init() local
69 CPDF_Dictionary* pDict = pStream ? pStream->GetDict() : pObj->AsDictionary(); in Init()
Dcpdf_tilingpattern.cpp46 CPDF_Stream* pStream = pattern_obj()->AsStream(); in Load() local
47 if (!pStream) in Load()
51 m_pForm = pdfium::MakeUnique<CPDF_Form>(document(), nullptr, pStream); in Load()
Dcpdf_imageobject.cpp65 CPDF_Stream* pStream = m_pImage->GetStream(); in MaybePurgeCache() local
66 if (!pStream) in MaybePurgeCache()
69 uint32_t objnum = pStream->GetObjNum(); in MaybePurgeCache()
Dcpdf_sampledfunc.cpp40 CPDF_Stream* pStream = pObj->AsStream(); in v_Init() local
41 if (!pStream) in v_Init()
44 CPDF_Dictionary* pDict = pStream->GetDict(); in v_Init()
53 m_pSampleStream = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in v_Init()
Dcpdf_iccprofile.cpp21 CPDF_IccProfile::CPDF_IccProfile(CPDF_Stream* pStream, in CPDF_IccProfile() argument
24 : m_bsRGB(DetectSRGB(pData, dwSize)), m_pStream(pStream) { in CPDF_IccProfile()
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.cpp166 CPDF_Stream* pStream = pAPDict->GetStreamFor(m_sAPType); in AddFontToAnnotDict() local
167 if (!pStream) { in AddFontToAnnotDict()
168 pStream = m_pDocument->NewIndirect<CPDF_Stream>(); in AddFontToAnnotDict()
170 pStream->GetObjNum()); in AddFontToAnnotDict()
173 CPDF_Dictionary* pStreamDict = pStream->GetDict(); in AddFontToAnnotDict()
178 pStream->InitStream(nullptr, 0, std::move(pOwnedDict)); in AddFontToAnnotDict()
/external/pdfium/xfa/fxfa/
Dcxfa_ffdoc.cpp308 if (CPDF_Stream* pStream = pXFAArray->GetStreamAt(i * 2 + 1)) in OpenDoc() local
309 xfaStreams.push_back(pStream); in OpenDoc()
379 CPDF_Stream* pStream = ToStream(pObject); in GetPDFNamedImage() local
380 if (!pStream) in GetPDFNamedImage()
383 auto pAcc = pdfium::MakeRetain<CPDF_StreamAcc>(pStream); in GetPDFNamedImage()
411 bool CXFA_FFDoc::ImportData(const RetainPtr<IFX_SeekableStream>& pStream, in ImportData() argument
415 return importer->ImportData(pStream); in ImportData()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_stream.h85 CPDF_Stream* pStream = ToStream(obj.get()); in ToStream() local
86 if (!pStream) in ToStream()
89 return std::unique_ptr<CPDF_Stream>(pStream); in ToStream()

12345