Home
last modified time | relevance | path

Searched refs:vctxt (Results 1 – 21 of 21) sorted by relevance

/external/libxml2/
Dxmlschemas.c631 xmlSchemaValidCtxtPtr vctxt; member
1082 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt);
2052 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2056 vctxt->nberrors++; in xmlSchemaErr4Line()
2057 vctxt->err = error; in xmlSchemaErr4Line()
2058 channel = vctxt->error; in xmlSchemaErr4Line()
2060 channel = vctxt->warning; in xmlSchemaErr4Line()
2062 schannel = vctxt->serror; in xmlSchemaErr4Line()
2063 data = vctxt->errCtxt; in xmlSchemaErr4Line()
2071 (vctxt->depth >= 0) && in xmlSchemaErr4Line()
[all …]
DSAX2.c69 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlSAX2ErrMemory()
111 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlErrValid()
762 ctxt->vctxt.valid = 1; in xmlSAX2AttributeDecl()
764 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem, in xmlSAX2AttributeDecl()
768 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem, in xmlSAX2AttributeDecl()
779 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl()
783 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl()
817 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl()
820 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl()
834 xmlValidateElementDecl(&ctxt->vctxt, ctxt->myDoc, elem); in xmlSAX2ElementDecl()
[all …]
Dlegacy.c290 if (ctxt->vctxt.warning == NULL) in xmlSetFeature()
291 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlSetFeature()
292 if (ctxt->vctxt.error == NULL) in xmlSetFeature()
293 ctxt->vctxt.error = xmlParserValidityError; in xmlSetFeature()
294 ctxt->vctxt.nodeMax = 0; in xmlSetFeature()
DparserInternals.c1734 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt()
1735 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt()
1736 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt()
1737 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1740 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt()
1742 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1743 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt()
1801 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
DdebugXML.c2362 xmlRelaxNGValidCtxtPtr vctxt; in xmlShellRNGValidate() local
2377 vctxt = xmlRelaxNGNewValidCtxt(relaxngschemas); in xmlShellRNGValidate()
2378 xmlRelaxNGSetValidErrors(vctxt, in xmlShellRNGValidate()
2382 ret = xmlRelaxNGValidateDoc(vctxt, sctxt->doc); in xmlShellRNGValidate()
2391 xmlRelaxNGFreeValidCtxt(vctxt); in xmlShellRNGValidate()
2646 xmlValidCtxt vctxt; in xmlShellValidate() local
2650 vctxt.userData = stderr; in xmlShellValidate()
2651 vctxt.error = (xmlValidityErrorFunc) fprintf; in xmlShellValidate()
2652 vctxt.warning = (xmlValidityWarningFunc) fprintf; in xmlShellValidate()
2655 res = xmlValidateDocument(&vctxt, ctxt->doc); in xmlShellValidate()
[all …]
Dxmlreader.c955 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
964 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
1015 reader->ctxt->valid &= xmlValidatePushCData(&reader->ctxt->vctxt, in xmlTextReaderValidateCData()
1046 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
1055 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
2270 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader()
2271 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader()
2272 xmlFree(reader->ctxt->vctxt.vstateTab); in xmlFreeTextReader()
2273 reader->ctxt->vctxt.vstateTab = NULL; in xmlFreeTextReader()
2274 reader->ctxt->vctxt.vstateMax = 0; in xmlFreeTextReader()
[all …]
Dschematron.c1749 xmlSchematronValidCtxtPtr vctxt; in main() local
1768 vctxt = xmlSchematronNewValidCtxt(schema); in main()
1769 if (vctxt == NULL) { in main()
1772 ret = xmlSchematronValidateDoc(vctxt, instance); in main()
1773 xmlSchematronFreeValidCtxt(vctxt); in main()
Dxmllint.c1652 xmlSchemaValidCtxtPtr vctxt; in testSAX() local
1654 vctxt = xmlSchemaNewValidCtxt(wxschemas); in testSAX()
1655 xmlSchemaSetValidErrors(vctxt, in testSAX()
1659 xmlSchemaValidateSetFilename(vctxt, filename); in testSAX()
1661 ret = xmlSchemaValidateStream(vctxt, buf, 0, handler, in testSAX()
1675 xmlSchemaFreeValidCtxt(vctxt); in testSAX()
2328 ctxt->vctxt.error = xmlHTMLValidityError; in parseAndPrintFile()
2329 ctxt->vctxt.warning = xmlHTMLValidityWarning; in parseAndPrintFile()
DHTMLparser.c4950 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in htmlInitParserCtxt()
4951 ctxt->vctxt.userData = ctxt; in htmlInitParserCtxt()
4952 ctxt->vctxt.error = xmlParserValidityError; in htmlInitParserCtxt()
4953 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlInitParserCtxt()
6663 ctxt->vctxt.userData = ctxt; in htmlCtxtReset()
6664 ctxt->vctxt.error = xmlParserValidityError; in htmlCtxtReset()
6665 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlCtxtReset()
6704 ctxt->vctxt.warning = NULL; in htmlCtxtUseOptions()
6710 ctxt->vctxt.error = NULL; in htmlCtxtUseOptions()
Dparser.c647 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError()
7889 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParsePEReference()
9950 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElement()
11364 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish()
12986 ctxt->vctxt.error = ctx->vctxt.error; in xmlParseCtxtExternalEntity()
12987 ctxt->vctxt.warning = ctx->vctxt.warning; in xmlParseCtxtExternalEntity()
12989 ctxt->vctxt.error = NULL; in xmlParseCtxtExternalEntity()
12990 ctxt->vctxt.warning = NULL; in xmlParseCtxtExternalEntity()
12992 ctxt->vctxt.nodeTab = NULL; in xmlParseCtxtExternalEntity()
12993 ctxt->vctxt.nodeNr = 0; in xmlParseCtxtExternalEntity()
[all …]
Drelaxng.c10825 xmlValidCtxt vctxt; in xmlRelaxNGValidateDocument() local
10827 memset(&vctxt, 0, sizeof(xmlValidCtxt)); in xmlRelaxNGValidateDocument()
10828 vctxt.valid = 1; in xmlRelaxNGValidateDocument()
10829 vctxt.error = ctxt->error; in xmlRelaxNGValidateDocument()
10830 vctxt.warning = ctxt->warning; in xmlRelaxNGValidateDocument()
10831 vctxt.userData = ctxt->userData; in xmlRelaxNGValidateDocument()
10833 if (xmlValidateDocumentFinal(&vctxt, doc) != 1) in xmlRelaxNGValidateDocument()
Dvalid.c6992 xmlValidCtxt vctxt; in xmlValidGetValidElements() local
7015 memset(&vctxt, 0, sizeof (xmlValidCtxt)); in xmlValidGetValidElements()
7016 vctxt.error = xmlNoValidityErr; /* this suppresses err/warn output */ in xmlValidGetValidElements()
7067 if (xmlValidateOneElement(&vctxt, parent->doc, parent)) { in xmlValidGetValidElements()
Dtestapi.c35015 xmlSchemaValidCtxtPtr vctxt; /* the schema validation context */ in test_xmlSchemaValidateSetFilename() local
35023 vctxt = gen_xmlSchemaValidCtxtPtr(n_vctxt, 0); in test_xmlSchemaValidateSetFilename()
35026 xmlSchemaValidateSetFilename(vctxt, filename); in test_xmlSchemaValidateSetFilename()
35028 des_xmlSchemaValidCtxtPtr(n_vctxt, vctxt, 0); in test_xmlSchemaValidateSetFilename()
DChangeLog1727 on validation errors, the heuristic to guess is a vctxt user
5672 can probably be improved to make 100% sure that vctxt->userData
7638 * HTMLparser.c: added initialisation for ctxt->vctxt
16266 ctxt->vctxt.nodeTab was allocated and freed changed over
16902 * parserInternals.c: cleanup vctxt.nodeTab (de)allocation
/external/libxml2/include/libxml/
Dxmlschemas.h193 xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt,
237 xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
Dparser.h221 xmlValidCtxt vctxt; /* The validity context */ member
/external/libxml2/os400/libxmlrpg/
Dxmlschemas.rpgle252 d vctxt value like(xmlSchemaValidCtxtPtr)
325 d vctxt value like(xmlSchemaValidCtxtPtr)
Dparser.rpgle238 d vctxt likeds(xmlValidCtxt) Validity context
/external/ImageMagick/coders/
Dsvg.c610 (void) xmlAddAttributeDecl(&parser->vctxt,svg_info->document->intSubset, in SVGAttributeDeclaration()
615 (void) xmlAddAttributeDecl(&parser->vctxt,svg_info->document->extSubset, in SVGAttributeDeclaration()
641 (void) xmlAddElementDecl(&parser->vctxt,svg_info->document->intSubset, in SVGElementDeclaration()
645 (void) xmlAddElementDecl(&parser->vctxt,svg_info->document->extSubset, in SVGElementDeclaration()
793 (void) xmlAddNotationDecl(&parser->vctxt,svg_info->document->intSubset, in SVGNotationDeclaration()
797 (void) xmlAddNotationDecl(&parser->vctxt,svg_info->document->intSubset, in SVGNotationDeclaration()
Dmsl.c409 (void) xmlAddAttributeDecl(&parser->vctxt,msl_info->document->intSubset, in MSLAttributeDeclaration()
414 (void) xmlAddAttributeDecl(&parser->vctxt,msl_info->document->extSubset, in MSLAttributeDeclaration()
440 (void) xmlAddElementDecl(&parser->vctxt,msl_info->document->intSubset, in MSLElementDeclaration()
444 (void) xmlAddElementDecl(&parser->vctxt,msl_info->document->extSubset, in MSLElementDeclaration()
467 (void) xmlAddNotationDecl(&parser->vctxt,msl_info->document->intSubset, in MSLNotationDeclaration()
471 (void) xmlAddNotationDecl(&parser->vctxt,msl_info->document->intSubset, in MSLNotationDeclaration()
/external/libxml2/python/
Dlibxml.c1819 ctxt->vctxt.error = libxml_xmlParserCtxtValidityErrorFuncHandler; in libxml_xmlParserCtxtSetErrorHandler()
1820 ctxt->vctxt.warning = libxml_xmlParserCtxtValidityWarningFuncHandler; in libxml_xmlParserCtxtSetErrorHandler()
1824 ctxt->vctxt.error = xmlParserValidityError; in libxml_xmlParserCtxtSetErrorHandler()
1826 ctxt->vctxt.warning = xmlParserValidityWarning; in libxml_xmlParserCtxtSetErrorHandler()