Home
last modified time | relevance | path

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

/external/libxml2/
Dxmlschemas.c623 xmlSchemaValidCtxtPtr vctxt; member
1074 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt);
2043 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2047 vctxt->nberrors++; in xmlSchemaErr4Line()
2048 vctxt->err = error; in xmlSchemaErr4Line()
2049 channel = vctxt->error; in xmlSchemaErr4Line()
2051 channel = vctxt->warning; in xmlSchemaErr4Line()
2053 schannel = vctxt->serror; in xmlSchemaErr4Line()
2054 data = vctxt->errCtxt; in xmlSchemaErr4Line()
2062 (vctxt->depth >= 0) && in xmlSchemaErr4Line()
[all …]
DSAX2.c68 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlSAX2ErrMemory()
110 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlErrValid()
761 ctxt->vctxt.valid = 1; in xmlSAX2AttributeDecl()
763 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem, in xmlSAX2AttributeDecl()
767 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem, in xmlSAX2AttributeDecl()
778 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl()
782 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl()
816 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl()
819 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl()
833 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.c1726 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt()
1727 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt()
1728 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt()
1729 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1732 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt()
1734 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1735 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt()
1793 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
DdebugXML.c2361 xmlRelaxNGValidCtxtPtr vctxt; in xmlShellRNGValidate() local
2376 vctxt = xmlRelaxNGNewValidCtxt(relaxngschemas); in xmlShellRNGValidate()
2377 xmlRelaxNGSetValidErrors(vctxt, in xmlShellRNGValidate()
2381 ret = xmlRelaxNGValidateDoc(vctxt, sctxt->doc); in xmlShellRNGValidate()
2390 xmlRelaxNGFreeValidCtxt(vctxt); in xmlShellRNGValidate()
2645 xmlValidCtxt vctxt; in xmlShellValidate() local
2649 vctxt.userData = stderr; in xmlShellValidate()
2650 vctxt.error = (xmlValidityErrorFunc) fprintf; in xmlShellValidate()
2651 vctxt.warning = (xmlValidityWarningFunc) fprintf; in xmlShellValidate()
2654 res = xmlValidateDocument(&vctxt, ctxt->doc); in xmlShellValidate()
[all …]
Dxmlreader.c950 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
959 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
1010 reader->ctxt->valid &= xmlValidatePushCData(&reader->ctxt->vctxt, in xmlTextReaderValidateCData()
1041 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
1050 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
2266 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader()
2267 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader()
2268 xmlFree(reader->ctxt->vctxt.vstateTab); in xmlFreeTextReader()
2269 reader->ctxt->vctxt.vstateTab = NULL; in xmlFreeTextReader()
2270 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.c1667 xmlSchemaValidCtxtPtr vctxt; in testSAX() local
1669 vctxt = xmlSchemaNewValidCtxt(wxschemas); in testSAX()
1670 xmlSchemaSetValidErrors(vctxt, in testSAX()
1674 xmlSchemaValidateSetFilename(vctxt, filename); in testSAX()
1676 ret = xmlSchemaValidateStream(vctxt, buf, 0, handler, in testSAX()
1690 xmlSchemaFreeValidCtxt(vctxt); in testSAX()
2345 ctxt->vctxt.error = xmlHTMLValidityError; in parseAndPrintFile()
2346 ctxt->vctxt.warning = xmlHTMLValidityWarning; in parseAndPrintFile()
Dparser.c647 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError()
2627 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParserHandlePEReference()
10207 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElement()
11628 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish()
13245 ctxt->vctxt.error = ctx->vctxt.error; in xmlParseCtxtExternalEntity()
13246 ctxt->vctxt.warning = ctx->vctxt.warning; in xmlParseCtxtExternalEntity()
13248 ctxt->vctxt.error = NULL; in xmlParseCtxtExternalEntity()
13249 ctxt->vctxt.warning = NULL; in xmlParseCtxtExternalEntity()
13251 ctxt->vctxt.nodeTab = NULL; in xmlParseCtxtExternalEntity()
13252 ctxt->vctxt.nodeNr = 0; in xmlParseCtxtExternalEntity()
[all …]
Drelaxng.c10799 xmlValidCtxt vctxt; in xmlRelaxNGValidateDocument() local
10801 memset(&vctxt, 0, sizeof(xmlValidCtxt)); in xmlRelaxNGValidateDocument()
10802 vctxt.valid = 1; in xmlRelaxNGValidateDocument()
10803 vctxt.error = ctxt->error; in xmlRelaxNGValidateDocument()
10804 vctxt.warning = ctxt->warning; in xmlRelaxNGValidateDocument()
10805 vctxt.userData = ctxt->userData; in xmlRelaxNGValidateDocument()
10807 if (xmlValidateDocumentFinal(&vctxt, doc) != 1) in xmlRelaxNGValidateDocument()
Dvalid.c6950 xmlValidCtxt vctxt; in xmlValidGetValidElements() local
6973 memset(&vctxt, 0, sizeof (xmlValidCtxt)); in xmlValidGetValidElements()
6974 vctxt.error = xmlNoValidityErr; /* this suppresses err/warn output */ in xmlValidGetValidElements()
7025 if (xmlValidateOneElement(&vctxt, parent->doc, parent)) { in xmlValidGetValidElements()
Dtestapi.c34850 xmlSchemaValidCtxtPtr vctxt; /* the schema validation context */ in test_xmlSchemaValidateSetFilename() local
34858 vctxt = gen_xmlSchemaValidCtxtPtr(n_vctxt, 0); in test_xmlSchemaValidateSetFilename()
34861 xmlSchemaValidateSetFilename(vctxt, filename); in test_xmlSchemaValidateSetFilename()
34863 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.c628 (void) xmlAddAttributeDecl(&parser->vctxt,svg_info->document->intSubset, in SVGAttributeDeclaration()
633 (void) xmlAddAttributeDecl(&parser->vctxt,svg_info->document->extSubset, in SVGAttributeDeclaration()
659 (void) xmlAddElementDecl(&parser->vctxt,svg_info->document->intSubset, in SVGElementDeclaration()
663 (void) xmlAddElementDecl(&parser->vctxt,svg_info->document->extSubset, in SVGElementDeclaration()
686 (void) xmlAddNotationDecl(&parser->vctxt,svg_info->document->intSubset, in SVGNotationDeclaration()
690 (void) xmlAddNotationDecl(&parser->vctxt,svg_info->document->intSubset, in SVGNotationDeclaration()
Dmsl.c410 (void) xmlAddAttributeDecl(&parser->vctxt,msl_info->document->intSubset, in MSLAttributeDeclaration()
415 (void) xmlAddAttributeDecl(&parser->vctxt,msl_info->document->extSubset, in MSLAttributeDeclaration()
441 (void) xmlAddElementDecl(&parser->vctxt,msl_info->document->intSubset, in MSLElementDeclaration()
445 (void) xmlAddElementDecl(&parser->vctxt,msl_info->document->extSubset, in MSLElementDeclaration()
468 (void) xmlAddNotationDecl(&parser->vctxt,msl_info->document->intSubset, in MSLNotationDeclaration()
472 (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()