Home
last modified time | relevance | path

Searched refs:pctxt (Results 1 – 15 of 15) sorted by relevance

/external/libxml2/
Dxmlschemas.c1002 xmlSchemaParserCtxtPtr pctxt; member
1121 xmlSchemaParseAttributeGroupRef(xmlSchemaParserCtxtPtr pctxt,
2166 xmlSchemaParserCtxtPtr pctxt = (xmlSchemaParserCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2168 pctxt->nberrors++; in xmlSchemaErr4Line()
2169 pctxt->err = error; in xmlSchemaErr4Line()
2170 channel = pctxt->error; in xmlSchemaErr4Line()
2172 channel = pctxt->warning; in xmlSchemaErr4Line()
2174 schannel = pctxt->serror; in xmlSchemaErr4Line()
2175 data = pctxt->errCtxt; in xmlSchemaErr4Line()
2364 xmlSchemaPInternalErr(xmlSchemaParserCtxtPtr pctxt,
[all …]
Dxinclude.c428 xmlParserCtxtPtr pctxt; in xmlXIncludeParseFile() local
433 pctxt = xmlNewParserCtxt(); in xmlXIncludeParseFile()
434 if (pctxt == NULL) { in xmlXIncludeParseFile()
442 pctxt->_private = ctxt->_private; in xmlXIncludeParseFile()
449 if (pctxt->dict != NULL) in xmlXIncludeParseFile()
450 xmlDictFree(pctxt->dict); in xmlXIncludeParseFile()
451 pctxt->dict = ctxt->doc->dict; in xmlXIncludeParseFile()
452 xmlDictReference(pctxt->dict); in xmlXIncludeParseFile()
455 xmlCtxtUseOptions(pctxt, ctxt->parseFlags | XML_PARSE_DTDLOAD); in xmlXIncludeParseFile()
461 inputStream = xmlLoadExternalEntity(URL, NULL, pctxt); in xmlXIncludeParseFile()
[all …]
DdebugXML.c2142 if(xmlXPathRegisterNs(ctxt->pctxt, prefix, href) != 0) { in xmlShellRegisterNamespace()
2171 (root->nsDef == NULL) || (ctxt == NULL) || (ctxt->pctxt == NULL)) in xmlShellRegisterRootNamespaces()
2176 xmlXPathRegisterNs(ctxt->pctxt, BAD_CAST "defaultns", ns->href); in xmlShellRegisterRootNamespaces()
2178 xmlXPathRegisterNs(ctxt->pctxt, ns->prefix, ns->href); in xmlShellRegisterRootNamespaces()
2478 xmlXPathFreeContext(ctxt->pctxt); in xmlShellLoad()
2484 ctxt->pctxt = xmlXPathNewContext(doc); in xmlShellLoad()
2832 ctxt->pctxt = xmlXPathNewContext(ctxt->doc); in xmlShell()
2833 if (ctxt->pctxt == NULL) { in xmlShell()
2972 ctxt->pctxt->node = ctxt->node; in xmlShell()
2974 ctxt->pctxt->node = ctxt->node; in xmlShell()
[all …]
Drunsuite.c302 xmlRelaxNGParserCtxtPtr pctxt; in xsdIncorrectTestCase() local
329 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdIncorrectTestCase()
330 xmlRelaxNGSetParserErrors(pctxt, testErrorHandler, testErrorHandler, in xsdIncorrectTestCase()
331 pctxt); in xsdIncorrectTestCase()
332 rng = xmlRelaxNGParse(pctxt); in xsdIncorrectTestCase()
333 xmlRelaxNGFreeParserCtxt(pctxt); in xsdIncorrectTestCase()
421 xmlRelaxNGParserCtxtPtr pctxt; in xsdTestCase() local
462 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdTestCase()
463 xmlRelaxNGSetParserErrors(pctxt, testErrorHandler, testErrorHandler, in xsdTestCase()
464 pctxt); in xsdTestCase()
[all …]
Dschematron.c1748 xmlSchematronParserCtxtPtr pctxt; in main() local
1752 pctxt = xmlSchematronNewParserCtxt("tst.sct"); in main()
1753 if (pctxt == NULL) { in main()
1756 schema = xmlSchematronParse(pctxt); in main()
1760 xmlSchematronFreeParserCtxt(pctxt); in main()
Dvalid.c61 xmlParserCtxtPtr pctxt = NULL; in xmlVErrMemory() local
73 pctxt = ctxt->userData; in xmlVErrMemory()
78 pctxt, NULL, XML_FROM_VALID, XML_ERR_NO_MEMORY, in xmlVErrMemory()
83 pctxt, NULL, XML_FROM_VALID, XML_ERR_NO_MEMORY, in xmlVErrMemory()
101 xmlParserCtxtPtr pctxt = NULL; in xmlErrValid() local
113 pctxt = ctxt->userData; in xmlErrValid()
118 pctxt, NULL, XML_FROM_VALID, error, in xmlErrValid()
123 pctxt, NULL, XML_FROM_VALID, error, in xmlErrValid()
148 xmlParserCtxtPtr pctxt = NULL; in xmlErrValidNode() local
160 pctxt = ctxt->userData; in xmlErrValidNode()
[all …]
Dxpath.c14136 xmlXPathOptimizeExpression(xmlXPathParserContextPtr pctxt, in xmlXPathOptimizeExpression() argument
14139 xmlXPathCompExprPtr comp = pctxt->comp; in xmlXPathOptimizeExpression()
14197 ctxt = pctxt->context; in xmlXPathOptimizeExpression()
14204 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch1]); in xmlXPathOptimizeExpression()
14206 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch2]); in xmlXPathOptimizeExpression()
14223 xmlXPathParserContextPtr pctxt; in xmlXPathCtxtCompile() local
14234 pctxt = xmlXPathNewParserContext(str, ctxt); in xmlXPathCtxtCompile()
14235 if (pctxt == NULL) in xmlXPathCtxtCompile()
14239 xmlXPathCompileExpr(pctxt, 1); in xmlXPathCtxtCompile()
14241 if( pctxt->error != XPATH_EXPRESSION_OK ) in xmlXPathCtxtCompile()
[all …]
Dxmlreader.c4458 xmlRelaxNGParserCtxtPtr pctxt; in xmlTextReaderRelaxNGValidateInternal() local
4461 pctxt = xmlRelaxNGNewParserCtxt(rng); in xmlTextReaderRelaxNGValidateInternal()
4463 xmlRelaxNGSetParserErrors(pctxt, in xmlTextReaderRelaxNGValidateInternal()
4473 reader->rngSchemas = xmlRelaxNGParse(pctxt); in xmlTextReaderRelaxNGValidateInternal()
4474 xmlRelaxNGFreeParserCtxt(pctxt); in xmlTextReaderRelaxNGValidateInternal()
4564 xmlSchemaParserCtxtPtr pctxt; in xmlTextReaderSchemaValidateInternal() local
4566 pctxt = xmlSchemaNewParserCtxt(xsd); in xmlTextReaderSchemaValidateInternal()
4568 xmlSchemaSetParserErrors(pctxt, in xmlTextReaderSchemaValidateInternal()
4573 reader->xsdSchemas = xmlSchemaParse(pctxt); in xmlTextReaderSchemaValidateInternal()
4574 xmlSchemaFreeParserCtxt(pctxt); in xmlTextReaderSchemaValidateInternal()
Dtestapi.c35176 xmlSchemaParserCtxtPtr pctxt; /* the schema parser context or NULL */ in test_xmlSchemaCheckFacet() local
35188 pctxt = gen_xmlSchemaParserCtxtPtr(n_pctxt, 2); in test_xmlSchemaCheckFacet()
35191 ret_val = xmlSchemaCheckFacet(facet, typeDecl, pctxt, (const xmlChar *)name); in test_xmlSchemaCheckFacet()
35196 des_xmlSchemaParserCtxtPtr(n_pctxt, pctxt, 2); in test_xmlSchemaCheckFacet()
DChangeLog4864 overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset
/external/libxml2/fuzz/
Dschema.c26 xmlSchemaParserCtxtPtr pctxt; in LLVMFuzzerTestOneInput() local
34 pctxt = xmlSchemaNewParserCtxt(xmlFuzzMainUrl()); in LLVMFuzzerTestOneInput()
35 xmlSchemaSetParserErrors(pctxt, xmlFuzzErrorFunc, xmlFuzzErrorFunc, NULL); in LLVMFuzzerTestOneInput()
36 xmlSchemaFree(xmlSchemaParse(pctxt)); in LLVMFuzzerTestOneInput()
37 xmlSchemaFreeParserCtxt(pctxt); in LLVMFuzzerTestOneInput()
DgenSeed.c156 xmlSchemaParserCtxtPtr pctxt; in processSchema() local
160 pctxt = xmlSchemaNewParserCtxt(docFile); in processSchema()
161 xmlSchemaSetParserErrors(pctxt, xmlFuzzErrorFunc, xmlFuzzErrorFunc, NULL); in processSchema()
162 schema = xmlSchemaParse(pctxt); in processSchema()
163 xmlSchemaFreeParserCtxt(pctxt); in processSchema()
/external/libxml2/python/tests/
Dtstxpath.py16 pctxt = libxml2.xpathParserContext(_obj=ctx)
17 ctxt = pctxt.context()
/external/libxml2/include/libxml/
DdebugXML.h117 xmlXPathContextPtr pctxt; member
/external/libxml2/os400/libxmlrpg/
DdebugXML.rpgle138 d pctxt like(xmlXPathContextPtr)