Home
last modified time | relevance | path

Searched refs:pParser (Results 1 – 23 of 23) sorted by relevance

/external/pdfium/fpdfsdk/src/
Dfpdf_dataavail.cpp127 CPDF_Parser* pParser = new CPDF_Parser; in FPDFAvail_GetDocument() local
128 pParser->SetPassword(password); in FPDFAvail_GetDocument()
130 FX_DWORD err_code = pParser->StartAsynParse( in FPDFAvail_GetDocument()
133 delete pParser; in FPDFAvail_GetDocument()
137 ((CFPDF_DataAvail*)avail)->m_pDataAvail->SetDocument(pParser->GetDocument()); in FPDFAvail_GetDocument()
138 CheckUnSupportError(pParser->GetDocument(), FPDF_ERR_SUCCESS); in FPDFAvail_GetDocument()
139 return FPDFDocumentFromCPDFDocument(pParser->GetDocument()); in FPDFAvail_GetDocument()
Dfpdfview.cpp310 CPDF_Parser* pParser = new CPDF_Parser; in FPDF_LoadDocument() local
311 pParser->SetPassword(password); in FPDF_LoadDocument()
313 FX_DWORD err_code = pParser->StartParse(pFileAccess); in FPDF_LoadDocument()
315 delete pParser; in FPDF_LoadDocument()
320 CPDF_Document* pPDFDoc = pParser->GetDocument(); in FPDF_LoadDocument()
327 return pParser->GetDocument(); in FPDF_LoadDocument()
399 CPDF_Parser* pParser = new CPDF_Parser; in FPDF_LoadMemDocument() local
400 pParser->SetPassword(password); in FPDF_LoadMemDocument()
402 FX_DWORD err_code = pParser->StartParse(pMemFile); in FPDF_LoadMemDocument()
404 delete pParser; in FPDF_LoadMemDocument()
[all …]
/external/pdfium/xfa/src/fxfa/src/app/
Dxfa_ffdoc.cpp139 IXFA_Parser* pParser = IXFA_Parser::Create(m_pDocument, TRUE); in DoLoad() local
140 if (!pParser) { in DoLoad()
144 if (pParser->StartParse(m_pStream) == XFA_PARSESTATUS_Ready && in DoLoad()
145 pParser->DoParse(NULL) == XFA_PARSESTATUS_Done) { in DoLoad()
146 pRootNode = pParser->GetRootNode(); in DoLoad()
154 pParser->Release(); in DoLoad()
155 pParser = NULL; in DoLoad()
283 IXFA_Parser* pParser = m_pDocument->GetParser(); in CloseDoc() local
284 pParser->Release(); in CloseDoc()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_document.cpp11 CPDF_Document::CPDF_Document(CPDF_Parser* pParser) in CPDF_Document() argument
12 : CPDF_IndirectObjectHolder(pParser) { in CPDF_Document()
13 ASSERT(pParser); in CPDF_Document()
Dfpdf_parser_parser.cpp2791 FX_BOOL GetPageKids(CPDF_Parser* pParser, CPDF_Object* pPages);
3017 CPDF_Parser* pParser = (CPDF_Parser*)(m_pDocument->GetParser()); in GetObjectSize() local
3018 if (!pParser || !pParser->IsValidObjectNumber(objnum)) in GetObjectSize()
3021 if (pParser->m_V5Type[objnum] == 2) in GetObjectSize()
3022 objnum = pParser->m_ObjectInfo[objnum].pos; in GetObjectSize()
3024 if (pParser->m_V5Type[objnum] == 1 || pParser->m_V5Type[objnum] == 255) { in GetObjectSize()
3025 offset = pParser->m_ObjectInfo[objnum].pos; in GetObjectSize()
3029 void* pResult = FXSYS_bsearch(&offset, pParser->m_SortedOffset.GetData(), in GetObjectSize()
3030 pParser->m_SortedOffset.GetSize(), in GetObjectSize()
3036 (FX_FILESIZE*)pParser->m_SortedOffset.GetData() == in GetObjectSize()
[all …]
Dfpdf_parser_objects.cpp1062 CPDF_IndirectObjectHolder::CPDF_IndirectObjectHolder(CPDF_Parser* pParser) in CPDF_IndirectObjectHolder() argument
1063 : m_pParser(pParser), m_LastObjNum(0) { in CPDF_IndirectObjectHolder()
1064 if (pParser) in CPDF_IndirectObjectHolder()
Dfpdf_parser_encrypt.cpp79 FX_BOOL CPDF_StandardSecurityHandler::OnInit(CPDF_Parser* pParser, in OnInit() argument
81 m_pParser = pParser; in OnInit()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_graph_state.cpp459 CPDF_StreamContentParser* pParser) { in ProcessExtGS() argument
505 m_TextState.SetFont(pParser->FindFont(pFont->GetString(0))); in ProcessExtGS()
523 pParser->GetObjectList()->m_bBackgroundAlphaNeeded = TRUE; in ProcessExtGS()
531 &pParser->GetCurStates()->m_CTM, sizeof(CFX_Matrix)); in ProcessExtGS()
Dpageint.h317 void ProcessExtGS(CPDF_Dictionary* pGS, CPDF_StreamContentParser* pParser);
/external/pdfium/xfa/src/fxfa/src/parser/
Dxfa_document_imp.cpp25 CXFA_Document::CXFA_Document(IXFA_DocParser* pParser) in CXFA_Document() argument
26 : m_pParser(pParser), in CXFA_Document()
Dxfa_parser_imp.cpp131 CXFA_XMLParser* pParser = new CXFA_XMLParser(m_pXMLDoc->GetRoot(), m_pStream); in ParseXMLData() local
132 if (pParser == NULL) { in ParseXMLData()
136 pParser->m_dwCheckStatus = 0x03; in ParseXMLData()
138 if (!m_pXMLDoc->LoadXML(pParser)) { in ParseXMLData()
Dxfa_object_imp.cpp951 IXFA_Parser* pParser = IXFA_Parser::Create(m_pDocument); in Script_NodeClass_LoadXML() local
952 if (!pParser) { in Script_NodeClass_LoadXML()
956 int32_t iParserStatus = pParser->ParseXMLData(wsExpression, pXMLNode, NULL); in Script_NodeClass_LoadXML()
958 pParser->Release(); in Script_NodeClass_LoadXML()
959 pParser = NULL; in Script_NodeClass_LoadXML()
997 pParser->ConstructXFANode(pFakeRoot, pFakeXMLRoot); in Script_NodeClass_LoadXML()
998 pFakeRoot = pParser->GetRootNode(); in Script_NodeClass_LoadXML()
1051 pParser->Release(); in Script_NodeClass_LoadXML()
1052 pParser = NULL; in Script_NodeClass_LoadXML()
/external/pdfium/xfa/src/fdp/src/xml/
Dfde_xml.h188 CFDE_XMLDOMParser(CFDE_XMLNode* pRoot, IFDE_XMLSyntaxParser* pParser);
214 IFDE_XMLSyntaxParser* pParser);
Dfde_xml.cpp1088 IFDE_XMLSyntaxParser* pParser) in CFDE_XMLDOMParser() argument
1089 : m_pParser(pParser), in CFDE_XMLDOMParser()
1208 IFDE_XMLSyntaxParser* pParser) in CFDE_XMLSAXParser() argument
1210 m_pParser(pParser), in CFDE_XMLSAXParser()
/external/pdfium/core/include/fpdfapi/
Dfpdf_parser.h70 explicit CPDF_Document(CPDF_Parser* pParser);
557 virtual FX_BOOL OnInit(CPDF_Parser* pParser,
581 FX_BOOL OnInit(CPDF_Parser* pParser, CPDF_Dictionary* pEncryptDict) override;
Dfpdf_objects.h585 explicit CPDF_IndirectObjectHolder(CPDF_Parser* pParser);
/external/pdfium/xfa/src/fxfa/src/common/
Dxfa_document.h138 CXFA_Document(IXFA_DocParser* pParser);
/external/pdfium/fpdfsdk/src/fpdfxfa/
Dfpdfxfa_doc.cpp54 CPDF_Parser* pParser = m_pPDFDoc->GetParser(); in ~CPDFXFA_Document() local
55 if (pParser) in ~CPDFXFA_Document()
56 delete pParser; in ~CPDFXFA_Document()
/external/antlr/antlr-3.4/runtime/C/doxygen/
Dbuildrec.dox240 /// if (psr->pParser->rec->errorCount > 0)
242 /// ANTLR3_FPRINTF(stderr, "The parser returned %d errors, tree walking aborted.\n", psr->pParser
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_create.cpp186 CPDF_Parser* pParser = (CPDF_Parser*)pDocument->GetParser(); in PDF_CreatorWriteTrailer() local
187 if (pParser) { in PDF_CreatorWriteTrailer()
188 CPDF_Dictionary* p = pParser->GetTrailer(); in PDF_CreatorWriteTrailer()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg368 #define PARSER ctx->pParser
705 pANTLR3_PARSER pParser;
1292 ctx->pParser = antlr3ParserNewStream(ANTLR3_SIZE_HINT, instream->tstream, state);
1382 … {g| ctx-><g:delegateName()>-><if(TREE_PARSER)>pTreeParser<else>pParser<endif>->rec->state = NULL;
1399 ctx->pParser->free(ctx->pParser);<\n>
/external/sqlite/dist/
Dsqlite3.c127394 yyParser *pParser;
127395 pParser = (yyParser*)(*mallocProc)( (u64)sizeof(yyParser) );
127396 if( pParser ){
127397 pParser->yyidx = -1;
127399 pParser->yyidxMax = 0;
127402 pParser->yystack = NULL;
127403 pParser->yystksz = 0;
127404 yyGrowStack(pParser);
127407 return pParser;
127516 static int yy_pop_parser_stack(yyParser *pParser){
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c127376 yyParser *pParser;
127377 pParser = (yyParser*)(*mallocProc)( (u64)sizeof(yyParser) );
127378 if( pParser ){
127379 pParser->yyidx = -1;
127381 pParser->yyidxMax = 0;
127384 pParser->yystack = NULL;
127385 pParser->yystksz = 0;
127386 yyGrowStack(pParser);
127389 return pParser;
127498 static int yy_pop_parser_stack(yyParser *pParser){
[all …]