Home
last modified time | relevance | path

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

/third_party/libxml2/
Dxmlschemas.c631 xmlSchemaValidCtxtPtr vctxt; member
1095 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt);
2103 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2107 vctxt->nberrors++; in xmlSchemaErr4Line()
2108 vctxt->err = error; in xmlSchemaErr4Line()
2109 channel = vctxt->error; in xmlSchemaErr4Line()
2111 channel = vctxt->warning; in xmlSchemaErr4Line()
2113 schannel = vctxt->serror; in xmlSchemaErr4Line()
2114 data = vctxt->errCtxt; in xmlSchemaErr4Line()
2122 (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()
732 ctxt->vctxt.valid = 1; in xmlSAX2AttributeDecl()
734 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem, in xmlSAX2AttributeDecl()
738 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem, in xmlSAX2AttributeDecl()
750 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl()
754 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl()
788 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl()
791 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl()
805 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.c1736 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt()
1737 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt()
1738 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt()
1739 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1742 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt()
1744 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1745 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt()
1802 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
DdebugXML.c2362 xmlRelaxNGValidCtxtPtr vctxt; in xmlShellRNGValidate() local
2374 vctxt = xmlRelaxNGNewValidCtxt(relaxngschemas); in xmlShellRNGValidate()
2375 xmlRelaxNGSetValidErrors(vctxt, xmlGenericError, xmlGenericError, NULL); in xmlShellRNGValidate()
2376 ret = xmlRelaxNGValidateDoc(vctxt, sctxt->doc); in xmlShellRNGValidate()
2385 xmlRelaxNGFreeValidCtxt(vctxt); in xmlShellRNGValidate()
2640 xmlValidCtxt vctxt; in xmlShellValidate() local
2644 vctxt.userData = NULL; in xmlShellValidate()
2645 vctxt.error = xmlGenericError; in xmlShellValidate()
2646 vctxt.warning = xmlGenericError; in xmlShellValidate()
2649 res = xmlValidateDocument(&vctxt, ctxt->doc); in xmlShellValidate()
[all …]
Dxmlreader.c1034 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
1043 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
1093 reader->ctxt->valid &= xmlValidatePushCData(&reader->ctxt->vctxt, in xmlTextReaderValidateCData()
1124 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
1133 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
2330 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader()
2331 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader()
2333 while (reader->ctxt->vctxt.vstateNr > 0) in xmlFreeTextReader()
2334 xmlValidatePopElement(&reader->ctxt->vctxt, NULL, NULL, NULL); in xmlFreeTextReader()
2336 xmlFree(reader->ctxt->vctxt.vstateTab); 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.c1659 xmlSchemaValidCtxtPtr vctxt; in testSAX() local
1661 vctxt = xmlSchemaNewValidCtxt(wxschemas); in testSAX()
1662 if (vctxt == NULL) { in testSAX()
1667 xmlSchemaSetValidErrors(vctxt, xmlGenericError, xmlGenericError, NULL); in testSAX()
1668 xmlSchemaValidateSetFilename(vctxt, filename); in testSAX()
1670 ret = xmlSchemaValidateStream(vctxt, buf, 0, handler, in testSAX()
1686 xmlSchemaFreeValidCtxt(vctxt); in testSAX()
2362 ctxt->vctxt.error = xmlHTMLValidityError; in parseAndPrintFile()
2363 ctxt->vctxt.warning = xmlHTMLValidityWarning; in parseAndPrintFile()
DHTMLparser.c5121 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in htmlInitParserCtxt()
5122 ctxt->vctxt.userData = ctxt; in htmlInitParserCtxt()
5123 ctxt->vctxt.error = xmlParserValidityError; in htmlInitParserCtxt()
5124 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlInitParserCtxt()
6775 ctxt->vctxt.userData = ctxt; in htmlCtxtReset()
6776 ctxt->vctxt.error = xmlParserValidityError; in htmlCtxtReset()
6777 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlCtxtReset()
6815 ctxt->vctxt.warning = NULL; in htmlCtxtUseOptions()
6821 ctxt->vctxt.error = NULL; in htmlCtxtUseOptions()
Dparser.c688 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError()
7977 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParsePEReference()
10076 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElementStart()
11485 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish()
13123 ctxt->vctxt.error = oldctxt->vctxt.error; in xmlParseExternalEntityPrivate()
13124 ctxt->vctxt.warning = oldctxt->vctxt.warning; in xmlParseExternalEntityPrivate()
13125 ctxt->vctxt.userData = oldctxt->vctxt.userData; in xmlParseExternalEntityPrivate()
13441 oldctxt->valid &= xmlValidateElement(&oldctxt->vctxt, in xmlParseBalancedChunkMemoryInternal()
14865 ctxt->vctxt.userData = ctxt; in xmlCtxtReset()
14866 ctxt->vctxt.error = xmlParserValidityError; in xmlCtxtReset()
[all …]
Drelaxng.c10843 xmlValidCtxt vctxt; in xmlRelaxNGValidateDocument() local
10845 memset(&vctxt, 0, sizeof(xmlValidCtxt)); in xmlRelaxNGValidateDocument()
10846 vctxt.valid = 1; in xmlRelaxNGValidateDocument()
10847 vctxt.error = ctxt->error; in xmlRelaxNGValidateDocument()
10848 vctxt.warning = ctxt->warning; in xmlRelaxNGValidateDocument()
10849 vctxt.userData = ctxt->userData; in xmlRelaxNGValidateDocument()
10851 if (xmlValidateDocumentFinal(&vctxt, doc) != 1) in xmlRelaxNGValidateDocument()
Dvalid.c7056 xmlValidCtxt vctxt; in xmlValidGetValidElements() local
7079 memset(&vctxt, 0, sizeof (xmlValidCtxt)); in xmlValidGetValidElements()
7080 vctxt.error = xmlNoValidityErr; /* this suppresses err/warn output */ in xmlValidGetValidElements()
7131 if (xmlValidateOneElement(&vctxt, parent->doc, parent)) { in xmlValidGetValidElements()
Dtestapi.c35008 xmlSchemaValidCtxtPtr vctxt; /* the schema validation context */ in test_xmlSchemaValidateSetFilename() local
35016 vctxt = gen_xmlSchemaValidCtxtPtr(n_vctxt, 0); in test_xmlSchemaValidateSetFilename()
35019 xmlSchemaValidateSetFilename(vctxt, filename); in test_xmlSchemaValidateSetFilename()
35021 des_xmlSchemaValidCtxtPtr(n_vctxt, vctxt, 0); in test_xmlSchemaValidateSetFilename()
/third_party/libxml2/include/libxml/
Dxmlschemas.h193 xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt,
237 xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
Dparser.h223 xmlValidCtxt vctxt; /* The validity context */ member
/third_party/libxml2/os400/libxmlrpg/
Dxmlschemas.rpgle252 d vctxt value like(xmlSchemaValidCtxtPtr)
325 d vctxt value like(xmlSchemaValidCtxtPtr)
Dparser.rpgle238 d vctxt likeds(xmlValidCtxt) Validity context
/third_party/libxml2/python/
Dlibxml.c1820 ctxt->vctxt.error = libxml_xmlParserCtxtValidityErrorFuncHandler; in libxml_xmlParserCtxtSetErrorHandler()
1821 ctxt->vctxt.warning = libxml_xmlParserCtxtValidityWarningFuncHandler; in libxml_xmlParserCtxtSetErrorHandler()
1825 ctxt->vctxt.error = xmlParserValidityError; in libxml_xmlParserCtxtSetErrorHandler()
1827 ctxt->vctxt.warning = xmlParserValidityWarning; in libxml_xmlParserCtxtSetErrorHandler()
/third_party/chromium/patch/
D0001-cve.patch76322 - on validation errors, the heuristic to guess is a vctxt user
80267 - can probably be improved to make 100% sure that vctxt->userData
82233 - * HTMLparser.c: added initialisation for ctxt->vctxt
90861 - ctxt->vctxt.nodeTab was allocated and freed changed over
91497 - * parserInternals.c: cleanup vctxt.nodeTab (de)allocation
94430 - ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0;
94431 + ctxt->vctxt.flags = XML_VCTXT_USE_PCTXT;
94432 ctxt->vctxt.userData = ctxt;
94433 ctxt->vctxt.error = xmlParserValidityError;
94434 ctxt->vctxt.warning = xmlParserValidityWarning;
[all …]