Home
last modified time | relevance | path

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

1234

/external/sonivox/arm-wt-22k/lib_src/
Deas_public.c84 static EAS_RESULT EAS_ParseEvents (S_EAS_DATA *pEASData, S_EAS_STREAM *pStream, EAS_U32 endTime, EA…
98 EAS_RESULT EAS_SetStreamParameter (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 param, EAS_I32… in EAS_SetStreamParameter() argument
102 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_SetStreamParameter()
104 return (*pParserModule->pfSetData)(pEASData, pStream->handle, param, value); in EAS_SetStreamParameter()
120 EAS_RESULT EAS_GetStreamParameter (S_EAS_DATA *pEASData, EAS_HANDLE pStream, EAS_I32 param, EAS_I32… in EAS_GetStreamParameter() argument
124 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_GetStreamParameter()
126 return (*pParserModule->pfGetData)(pEASData, pStream->handle, param, pValue); in EAS_GetStreamParameter()
140 EAS_BOOL EAS_StreamReady (S_EAS_DATA *pEASData, EAS_HANDLE pStream) in EAS_StreamReady() argument
145 pParserModule = (S_FILE_PARSER_INTERFACE*) pStream->pParserModule; in EAS_StreamReady()
146 if (pParserModule->pfState(pEASData, pStream->handle, &state) != EAS_SUCCESS) in EAS_StreamReady()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_content.cpp51 CPDF_Stream* pStream = new CPDF_Stream(NULL, 0, NULL); in GenerateContent() local
52 pStream->SetData(buf.GetBuffer(), buf.GetLength(), FALSE, FALSE); in GenerateContent()
53 m_pDocument->AddIndirectObject(pStream); in GenerateContent()
54 pPageDict->SetAtReference("Contents", m_pDocument, pStream->GetObjNum()); in GenerateContent()
90 CPDF_Stream* pStream = pImageObj->m_pImage->GetStream(); in ProcessImage() local
91 FX_DWORD dwSavedObjNum = pStream->GetObjNum(); in ProcessImage()
92 CFX_ByteString name = RealizeResource(pStream, "XObject"); in ProcessImage()
96 pImageObj->m_pImage = m_pDocument->GetPageData()->GetImage(pStream); in ProcessImage()
108 CPDF_Stream* pStream = new CPDF_Stream(NULL, 0, NULL); in ProcessForm() local
115 pStream->InitStream((uint8_t*)data, size, pFormDict); in ProcessForm()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp16 CPDF_Stream* pStream; member
38 pCACHEINFO[i++].pStream = it.second->GetStream(); in CacheOptimization()
47 m_ImageCache[pCACHEINFO[i].pStream]->m_dwTimeCount = i; in CacheOptimization()
53 ClearImageCacheEntry(pCACHEINFO[i++].pStream); in CacheOptimization()
56 ClearImageCacheEntry(pCACHEINFO[i++].pStream); in CacheOptimization()
60 void CPDF_PageRenderCache::ClearImageCacheEntry(CPDF_Stream* pStream) { in ClearImageCacheEntry() argument
61 auto it = m_ImageCache.find(pStream); in ClearImageCacheEntry()
77 void CPDF_PageRenderCache::GetCachedBitmap(CPDF_Stream* pStream, in GetCachedBitmap() argument
88 const auto it = m_ImageCache.find(pStream); in GetCachedBitmap()
93 pEntry = new CPDF_ImageCacheEntry(m_pPage->m_pDocument, pStream); in GetCachedBitmap()
[all …]
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_document_serialize.cpp375 IFX_Stream* pStream, in XFA_DataExporter_RegenerateFormFile_Container() argument
384 pStream->WriteString((const FX_WCHAR*)buf.GetBuffer(), nLen); in XFA_DataExporter_RegenerateFormFile_Container()
390 pStream->WriteString(L"<", 1); in XFA_DataExporter_RegenerateFormFile_Container()
391 pStream->WriteString(wsElement.GetPtr(), wsElement.GetLength()); in XFA_DataExporter_RegenerateFormFile_Container()
409 pStream->WriteString((const FX_WCHAR*)wsOutput, wsOutput.GetLength()); in XFA_DataExporter_RegenerateFormFile_Container()
413 pStream->WriteString(L"\n>", 2); in XFA_DataExporter_RegenerateFormFile_Container()
415 XFA_DataExporter_RegenerateFormFile_Container(pChildNode, pStream, in XFA_DataExporter_RegenerateFormFile_Container()
419 pStream->WriteString(L"</", 2); in XFA_DataExporter_RegenerateFormFile_Container()
420 pStream->WriteString(wsElement.GetPtr(), wsElement.GetLength()); in XFA_DataExporter_RegenerateFormFile_Container()
421 pStream->WriteString(L"\n>", 2); in XFA_DataExporter_RegenerateFormFile_Container()
[all …]
Dxfa_parser_imp.h17 virtual int32_t StartParse(IFX_FileRead* pStream,
84 virtual int32_t StartParse(IFX_FileRead* pStream,
108 CXFA_XMLParser(IFDE_XMLNode* pRoot, IFX_Stream* pStream);
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_HuffmanTable.cpp24 CJBig2_HuffmanTable::CJBig2_HuffmanTable(CJBig2_BitStream* pStream) in CJBig2_HuffmanTable() argument
26 m_bOK = ParseFromCodedBuffer(pStream); in CJBig2_HuffmanTable()
44 bool CJBig2_HuffmanTable::ParseFromCodedBuffer(CJBig2_BitStream* pStream) { in ParseFromCodedBuffer() argument
46 if (pStream->read1Byte(&cTemp) == -1) in ParseFromCodedBuffer()
54 if (pStream->readInteger(&HTLOW) == -1 || in ParseFromCodedBuffer()
55 pStream->readInteger(&HTHIGH) == -1) { in ParseFromCodedBuffer()
67 if ((pStream->readNBits(HTPS, &PREFLEN[NTEMP]) == -1) || in ParseFromCodedBuffer()
68 (pStream->readNBits(HTRS, &RANGELEN[NTEMP]) == -1)) { in ParseFromCodedBuffer()
76 if (pStream->readNBits(HTPS, &PREFLEN[NTEMP]) == -1) in ParseFromCodedBuffer()
83 if (pStream->readNBits(HTPS, &PREFLEN[NTEMP]) == -1) in ParseFromCodedBuffer()
[all …]
DJBig2_GsidProc.cpp72 FX_DWORD* CJBig2_GSIDProc::decode_MMR(CJBig2_BitStream* pStream, in decode_MMR() argument
82 pGRD->Start_decode_MMR(&GSPLANES.get()[GSBPP - 1], pStream, nullptr); in decode_MMR()
89 pStream->alignByte(); in decode_MMR()
90 pStream->offset(3); in decode_MMR()
94 pGRD->Start_decode_MMR(&GSPLANES.get()[J], pStream, nullptr); in decode_MMR()
104 pStream->alignByte(); in decode_MMR()
105 pStream->offset(3); in decode_MMR()
DJBig2_TrdProc.cpp16 CJBig2_Image* CJBig2_TRDProc::decode_Huffman(CJBig2_BitStream* pStream, in decode_Huffman() argument
33 new CJBig2_HuffmanDecoder(pStream)); in decode_Huffman()
74 if (pStream->readNBits(nTmp, &nVal) != 0) in decode_Huffman()
84 if (pStream->read1Bit(&nTmp) != 0) in decode_Huffman()
102 if (pStream->read1Bit(&RI) != 0) { in decode_Huffman()
116 pStream->alignByte(); in decode_Huffman()
117 nTmp = pStream->getOffset(); in decode_Huffman()
142 new CJBig2_ArithDecoder(pStream)); in decode_Huffman()
148 pStream->alignByte(); in decode_Huffman()
149 pStream->offset(2); in decode_Huffman()
[all …]
DJBig2_SddProc.cpp289 CJBig2_BitStream* pStream, in decode_Huffman() argument
316 new CJBig2_HuffmanDecoder(pStream)); in decode_Huffman()
441 BS = pDecoder->decode_Huffman(pStream, grContext->data()); in decode_Huffman()
464 if (pStream->read1Bit(&nTmp) != 0) { in decode_Huffman()
493 pStream->alignByte(); in decode_Huffman()
494 nTmp = pStream->getOffset(); in decode_Huffman()
512 new CJBig2_ArithDecoder(pStream)); in decode_Huffman()
518 pStream->alignByte(); in decode_Huffman()
519 pStream->offset(2); in decode_Huffman()
520 if ((FX_DWORD)nVal != (pStream->getOffset() - nTmp)) { in decode_Huffman()
[all …]
DJBig2_HuffmanTable.h23 explicit CJBig2_HuffmanTable(CJBig2_BitStream* pStream);
37 bool ParseFromCodedBuffer(CJBig2_BitStream* pStream);
DJBig2_HuffmanDecoder.cpp11 CJBig2_HuffmanDecoder::CJBig2_HuffmanDecoder(CJBig2_BitStream* pStream) in CJBig2_HuffmanDecoder() argument
12 : m_pStream(pStream) { in CJBig2_HuffmanDecoder()
DJBig2_ArithDecoder.cpp89 CJBig2_ArithDecoder::CJBig2_ArithDecoder(CJBig2_BitStream* pStream) in CJBig2_ArithDecoder() argument
90 : m_pStream(pStream) { in CJBig2_ArithDecoder()
/external/pdfium/fpdfsdk/src/
Dfpdf_transformpage.cpp121 CPDF_Stream* pStream = new CPDF_Stream(nullptr, 0, pDic); in FPDFPage_TransFormWithClip() local
122 pStream->SetData(textBuf.GetBuffer(), textBuf.GetSize(), FALSE, FALSE); in FPDFPage_TransFormWithClip()
126 pDoc->AddIndirectObject(pStream); in FPDFPage_TransFormWithClip()
136 CPDF_Reference* pRef = new CPDF_Reference(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
144 CPDF_Reference* pRef = new CPDF_Reference(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
149 pContentArray->AddReference(pDoc, pStream->GetObjNum()); in FPDFPage_TransFormWithClip()
171 else if (CPDF_Stream* pStream = pObj->AsStream()) in FPDFPage_TransFormWithClip() local
172 pDict = pStream->GetDict(); in FPDFPage_TransFormWithClip()
295 CPDF_Stream* pStream = new CPDF_Stream(nullptr, 0, pDic); in FPDFPage_InsertClipPath() local
296 pStream->SetData(strClip.GetBuffer(), strClip.GetSize(), FALSE, FALSE); in FPDFPage_InsertClipPath()
[all …]
Dfpdf_flatten.cpp68 CPDF_Dictionary* pStream, in ParserStream() argument
71 if (!pStream) in ParserStream()
74 if (pStream->KeyExist("Rect")) in ParserStream()
75 rect = pStream->GetRect("Rect"); in ParserStream()
76 else if (pStream->KeyExist("BBox")) in ParserStream()
77 rect = pStream->GetRect("BBox"); in ParserStream()
82 pObjectArray->Add(pStream); in ParserStream()
/external/pdfium/core/src/fpdfdoc/
Ddoc_metadata.cpp15 CPDF_Stream* pStream = pRoot->GetStream("Metadata"); in CPDF_Metadata() local
16 if (!pStream) in CPDF_Metadata()
20 acc.LoadAllData(pStream, FALSE); in CPDF_Metadata()
Ddoc_annot.cpp163 if (CPDF_Stream* pStream = psub->AsStream()) in FPDFDOC_GetAnnotAP() local
164 return pStream; in FPDFDOC_GetAnnotAP()
185 CPDF_Stream* pStream = FPDFDOC_GetAnnotAP(m_pAnnotDict, mode); in GetAPForm() local
186 if (!pStream) in GetAPForm()
189 auto it = m_APMap.find(pStream); in GetAPForm()
194 new CPDF_Form(m_pList->GetDocument(), pPage->m_pResources, pStream); in GetAPForm()
196 m_APMap[pStream] = pNewForm; in GetAPForm()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_objects.cpp315 if (const CPDF_Stream* pStream = AsStream()) { in GetUnicodeText() local
317 stream.LoadAllData(pStream, FALSE); in GetUnicodeText()
329 } else if (CPDF_Stream* pStream = AsStream()) { in SetUnicodeText() local
331 pStream->SetData((uint8_t*)result.c_str(), result.GetLength(), FALSE, in SetUnicodeText()
493 if (CPDF_Stream* pStream = p->AsStream()) in GetDict() local
494 return pStream->GetDict(); in GetDict()
669 if (CPDF_Stream* pStream = p->AsStream()) in GetDict() local
670 return pStream->GetDict(); in GetDict()
974 void CPDF_StreamAcc::LoadAllData(const CPDF_Stream* pStream, in LoadAllData() argument
978 if (!pStream) in LoadAllData()
[all …]
/external/pdfium/fpdfsdk/src/formfiller/
DFFL_CBA_Fontmap.cpp172 CPDF_Stream* pStream = pAPDict->GetStream(m_sAPType); in AddFontToAnnotDict() local
173 if (!pStream) { in AddFontToAnnotDict()
174 pStream = new CPDF_Stream(NULL, 0, NULL); in AddFontToAnnotDict()
175 int32_t objnum = m_pDocument->AddIndirectObject(pStream); in AddFontToAnnotDict()
179 CPDF_Dictionary* pStreamDict = pStream->GetDict(); in AddFontToAnnotDict()
183 pStream->InitStream(NULL, 0, pStreamDict); in AddFontToAnnotDict()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_pattern.cpp69 CPDF_Stream* pStream = m_pPatternObj->AsStream(); in Load() local
70 if (!pStream) in Load()
73 m_pForm = new CPDF_Form(m_pDocument, NULL, pStream); in Load()
260 CFX_FloatRect GetShadingBBox(CPDF_Stream* pStream, in GetShadingBBox() argument
266 if (!pStream || !pStream->IsStream() || !pFuncs || !pCS) in GetShadingBBox()
270 if (!stream.Load(pStream, pFuncs, nFuncs, pCS)) in GetShadingBBox()
Dfpdf_page_image.cpp80 FX_BOOL CPDF_Image::LoadImageF(CPDF_Stream* pStream, FX_BOOL bInline) { in LoadImageF() argument
81 m_pStream = pStream; in LoadImageF()
87 CPDF_Dictionary* pDict = pStream->GetDict(); in LoadImageF()
Dfpdf_page_func.cpp498 CPDF_Stream* pStream = pObj->AsStream(); in v_Init() local
499 if (!pStream) in v_Init()
502 CPDF_Dictionary* pDict = pStream->GetDict(); in v_Init()
512 m_pSampleStream->LoadAllData(pStream, FALSE); in v_Init()
639 CPDF_Stream* pStream = pObj->AsStream(); in v_Init() local
641 acc.LoadAllData(pStream, FALSE); in v_Init()
831 if (CPDF_Stream* pStream = pFuncObj->AsStream()) { in Load() local
832 type = pStream->GetDict()->GetInteger("FunctionType"); in Load()
864 CPDF_Stream* pStream = pObj->AsStream(); in Init() local
865 CPDF_Dictionary* pDict = pStream ? pStream->GetDict() : pObj->AsDictionary(); in Init()
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffdoc.cpp215 FX_BOOL CXFA_FFDoc::OpenDoc(IFX_FileRead* pStream, FX_BOOL bTakeOverFile) { in OpenDoc() argument
217 m_pStream = pStream; in OpenDoc()
242 CPDF_Stream* pStream = pXFAArray->GetStream(i * 2 + 1); in OpenDoc() local
243 if (pStream != NULL) { in OpenDoc()
244 xfaStreams.Add(pStream); in OpenDoc()
441 FX_BOOL CXFA_FFDoc::ImportData(IFX_FileRead* pStream, FX_BOOL bXDP) { in ImportData() argument
445 bRet = pImport->ImportData(pStream); in ImportData()
Dxfa_ffdoc.h33 FX_BOOL OpenDoc(IFX_FileRead* pStream, FX_BOOL bTakeOverFile);
49 FX_BOOL ImportData(IFX_FileRead* pStream, FX_BOOL bXDP = TRUE);
/external/pdfium/xfa/src/fdp/src/css/
Dfde_cssstylesheet.cpp47 IFX_Stream* pStream, in LoadFromStream() argument
51 if (!pStyleSheet->LoadFromStream(szUrl, pStream, wCodePage)) { in LoadFromStream()
123 IFX_Stream* pStream, in LoadFromStream() argument
125 FXSYS_assert(pStream != NULL); in LoadFromStream()
130 if (pStream->GetCodePage() != wCodePage) { in LoadFromStream()
131 pStream->SetCodePage(wCodePage); in LoadFromStream()
133 FX_BOOL bRet = pSyntax->Init(pStream, 4096) && LoadFromSyntax(pSyntax); in LoadFromStream()
/external/pdfium/core/include/fpdfapi/
Dfpdf_render.h233 void GetCachedBitmap(CPDF_Stream* pStream,
244 void ResetBitmap(CPDF_Stream* pStream, const CFX_DIBitmap* pBitmap);
245 void ClearImageCacheEntry(CPDF_Stream* pStream);
251 FX_BOOL StartGetCachedBitmap(CPDF_Stream* pStream,

1234