Home
last modified time | relevance | path

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

/external/libxml2/
Dxmlschemas.c631 xmlSchemaValidCtxtPtr vctxt; member
1095 xmlSchemaClearValidCtxt(xmlSchemaValidCtxtPtr vctxt);
2097 xmlSchemaValidCtxtPtr vctxt = (xmlSchemaValidCtxtPtr) ctxt; in xmlSchemaErr4Line() local
2101 vctxt->nberrors++; in xmlSchemaErr4Line()
2102 vctxt->err = error; in xmlSchemaErr4Line()
2103 channel = vctxt->error; in xmlSchemaErr4Line()
2105 channel = vctxt->warning; in xmlSchemaErr4Line()
2107 schannel = vctxt->serror; in xmlSchemaErr4Line()
2108 data = vctxt->errCtxt; in xmlSchemaErr4Line()
2116 (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()
749 if (ctxt->vctxt.valid == 0) in xmlSAX2AttributeDecl()
753 ctxt->valid &= xmlValidateAttributeDecl(&ctxt->vctxt, ctxt->myDoc, in xmlSAX2AttributeDecl()
787 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->intSubset, in xmlSAX2ElementDecl()
790 elem = xmlAddElementDecl(&ctxt->vctxt, ctxt->myDoc->extSubset, in xmlSAX2ElementDecl()
804 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.c1734 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in xmlInitParserCtxt()
1735 ctxt->vctxt.userData = ctxt; in xmlInitParserCtxt()
1736 ctxt->vctxt.error = xmlParserValidityError; in xmlInitParserCtxt()
1737 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1740 ctxt->vctxt.warning = NULL; in xmlInitParserCtxt()
1742 ctxt->vctxt.warning = xmlParserValidityWarning; in xmlInitParserCtxt()
1743 ctxt->vctxt.nodeMax = 0; in xmlInitParserCtxt()
1800 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 xmlSchemaSetValidErrors(vctxt, xmlGenericError, xmlGenericError, NULL); in testSAX()
1663 xmlSchemaValidateSetFilename(vctxt, filename); in testSAX()
1665 ret = xmlSchemaValidateStream(vctxt, buf, 0, handler, in testSAX()
1681 xmlSchemaFreeValidCtxt(vctxt); in testSAX()
2340 ctxt->vctxt.error = xmlHTMLValidityError; in parseAndPrintFile()
2341 ctxt->vctxt.warning = xmlHTMLValidityWarning; in parseAndPrintFile()
DHTMLparser.c5107 ctxt->vctxt.finishDtd = XML_CTXT_FINISH_DTD_0; in htmlInitParserCtxt()
5108 ctxt->vctxt.userData = ctxt; in htmlInitParserCtxt()
5109 ctxt->vctxt.error = xmlParserValidityError; in htmlInitParserCtxt()
5110 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlInitParserCtxt()
6780 ctxt->vctxt.userData = ctxt; in htmlCtxtReset()
6781 ctxt->vctxt.error = xmlParserValidityError; in htmlCtxtReset()
6782 ctxt->vctxt.warning = xmlParserValidityWarning; in htmlCtxtReset()
6820 ctxt->vctxt.warning = NULL; in htmlCtxtUseOptions()
6826 ctxt->vctxt.error = NULL; in htmlCtxtUseOptions()
Dparser.c686 ctxt->vctxt.error, ctxt->vctxt.userData, in xmlValidityError()
7965 if ((ctxt->validate) && (ctxt->vctxt.error != NULL)) { in xmlParsePEReference()
10065 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseElementStart()
11475 ctxt->valid &= xmlValidateRoot(&ctxt->vctxt, ctxt->myDoc); in xmlParseTryOrFinish()
13112 ctxt->vctxt.error = oldctxt->vctxt.error; in xmlParseExternalEntityPrivate()
13113 ctxt->vctxt.warning = oldctxt->vctxt.warning; in xmlParseExternalEntityPrivate()
13114 ctxt->vctxt.userData = oldctxt->vctxt.userData; in xmlParseExternalEntityPrivate()
13430 oldctxt->valid &= xmlValidateElement(&oldctxt->vctxt, in xmlParseBalancedChunkMemoryInternal()
14853 ctxt->vctxt.userData = ctxt; in xmlCtxtReset()
14854 ctxt->vctxt.error = xmlParserValidityError; in xmlCtxtReset()
[all …]
Drelaxng.c10841 xmlValidCtxt vctxt; in xmlRelaxNGValidateDocument() local
10843 memset(&vctxt, 0, sizeof(xmlValidCtxt)); in xmlRelaxNGValidateDocument()
10844 vctxt.valid = 1; in xmlRelaxNGValidateDocument()
10845 vctxt.error = ctxt->error; in xmlRelaxNGValidateDocument()
10846 vctxt.warning = ctxt->warning; in xmlRelaxNGValidateDocument()
10847 vctxt.userData = ctxt->userData; in xmlRelaxNGValidateDocument()
10849 if (xmlValidateDocumentFinal(&vctxt, doc) != 1) in xmlRelaxNGValidateDocument()
Dvalid.c7034 xmlValidCtxt vctxt; in xmlValidGetValidElements() local
7057 memset(&vctxt, 0, sizeof (xmlValidCtxt)); in xmlValidGetValidElements()
7058 vctxt.error = xmlNoValidityErr; /* this suppresses err/warn output */ in xmlValidGetValidElements()
7109 if (xmlValidateOneElement(&vctxt, parent->doc, parent)) { in xmlValidGetValidElements()
Dtestapi.c35006 xmlSchemaValidCtxtPtr vctxt; /* the schema validation context */ in test_xmlSchemaValidateSetFilename() local
35014 vctxt = gen_xmlSchemaValidCtxtPtr(n_vctxt, 0); in test_xmlSchemaValidateSetFilename()
35017 xmlSchemaValidateSetFilename(vctxt, filename); in test_xmlSchemaValidateSetFilename()
35019 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.h223 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.c902 (void) xmlAddAttributeDecl(&parser->vctxt,svg_info->document->intSubset, in SVGAttributeDeclaration()
907 (void) xmlAddAttributeDecl(&parser->vctxt,svg_info->document->extSubset, in SVGAttributeDeclaration()
933 (void) xmlAddElementDecl(&parser->vctxt,svg_info->document->intSubset, in SVGElementDeclaration()
937 (void) xmlAddElementDecl(&parser->vctxt,svg_info->document->extSubset, in SVGElementDeclaration()
1085 (void) xmlAddNotationDecl(&parser->vctxt,svg_info->document->intSubset, in SVGNotationDeclaration()
1089 (void) xmlAddNotationDecl(&parser->vctxt,svg_info->document->intSubset, in SVGNotationDeclaration()
Dmsl.c409 (void) xmlAddAttributeDecl(&parser->vctxt,msl_info->document->intSubset, in MSLAttributeDeclaration()
414 (void) xmlAddAttributeDecl(&parser->vctxt,msl_info->document->extSubset, in MSLAttributeDeclaration()
440 (void) xmlAddElementDecl(&parser->vctxt,msl_info->document->intSubset, in MSLElementDeclaration()
444 (void) xmlAddElementDecl(&parser->vctxt,msl_info->document->extSubset, in MSLElementDeclaration()
467 (void) xmlAddNotationDecl(&parser->vctxt,msl_info->document->intSubset, in MSLNotationDeclaration()
471 (void) xmlAddNotationDecl(&parser->vctxt,msl_info->document->intSubset, in MSLNotationDeclaration()
/external/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()