/external/libxml2/ |
D | xmlschemas.c | 1015 xmlSchemaParserCtxtPtr pctxt; member 1134 xmlSchemaParseAttributeGroupRef(xmlSchemaParserCtxtPtr pctxt, 2185 xmlSchemaParserCtxtPtr pctxt = (xmlSchemaParserCtxtPtr) ctxt; in xmlSchemaErr4Line() local 2187 pctxt->nberrors++; in xmlSchemaErr4Line() 2188 pctxt->err = error; in xmlSchemaErr4Line() 2189 channel = pctxt->error; in xmlSchemaErr4Line() 2191 channel = pctxt->warning; in xmlSchemaErr4Line() 2193 schannel = pctxt->serror; in xmlSchemaErr4Line() 2194 data = pctxt->errCtxt; in xmlSchemaErr4Line() 2383 xmlSchemaPInternalErr(xmlSchemaParserCtxtPtr pctxt, [all …]
|
D | xinclude.c | 378 xmlParserCtxtPtr pctxt; in xmlXIncludeParseFile() local 383 pctxt = xmlNewParserCtxt(); in xmlXIncludeParseFile() 384 if (pctxt == NULL) { in xmlXIncludeParseFile() 392 pctxt->_private = ctxt->_private; in xmlXIncludeParseFile() 399 if (pctxt->dict != NULL) in xmlXIncludeParseFile() 400 xmlDictFree(pctxt->dict); in xmlXIncludeParseFile() 401 pctxt->dict = ctxt->doc->dict; in xmlXIncludeParseFile() 402 xmlDictReference(pctxt->dict); in xmlXIncludeParseFile() 405 xmlCtxtUseOptions(pctxt, ctxt->parseFlags | XML_PARSE_DTDLOAD); in xmlXIncludeParseFile() 411 inputStream = xmlLoadExternalEntity(URL, NULL, pctxt); in xmlXIncludeParseFile() [all …]
|
D | debugXML.c | 2136 if(xmlXPathRegisterNs(ctxt->pctxt, prefix, href) != 0) { in xmlShellRegisterNamespace() 2165 (root->nsDef == NULL) || (ctxt == NULL) || (ctxt->pctxt == NULL)) in xmlShellRegisterRootNamespaces() 2170 xmlXPathRegisterNs(ctxt->pctxt, BAD_CAST "defaultns", ns->href); in xmlShellRegisterRootNamespaces() 2172 xmlXPathRegisterNs(ctxt->pctxt, ns->prefix, ns->href); in xmlShellRegisterRootNamespaces() 2472 xmlXPathFreeContext(ctxt->pctxt); in xmlShellLoad() 2478 ctxt->pctxt = xmlXPathNewContext(doc); in xmlShellLoad() 2826 ctxt->pctxt = xmlXPathNewContext(ctxt->doc); in xmlShell() 2827 if (ctxt->pctxt == NULL) { in xmlShell() 2966 ctxt->pctxt->node = ctxt->node; in xmlShell() 2968 ctxt->pctxt->node = ctxt->node; in xmlShell() [all …]
|
D | runsuite.c | 297 xmlRelaxNGParserCtxtPtr pctxt; in xsdIncorrectTestCase() local 325 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdIncorrectTestCase() 326 xmlRelaxNGSetParserErrors(pctxt, testErrorHandler, testErrorHandler, in xsdIncorrectTestCase() 327 pctxt); in xsdIncorrectTestCase() 328 rng = xmlRelaxNGParse(pctxt); in xsdIncorrectTestCase() 329 xmlRelaxNGFreeParserCtxt(pctxt); in xsdIncorrectTestCase() 418 xmlRelaxNGParserCtxtPtr pctxt; in xsdTestCase() local 460 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdTestCase() 461 xmlRelaxNGSetParserErrors(pctxt, testErrorHandler, testErrorHandler, in xsdTestCase() 462 pctxt); in xsdTestCase() [all …]
|
D | valid.c | 62 xmlParserCtxtPtr pctxt = NULL; in xmlVErrMemory() local 71 pctxt = ctxt->userData; in xmlVErrMemory() 76 pctxt, NULL, XML_FROM_VALID, XML_ERR_NO_MEMORY, in xmlVErrMemory() 81 pctxt, NULL, XML_FROM_VALID, XML_ERR_NO_MEMORY, in xmlVErrMemory() 99 xmlParserCtxtPtr pctxt = NULL; in xmlErrValid() local 108 pctxt = ctxt->userData; in xmlErrValid() 113 pctxt, NULL, XML_FROM_VALID, error, in xmlErrValid() 118 pctxt, NULL, XML_FROM_VALID, error, in xmlErrValid() 143 xmlParserCtxtPtr pctxt = NULL; in xmlErrValidNode() local 152 pctxt = ctxt->userData; in xmlErrValidNode() [all …]
|
D | schematron.c | 2024 xmlSchematronParserCtxtPtr pctxt; in main() local 2028 pctxt = xmlSchematronNewParserCtxt("tst.sct"); in main() 2029 if (pctxt == NULL) { in main() 2032 schema = xmlSchematronParse(pctxt); in main() 2036 xmlSchematronFreeParserCtxt(pctxt); in main()
|
D | xpath.c | 14137 xmlXPathOptimizeExpression(xmlXPathParserContextPtr pctxt, in xmlXPathOptimizeExpression() argument 14140 xmlXPathCompExprPtr comp = pctxt->comp; in xmlXPathOptimizeExpression() 14198 ctxt = pctxt->context; in xmlXPathOptimizeExpression() 14205 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch1]); in xmlXPathOptimizeExpression() 14207 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch2]); in xmlXPathOptimizeExpression() 14224 xmlXPathParserContextPtr pctxt; in xmlXPathCtxtCompile() local 14236 pctxt = xmlXPathNewParserContext(str, ctxt); in xmlXPathCtxtCompile() 14237 if (pctxt == NULL) in xmlXPathCtxtCompile() 14241 xmlXPathCompileExpr(pctxt, 1); in xmlXPathCtxtCompile() 14245 if( pctxt->error != XPATH_EXPRESSION_OK ) in xmlXPathCtxtCompile() [all …]
|
D | xmlreader.c | 4308 xmlRelaxNGParserCtxtPtr pctxt; in xmlTextReaderRelaxNGValidateInternal() local 4311 pctxt = xmlRelaxNGNewParserCtxt(rng); in xmlTextReaderRelaxNGValidateInternal() 4313 xmlRelaxNGSetParserErrors(pctxt, in xmlTextReaderRelaxNGValidateInternal() 4323 reader->rngSchemas = xmlRelaxNGParse(pctxt); in xmlTextReaderRelaxNGValidateInternal() 4324 xmlRelaxNGFreeParserCtxt(pctxt); in xmlTextReaderRelaxNGValidateInternal() 4414 xmlSchemaParserCtxtPtr pctxt; in xmlTextReaderSchemaValidateInternal() local 4416 pctxt = xmlSchemaNewParserCtxt(xsd); in xmlTextReaderSchemaValidateInternal() 4418 xmlSchemaSetParserErrors(pctxt, in xmlTextReaderSchemaValidateInternal() 4423 reader->xsdSchemas = xmlSchemaParse(pctxt); in xmlTextReaderSchemaValidateInternal() 4424 xmlSchemaFreeParserCtxt(pctxt); in xmlTextReaderSchemaValidateInternal()
|
D | testapi.c | 34228 xmlSchemaParserCtxtPtr pctxt; /* the schema parser context or NULL */ in test_xmlSchemaCheckFacet() local 34240 pctxt = gen_xmlSchemaParserCtxtPtr(n_pctxt, 2); in test_xmlSchemaCheckFacet() 34243 ret_val = xmlSchemaCheckFacet(facet, typeDecl, pctxt, (const xmlChar *)name); in test_xmlSchemaCheckFacet() 34248 des_xmlSchemaParserCtxtPtr(n_pctxt, pctxt, 2); in test_xmlSchemaCheckFacet()
|
/external/libxml2/fuzz/ |
D | schema.c | 27 xmlSchemaParserCtxtPtr pctxt; in LLVMFuzzerTestOneInput() local 39 pctxt = xmlSchemaNewParserCtxt(xmlFuzzMainUrl()); in LLVMFuzzerTestOneInput() 40 xmlSchemaSetParserErrors(pctxt, xmlFuzzErrorFunc, xmlFuzzErrorFunc, NULL); in LLVMFuzzerTestOneInput() 41 xmlSchemaFree(xmlSchemaParse(pctxt)); in LLVMFuzzerTestOneInput() 42 xmlSchemaFreeParserCtxt(pctxt); in LLVMFuzzerTestOneInput()
|
D | genSeed.c | 165 xmlSchemaParserCtxtPtr pctxt; in processSchema() local 172 pctxt = xmlSchemaNewParserCtxt(docFile); in processSchema() 173 xmlSchemaSetParserErrors(pctxt, xmlFuzzErrorFunc, xmlFuzzErrorFunc, NULL); in processSchema() 174 schema = xmlSchemaParse(pctxt); in processSchema() 175 xmlSchemaFreeParserCtxt(pctxt); in processSchema()
|
/external/cronet/third_party/libxml/src/ |
D | runsuite.c | 297 xmlRelaxNGParserCtxtPtr pctxt; in xsdIncorrectTestCase() local 325 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdIncorrectTestCase() 326 xmlRelaxNGSetParserErrors(pctxt, testErrorHandler, testErrorHandler, in xsdIncorrectTestCase() 327 pctxt); in xsdIncorrectTestCase() 328 rng = xmlRelaxNGParse(pctxt); in xsdIncorrectTestCase() 329 xmlRelaxNGFreeParserCtxt(pctxt); in xsdIncorrectTestCase() 418 xmlRelaxNGParserCtxtPtr pctxt; in xsdTestCase() local 460 pctxt = xmlRelaxNGNewMemParserCtxt((const char *)buf->content, buf->use); in xsdTestCase() 461 xmlRelaxNGSetParserErrors(pctxt, testErrorHandler, testErrorHandler, in xsdTestCase() 462 pctxt); in xsdTestCase() [all …]
|
D | valid.c | 62 xmlParserCtxtPtr pctxt = NULL; in xmlVErrMemory() local 71 pctxt = ctxt->userData; in xmlVErrMemory() 76 pctxt, NULL, XML_FROM_VALID, XML_ERR_NO_MEMORY, in xmlVErrMemory() 81 pctxt, NULL, XML_FROM_VALID, XML_ERR_NO_MEMORY, in xmlVErrMemory() 99 xmlParserCtxtPtr pctxt = NULL; in xmlErrValid() local 108 pctxt = ctxt->userData; in xmlErrValid() 113 pctxt, NULL, XML_FROM_VALID, error, in xmlErrValid() 118 pctxt, NULL, XML_FROM_VALID, error, in xmlErrValid() 143 xmlParserCtxtPtr pctxt = NULL; in xmlErrValidNode() local 152 pctxt = ctxt->userData; in xmlErrValidNode() [all …]
|
D | xpath.c | 14110 xmlXPathOptimizeExpression(xmlXPathParserContextPtr pctxt, in xmlXPathOptimizeExpression() argument 14113 xmlXPathCompExprPtr comp = pctxt->comp; in xmlXPathOptimizeExpression() 14171 ctxt = pctxt->context; in xmlXPathOptimizeExpression() 14178 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch1]); in xmlXPathOptimizeExpression() 14180 xmlXPathOptimizeExpression(pctxt, &comp->steps[op->ch2]); in xmlXPathOptimizeExpression() 14197 xmlXPathParserContextPtr pctxt; in xmlXPathCtxtCompile() local 14209 pctxt = xmlXPathNewParserContext(str, ctxt); in xmlXPathCtxtCompile() 14210 if (pctxt == NULL) in xmlXPathCtxtCompile() 14214 xmlXPathCompileExpr(pctxt, 1); in xmlXPathCtxtCompile() 14218 if( pctxt->error != XPATH_EXPRESSION_OK ) in xmlXPathCtxtCompile() [all …]
|
D | xmlreader.c | 4308 xmlRelaxNGParserCtxtPtr pctxt; in xmlTextReaderRelaxNGValidateInternal() local 4311 pctxt = xmlRelaxNGNewParserCtxt(rng); in xmlTextReaderRelaxNGValidateInternal() 4313 xmlRelaxNGSetParserErrors(pctxt, in xmlTextReaderRelaxNGValidateInternal() 4323 reader->rngSchemas = xmlRelaxNGParse(pctxt); in xmlTextReaderRelaxNGValidateInternal() 4324 xmlRelaxNGFreeParserCtxt(pctxt); in xmlTextReaderRelaxNGValidateInternal() 4414 xmlSchemaParserCtxtPtr pctxt; in xmlTextReaderSchemaValidateInternal() local 4416 pctxt = xmlSchemaNewParserCtxt(xsd); in xmlTextReaderSchemaValidateInternal() 4418 xmlSchemaSetParserErrors(pctxt, in xmlTextReaderSchemaValidateInternal() 4423 reader->xsdSchemas = xmlSchemaParse(pctxt); in xmlTextReaderSchemaValidateInternal() 4424 xmlSchemaFreeParserCtxt(pctxt); in xmlTextReaderSchemaValidateInternal()
|
D | testapi.c | 34228 xmlSchemaParserCtxtPtr pctxt; /* the schema parser context or NULL */ in test_xmlSchemaCheckFacet() local 34240 pctxt = gen_xmlSchemaParserCtxtPtr(n_pctxt, 2); in test_xmlSchemaCheckFacet() 34243 ret_val = xmlSchemaCheckFacet(facet, typeDecl, pctxt, (const xmlChar *)name); in test_xmlSchemaCheckFacet() 34248 des_xmlSchemaParserCtxtPtr(n_pctxt, pctxt, 2); in test_xmlSchemaCheckFacet()
|
/external/libxml2/python/tests/ |
D | tstxpath.py | 16 pctxt = libxml2.xpathParserContext(_obj=ctx) 17 ctxt = pctxt.context()
|
/external/libxml2/include/libxml/ |
D | debugXML.h | 117 xmlXPathContextPtr pctxt; member
|
/external/cronet/third_party/libxml/src/include/libxml/ |
D | debugXML.h | 117 xmlXPathContextPtr pctxt; member
|
/external/libxml2/os400/libxmlrpg/ |
D | debugXML.rpgle | 138 d pctxt like(xmlXPathContextPtr)
|