/external/libxml2/ |
D | xmlschemas.c | 623 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 …]
|
D | SAX2.c | 68 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 …]
|
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 | 1726 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()
|
D | debugXML.c | 2361 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 …]
|
D | xmlreader.c | 950 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 …]
|
D | schematron.c | 1749 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()
|
D | xmllint.c | 1667 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()
|
D | parser.c | 647 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 …]
|
D | relaxng.c | 10799 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()
|
D | valid.c | 6950 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()
|
D | testapi.c | 34850 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()
|
D | ChangeLog | 1727 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/ |
D | xmlschemas.h | 193 xmlSchemaValidateSetFilename(xmlSchemaValidCtxtPtr vctxt, 237 xmlSchemaValidateSetLocator (xmlSchemaValidCtxtPtr vctxt,
|
D | parser.h | 221 xmlValidCtxt vctxt; /* The validity context */ member
|
/external/libxml2/os400/libxmlrpg/ |
D | xmlschemas.rpgle | 252 d vctxt value like(xmlSchemaValidCtxtPtr) 325 d vctxt value like(xmlSchemaValidCtxtPtr)
|
D | parser.rpgle | 238 d vctxt likeds(xmlValidCtxt) Validity context
|
/external/ImageMagick/coders/ |
D | svg.c | 628 (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()
|
D | msl.c | 410 (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/ |
D | libxml.c | 1819 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()
|