Home
last modified time | relevance | path

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

12

/third_party/gettext/gnulib-local/lib/libxml/
Dxmlschemas.c660 xmlSchemaValidCtxtPtr vctxt; member
1111 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt);
2081 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2085 vctxt->nberrors++; in xmlSchemaErr4Line()
2086 vctxt->err = error; in xmlSchemaErr4Line()
2087 channel = vctxt->error; in xmlSchemaErr4Line()
2089 channel = vctxt->warning; in xmlSchemaErr4Line()
2091 schannel = vctxt->serror; in xmlSchemaErr4Line()
2092 data = vctxt->errCtxt; in xmlSchemaErr4Line()
2100 (vctxt->depth >= 0) && in xmlSchemaErr4Line()
[all …]
DSAX2.c97 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlSAX2ErrMemory()
139 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlErrValid()
790 ctxt->vctxt.valid = 1; in xmlSAX2AttributeDecl()
792 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem, in xmlSAX2AttributeDecl()
796 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem, in xmlSAX2AttributeDecl()
807 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl()
811 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl()
845 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl()
848 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl()
862 xmlValidateElementDecl(&ctxt->vctxt, ctxt->myDoc, elem); in xmlSAX2ElementDecl()
[all …]
Dxmlschemas.in.h221 xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt,
265 xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
Dlegacy.c319 if (ctxt->vctxt.warning == NULL) in xmlSetFeature()
320 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlSetFeature()
321 if (ctxt->vctxt.error == NULL) in xmlSetFeature()
322 ctxt->vctxt.error = xmlParserValidityError; in xmlSetFeature()
323 ctxt->vctxt.nodeMax = 0; in xmlSetFeature()
DparserInternals.c1763 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt()
1764 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt()
1765 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt()
1766 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1769 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt()
1771 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1772 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt()
1830 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
DdebugXML.c2391 xmlRelaxNGValidCtxtPtr vctxt; in xmlShellRNGValidate() local
2406 vctxt = xmlRelaxNGNewValidCtxt(relaxngschemas); in xmlShellRNGValidate()
2407 xmlRelaxNGSetValidErrors(vctxt, in xmlShellRNGValidate()
2411 ret = xmlRelaxNGValidateDoc(vctxt, sctxt->doc); in xmlShellRNGValidate()
2420 xmlRelaxNGFreeValidCtxt(vctxt); in xmlShellRNGValidate()
2675 xmlValidCtxt vctxt; in xmlShellValidate() local
2679 vctxt.userData = stderr; in xmlShellValidate()
2680 vctxt.error = (xmlValidityErrorFunc) fprintf; in xmlShellValidate()
2681 vctxt.warning = (xmlValidityWarningFunc) fprintf; in xmlShellValidate()
2684 res = xmlValidateDocument(&vctxt, ctxt->doc); in xmlShellValidate()
[all …]
Dxmlreader.c984 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
993 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush()
1044 reader->ctxt->valid &= xmlValidatePushCData(&reader->ctxt->vctxt, in xmlTextReaderValidateCData()
1075 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
1084 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop()
2299 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader()
2300 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader()
2301 xmlFree(reader->ctxt->vctxt.vstateTab); in xmlFreeTextReader()
2302 reader->ctxt->vctxt.vstateTab = NULL; in xmlFreeTextReader()
2303 reader->ctxt->vctxt.vstateMax = 0; in xmlFreeTextReader()
[all …]
Dschematron.c1778 xmlSchematronValidCtxtPtr vctxt; in main() local
1797 vctxt = xmlSchematronNewValidCtxt(schema); in main()
1798 if (vctxt == NULL) { in main()
1801 ret = xmlSchematronValidateDoc(vctxt, instance); in main()
1802 xmlSchematronFreeValidCtxt(vctxt); in main()
DHTMLparser.c4979 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in htmlInitParserCtxt()
4980 ctxt->vctxt.userData = ctxt; in htmlInitParserCtxt()
4981 ctxt->vctxt.error = xmlParserValidityError; in htmlInitParserCtxt()
4982 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlInitParserCtxt()
6692 ctxt->vctxt.userData = ctxt; in htmlCtxtReset()
6693 ctxt->vctxt.error = xmlParserValidityError; in htmlCtxtReset()
6694 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlCtxtReset()
6733 ctxt->vctxt.warning = NULL; in htmlCtxtUseOptions()
6739 ctxt->vctxt.error = NULL; in htmlCtxtUseOptions()
Dparser.c676 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError()
7918 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParsePEReference()
9979 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElement()
11393 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish()
13015 ctxt->vctxt.error = ctx->vctxt.error; in xmlParseCtxtExternalEntity()
13016 ctxt->vctxt.warning = ctx->vctxt.warning; in xmlParseCtxtExternalEntity()
13018 ctxt->vctxt.error = NULL; in xmlParseCtxtExternalEntity()
13019 ctxt->vctxt.warning = NULL; in xmlParseCtxtExternalEntity()
13021 ctxt->vctxt.nodeTab = NULL; in xmlParseCtxtExternalEntity()
13022 ctxt->vctxt.nodeNr = 0; in xmlParseCtxtExternalEntity()
[all …]
Dparser.in.h250 xmlValidCtxt vctxt; /* The validity context */ member
/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()
2329 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader()
2330 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader()
2332 while (reader->ctxt->vctxt.vstateNr > 0) in xmlFreeTextReader()
2333 xmlValidatePopElement(&reader->ctxt->vctxt, NULL, NULL, NULL); in xmlFreeTextReader()
2335 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 …]
/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)
/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()

12