/external/libxml2/ |
D | xmlschemas.c | 623 xmlSchemaValidCtxtPtr vctxt; member 1069 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt); 2035 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local 2038 vctxt->nberrors++; in xmlSchemaErr4Line() 2039 vctxt->err = error; in xmlSchemaErr4Line() 2040 channel = vctxt->error; in xmlSchemaErr4Line() 2042 channel = vctxt->warning; in xmlSchemaErr4Line() 2044 schannel = vctxt->serror; in xmlSchemaErr4Line() 2045 data = vctxt->errCtxt; in xmlSchemaErr4Line() 2053 (vctxt->depth >= 0) && in xmlSchemaErr4Line() [all …]
|
D | SAX2.c | 93 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlErrValid() 731 ctxt->vctxt.valid = 1; in xmlSAX2AttributeDecl() 733 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, elem, in xmlSAX2AttributeDecl() 737 attr = xmlAddAttributeDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, elem, in xmlSAX2AttributeDecl() 748 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl() 752 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl() 786 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl() 789 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl() 803 xmlValidateElementDecl(&ctxt->vctxt, ctxt->myDoc, elem); in xmlSAX2ElementDecl() 837 nota = xmlAddNotationDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, name, in xmlSAX2NotationDecl() [all …]
|
D | legacy.c | 290 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()
|
D | parserInternals.c | 1739 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt() 1740 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt() 1741 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt() 1742 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt() 1745 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt() 1747 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt() 1748 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt() 1799 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
|
D | debugXML.c | 2357 xmlRelaxNGValidCtxtPtr vctxt; in xmlShellRNGValidate() local 2372 vctxt = xmlRelaxNGNewValidCtxt(relaxngschemas); in xmlShellRNGValidate() 2373 xmlRelaxNGSetValidErrors(vctxt, in xmlShellRNGValidate() 2377 ret = xmlRelaxNGValidateDoc(vctxt, sctxt->doc); in xmlShellRNGValidate() 2386 xmlRelaxNGFreeValidCtxt(vctxt); in xmlShellRNGValidate() 2641 xmlValidCtxt vctxt; in xmlShellValidate() local 2645 vctxt.userData = stderr; in xmlShellValidate() 2646 vctxt.error = (xmlValidityErrorFunc) fprintf; in xmlShellValidate() 2647 vctxt.warning = (xmlValidityWarningFunc) fprintf; in xmlShellValidate() 2650 res = xmlValidateDocument(&vctxt, ctxt->doc); in xmlShellValidate() [all …]
|
D | xmlreader.c | 921 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush() 930 reader->ctxt->valid &= xmlValidatePushElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePush() 981 reader->ctxt->valid &= xmlValidatePushCData(&reader->ctxt->vctxt, in xmlTextReaderValidateCData() 1012 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop() 1021 reader->ctxt->valid &= xmlValidatePopElement(&reader->ctxt->vctxt, in xmlTextReaderValidatePop() 2232 if ((reader->ctxt->vctxt.vstateTab != NULL) && in xmlFreeTextReader() 2233 (reader->ctxt->vctxt.vstateMax > 0)){ in xmlFreeTextReader() 2234 xmlFree(reader->ctxt->vctxt.vstateTab); in xmlFreeTextReader() 2235 reader->ctxt->vctxt.vstateTab = NULL; in xmlFreeTextReader() 2236 reader->ctxt->vctxt.vstateMax = 0; in xmlFreeTextReader() [all …]
|
D | schematron.c | 1747 xmlSchematronValidCtxtPtr vctxt; in main() local 1766 vctxt = xmlSchematronNewValidCtxt(schema); in main() 1767 if (vctxt == NULL) { in main() 1770 ret = xmlSchematronValidateDoc(vctxt, instance); in main() 1771 xmlSchematronFreeValidCtxt(vctxt); in main()
|
D | xmllint.c | 1664 xmlSchemaValidCtxtPtr vctxt; in testSAX() local 1666 vctxt = xmlSchemaNewValidCtxt(wxschemas); in testSAX() 1667 xmlSchemaSetValidErrors(vctxt, in testSAX() 1672 ret = xmlSchemaValidateStream(vctxt, buf, 0, handler, in testSAX() 1686 xmlSchemaFreeValidCtxt(vctxt); in testSAX() 2321 ctxt->vctxt.error = xmlHTMLValidityError; in parseAndPrintFile() 2322 ctxt->vctxt.warning = xmlHTMLValidityWarning; in parseAndPrintFile()
|
D | parser.c | 573 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError() 2523 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParserHandlePEReference() 9620 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElement() 11008 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish() 12441 ctxt->vctxt.error = ctx->vctxt.error; in xmlParseCtxtExternalEntity() 12442 ctxt->vctxt.warning = ctx->vctxt.warning; in xmlParseCtxtExternalEntity() 12444 ctxt->vctxt.error = NULL; in xmlParseCtxtExternalEntity() 12445 ctxt->vctxt.warning = NULL; in xmlParseCtxtExternalEntity() 12447 ctxt->vctxt.nodeTab = NULL; in xmlParseCtxtExternalEntity() 12448 ctxt->vctxt.nodeNr = 0; in xmlParseCtxtExternalEntity() [all …]
|
D | HTMLparser.c | 4795 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in htmlInitParserCtxt() 4796 ctxt->vctxt.userData = ctxt; in htmlInitParserCtxt() 4797 ctxt->vctxt.error = xmlParserValidityError; in htmlInitParserCtxt() 4798 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlInitParserCtxt() 6461 ctxt->vctxt.userData = ctxt; in htmlCtxtReset() 6462 ctxt->vctxt.error = xmlParserValidityError; in htmlCtxtReset() 6463 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlCtxtReset() 6502 ctxt->vctxt.warning = NULL; in htmlCtxtUseOptions() 6508 ctxt->vctxt.error = NULL; in htmlCtxtUseOptions()
|
D | relaxng.c | 10772 xmlValidCtxt vctxt; in xmlRelaxNGValidateDocument() local 10774 memset(&vctxt, 0, sizeof(xmlValidCtxt)); in xmlRelaxNGValidateDocument() 10775 vctxt.valid = 1; in xmlRelaxNGValidateDocument() 10776 vctxt.error = ctxt->error; in xmlRelaxNGValidateDocument() 10777 vctxt.warning = ctxt->warning; in xmlRelaxNGValidateDocument() 10778 vctxt.userData = ctxt->userData; in xmlRelaxNGValidateDocument() 10780 if (xmlValidateDocumentFinal(&vctxt, doc) != 1) in xmlRelaxNGValidateDocument()
|
D | valid.c | 6947 xmlValidCtxt vctxt; in xmlValidGetValidElements() local 6970 memset(&vctxt, 0, sizeof (xmlValidCtxt)); in xmlValidGetValidElements() 6971 vctxt.error = xmlNoValidityErr; /* this suppresses err/warn output */ in xmlValidGetValidElements() 7019 if (xmlValidateOneElement(&vctxt, parent->doc, parent)) { in xmlValidGetValidElements()
|
/external/libxml2/include/libxml/ |
D | parser.h | 221 xmlValidCtxt vctxt; /* The validity context */ member
|