Home
last modified time | relevance | path

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

/external/libxml2/
Dxmlschemas.c1001 xmlSchemaParserCtxtPtr pctxt; member
1108 xmlSchemaParseAttributeGroupRef(xmlSchemaParserCtxtPtr pctxt,
2121 xmlSchemaParserCtxtPtr pctxt = (xmlSchemaParserCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2123 pctxt->nberrors++; in xmlSchemaErr4Line()
2124 pctxt->err = error; in xmlSchemaErr4Line()
2125 channel = pctxt->error; in xmlSchemaErr4Line()
2127 channel = pctxt->warning; in xmlSchemaErr4Line()
2129 schannel = pctxt->serror; in xmlSchemaErr4Line()
2130 data = pctxt->errCtxt; in xmlSchemaErr4Line()
2319 xmlSchemaPInternalErr(xmlSchemaParserCtxtPtr pctxt,
[all …]
Dxinclude.c423 xmlParserCtxtPtr pctxt; in xmlXIncludeParseFile() local
428 pctxt = xmlNewParserCtxt(); in xmlXIncludeParseFile()
429 if (pctxt == NULL) { in xmlXIncludeParseFile()
437 pctxt->_private = ctxt->_private; in xmlXIncludeParseFile()
444 if (pctxt->dict != NULL) in xmlXIncludeParseFile()
445 xmlDictFree(pctxt->dict); in xmlXIncludeParseFile()
446 pctxt->dict = ctxt->doc->dict; in xmlXIncludeParseFile()
447 xmlDictReference(pctxt->dict); in xmlXIncludeParseFile()
450 xmlCtxtUseOptions(pctxt, ctxt->parseFlags | XML_PARSE_DTDLOAD); in xmlXIncludeParseFile()
452 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()
2484 xmlXPathFreeContext(ctxt->pctxt); in xmlShellLoad()
2490 ctxt->pctxt = xmlXPathNewContext(doc); in xmlShellLoad()
2838 ctxt->pctxt = xmlXPathNewContext(ctxt->doc); in xmlShell()
2839 if (ctxt->pctxt == NULL) { in xmlShell()
2978 ctxt->pctxt->node = ctxt->node; in xmlShell()
2980 ctxt->pctxt->node = ctxt->node; in xmlShell()
[all …]
Drunsuite.c302 xmlRelaxNGParserCtxtPtr pctxt; in xsdIncorectTestCase() local
329 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdIncorectTestCase()
330 xmlRelaxNGSetParserErrors(pctxt, in xsdIncorectTestCase()
333 pctxt); in xsdIncorectTestCase()
334 rng = xmlRelaxNGParse(pctxt); in xsdIncorectTestCase()
335 xmlRelaxNGFreeParserCtxt(pctxt); in xsdIncorectTestCase()
423 xmlRelaxNGParserCtxtPtr pctxt; in xsdTestCase() local
464 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdTestCase()
465 xmlRelaxNGSetParserErrors(pctxt, in xsdTestCase()
468 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 …]
Dxmlreader.c4386 xmlRelaxNGParserCtxtPtr pctxt; in xmlTextReaderRelaxNGValidateInternal() local
4389 pctxt = xmlRelaxNGNewParserCtxt(rng); in xmlTextReaderRelaxNGValidateInternal()
4391 xmlRelaxNGSetParserErrors(pctxt, in xmlTextReaderRelaxNGValidateInternal()
4401 reader->rngSchemas = xmlRelaxNGParse(pctxt); in xmlTextReaderRelaxNGValidateInternal()
4402 xmlRelaxNGFreeParserCtxt(pctxt); in xmlTextReaderRelaxNGValidateInternal()
4492 xmlSchemaParserCtxtPtr pctxt; in xmlTextReaderSchemaValidateInternal() local
4494 pctxt = xmlSchemaNewParserCtxt(xsd); in xmlTextReaderSchemaValidateInternal()
4496 xmlSchemaSetParserErrors(pctxt, in xmlTextReaderSchemaValidateInternal()
4501 reader->xsdSchemas = xmlSchemaParse(pctxt); in xmlTextReaderSchemaValidateInternal()
4502 xmlSchemaFreeParserCtxt(pctxt); in xmlTextReaderSchemaValidateInternal()
Dxpath.c14802 xmlXPathParserContextPtr pctxt; in xmlXPathCtxtCompile() local
14813 pctxt = xmlXPathNewParserContext(str, ctxt); in xmlXPathCtxtCompile()
14814 if (pctxt == NULL) in xmlXPathCtxtCompile()
14816 xmlXPathCompileExpr(pctxt, 1); in xmlXPathCtxtCompile()
14818 if( pctxt->error != XPATH_EXPRESSION_OK ) in xmlXPathCtxtCompile()
14820 xmlXPathFreeParserContext(pctxt); in xmlXPathCtxtCompile()
14824 if (*pctxt->cur != 0) { in xmlXPathCtxtCompile()
14831 xmlXPatherror(pctxt, __FILE__, __LINE__, XPATH_EXPR_ERROR); in xmlXPathCtxtCompile()
14834 comp = pctxt->comp; in xmlXPathCtxtCompile()
14835 pctxt->comp = NULL; in xmlXPathCtxtCompile()
[all …]
Dtestapi.c35185 xmlSchemaParserCtxtPtr pctxt; /* the schema parser context or NULL */ in test_xmlSchemaCheckFacet() local
35197 pctxt = gen_xmlSchemaParserCtxtPtr(n_pctxt, 2); in test_xmlSchemaCheckFacet()
35200 ret_val = xmlSchemaCheckFacet(facet, typeDecl, pctxt, (const xmlChar *)name); in test_xmlSchemaCheckFacet()
35205 des_xmlSchemaParserCtxtPtr(n_pctxt, pctxt, 2); in test_xmlSchemaCheckFacet()
DChangeLog4864 overwriting XML_COMPLETE_ATTRS when setting pctxt->loadsubset
/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)