Home
last modified time | relevance | path

Searched refs:sax (Results 1 – 25 of 37) sorted by relevance

12

/external/libxml2/
Dlegacy.c202 *((xmlSAXHandlerPtr *) result) = ctxt->sax; in xmlGetFeature()
204 *((internalSubsetSAXFunc *) result) = ctxt->sax->internalSubset; in xmlGetFeature()
206 *((isStandaloneSAXFunc *) result) = ctxt->sax->isStandalone; in xmlGetFeature()
209 ctxt->sax->hasInternalSubset; in xmlGetFeature()
212 ctxt->sax->hasExternalSubset; in xmlGetFeature()
214 *((resolveEntitySAXFunc *) result) = ctxt->sax->resolveEntity; in xmlGetFeature()
216 *((getEntitySAXFunc *) result) = ctxt->sax->getEntity; in xmlGetFeature()
218 *((entityDeclSAXFunc *) result) = ctxt->sax->entityDecl; in xmlGetFeature()
220 *((notationDeclSAXFunc *) result) = ctxt->sax->notationDecl; in xmlGetFeature()
222 *((attributeDeclSAXFunc *) result) = ctxt->sax->attributeDecl; in xmlGetFeature()
[all …]
Dparser.c206 xmlSAXHandlerPtr sax,
519 if ((ctxt != NULL) && (ctxt->sax != NULL) && in xmlWarningMsg()
520 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlWarningMsg()
521 schannel = ctxt->sax->serror; in xmlWarningMsg()
523 (ctxt->sax) ? ctxt->sax->warning : NULL, in xmlWarningMsg()
551 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlValidityError()
552 schannel = ctxt->sax->serror; in xmlValidityError()
968 if ((ctxt->sax) && (ctxt->sax->initialized == XML_SAX2_MAGIC) && in xmlDetectSAX2()
969 ((ctxt->sax->startElementNs != NULL) || in xmlDetectSAX2()
970 (ctxt->sax->endElementNs != NULL))) ctxt->sax2 = 1; in xmlDetectSAX2()
[all …]
DHTMLparser.c1182 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnClose()
1183 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnClose()
1202 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnEnd()
1203 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnEnd()
1225 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose()
1226 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose()
1237 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose()
1238 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose()
1312 if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL)) in htmlCheckImplied()
1313 ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL); in htmlCheckImplied()
[all …]
DDOCBparser.c143 docbCreatePushParserCtxt(docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbCreatePushParserCtxt()
158 return(xmlCreatePushParserCtxt(sax, user_data, chunk, size, filename)); in docbCreatePushParserCtxt()
178 docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbSAXParseDoc()
189 return (xmlSAXParseMemoryWithData(sax, (const char *)cur, in docbSAXParseDoc()
263 docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbSAXParseFile()
274 return (xmlSAXParseFileWithData(sax, filename, 0, userData)); in docbSAXParseFile()
Dxmlreader.c123 xmlSAXHandlerPtr sax; /* the parser SAX callbacks */ member
1067 if ((node->children == NULL) && (ctxt->sax != NULL) && in xmlTextReaderValidateEntity()
1068 (ctxt->sax->getEntity != NULL)) { in xmlTextReaderValidateEntity()
1070 ctxt->sax->getEntity(ctxt, node->name); in xmlTextReaderValidateEntity()
1521 if ((reader->node->children == NULL) && (reader->ctxt->sax != NULL) && in xmlTextReaderRead()
1522 (reader->ctxt->sax->getEntity != NULL)) { in xmlTextReaderRead()
1524 reader->ctxt->sax->getEntity(reader->ctxt, reader->node->name); in xmlTextReaderRead()
2061 ret->sax = (xmlSAXHandler *) xmlMalloc(sizeof(xmlSAXHandler)); in xmlNewTextReader()
2062 if (ret->sax == NULL) { in xmlNewTextReader()
2069 xmlSAXVersion(ret->sax, 2); in xmlNewTextReader()
[all …]
Derror.c461 if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) && in __xmlRaiseError()
462 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in __xmlRaiseError()
463 schannel = ctxt->sax->serror; in __xmlRaiseError()
480 if ((schannel == NULL) && (ctxt != NULL) && (ctxt->sax != NULL) && in __xmlRaiseError()
481 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in __xmlRaiseError()
482 schannel = ctxt->sax->serror; in __xmlRaiseError()
596 … if ((ctxt != NULL) && (channel == NULL) && (xmlStructuredError == NULL) && (ctxt->sax != NULL)) { in __xmlRaiseError()
598 channel = ctxt->sax->warning; in __xmlRaiseError()
600 channel = ctxt->sax->error; in __xmlRaiseError()
Dxmllint.c204 static int sax = 0; variable
269 if ((ctxt != NULL) && (ctxt->sax != NULL)) { in xmllintExternalEntityLoader()
270 warning = ctxt->sax->warning; in xmllintExternalEntityLoader()
271 err = ctxt->sax->error; in xmllintExternalEntityLoader()
272 ctxt->sax->warning = NULL; in xmllintExternalEntityLoader()
273 ctxt->sax->error = NULL; in xmllintExternalEntityLoader()
280 ctxt->sax->warning = warning; in xmllintExternalEntityLoader()
282 ctxt->sax->error = err; in xmllintExternalEntityLoader()
303 ctxt->sax->warning = warning; in xmllintExternalEntityLoader()
305 ctxt->sax->error = err; in xmllintExternalEntityLoader()
[all …]
DSAX2.c61 if ((ctxt->sax != NULL) && (ctxt->sax->error != NULL)) in xmlSAX2ErrMemory()
62 ctxt->sax->error(ctxt->userData, "%s: out of memory\n", msg); in xmlSAX2ErrMemory()
90 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlErrValid()
91 schannel = ctxt->sax->serror; in xmlErrValid()
401 if ((ctxt->sax != NULL) && (ctxt->sax->resolveEntity != NULL)) in xmlSAX2ExternalSubset()
402 input = ctxt->sax->resolveEntity(ctxt->userData, ExternalID, in xmlSAX2ExternalSubset()
668 (ctxt->sax != NULL) && (ctxt->sax->warning != NULL)) in xmlSAX2EntityDecl()
669 ctxt->sax->warning(ctxt->userData, in xmlSAX2EntityDecl()
885 (ctxt->sax != NULL) && (ctxt->sax->warning != NULL)) in xmlSAX2UnparsedEntityDecl()
886 ctxt->sax->warning(ctxt->userData, in xmlSAX2UnparsedEntityDecl()
[all …]
DparserInternals.c1535 if (ctxt->sax == NULL) in xmlInitParserCtxt()
1536 ctxt->sax = (xmlSAXHandler *) xmlMalloc(sizeof(xmlSAXHandler)); in xmlInitParserCtxt()
1537 if (ctxt->sax == NULL) { in xmlInitParserCtxt()
1542 xmlSAXVersion(ctxt->sax, 2); in xmlInitParserCtxt()
1651 ctxt->sax->ignorableWhitespace = xmlSAX2IgnorableWhitespace; in xmlInitParserCtxt()
1705 if ((ctxt->sax != NULL) && in xmlFreeParserCtxt()
1706 (ctxt->sax != (xmlSAXHandlerPtr) &xmlDefaultSAXHandler)) in xmlFreeParserCtxt()
1708 if (ctxt->sax != NULL) in xmlFreeParserCtxt()
1710 xmlFree(ctxt->sax); in xmlFreeParserCtxt()
/external/webkit/WebCore/dom/
DXMLTokenizerLibxml2.cpp507 memcpy(parser->sax, handlers, sizeof(xmlSAXHandler)); in createMemoryParser()
1271 xmlSAXHandler sax; in initializeParserContext() local
1272 memset(&sax, 0, sizeof(sax)); in initializeParserContext()
1274 sax.error = normalErrorHandler; in initializeParserContext()
1275 sax.fatalError = fatalErrorHandler; in initializeParserContext()
1276 sax.characters = charactersHandler; in initializeParserContext()
1277 sax.processingInstruction = processingInstructionHandler; in initializeParserContext()
1278 sax.cdataBlock = cdataBlockHandler; in initializeParserContext()
1279 sax.comment = commentHandler; in initializeParserContext()
1280 sax.warning = warningHandler; in initializeParserContext()
[all …]
/external/jdiff/src/jdiff/
DXMLToAPI.java7 import org.xml.sax.Attributes;
8 import org.xml.sax.SAXException;
9 import org.xml.sax.SAXParseException;
10 import org.xml.sax.XMLReader;
11 import org.xml.sax.InputSource;
12 import org.xml.sax.helpers.*;
52 …parser = org.xml.sax.helpers.XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser… in readFile()
56 parser = org.xml.sax.helpers.XMLReaderFactory.createXMLReader(); in readFile()
72 } catch(org.xml.sax.SAXNotRecognizedException snre) { in readFile()
76 } catch(org.xml.sax.SAXNotSupportedException snse) { in readFile()
[all …]
DComments.java7 import org.xml.sax.Attributes;
8 import org.xml.sax.SAXException;
9 import org.xml.sax.SAXParseException;
10 import org.xml.sax.XMLReader;
11 import org.xml.sax.InputSource;
12 import org.xml.sax.helpers.*;
65 …parser = org.xml.sax.helpers.XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser… in readFile()
69 parser = org.xml.sax.helpers.XMLReaderFactory.createXMLReader(); in readFile()
85 } catch(org.xml.sax.SAXNotRecognizedException snre) { in readFile()
89 } catch(org.xml.sax.SAXNotSupportedException snse) { in readFile()
[all …]
DCommentsHandler.java7 import org.xml.sax.Attributes;
8 import org.xml.sax.SAXException;
9 import org.xml.sax.SAXParseException;
10 import org.xml.sax.XMLReader;
11 import org.xml.sax.helpers.DefaultHandler;
DAPIHandler.java7 import org.xml.sax.Attributes;
8 import org.xml.sax.SAXException;
9 import org.xml.sax.SAXParseException;
10 import org.xml.sax.XMLReader;
11 import org.xml.sax.helpers.DefaultHandler;
/external/libxml2/include/libxml/
Dparser.h185 struct _xmlSAXHandler *sax; /* The SAX handler */ member
871 xmlSAXUserParseFile (xmlSAXHandlerPtr sax,
875 xmlSAXUserParseMemory (xmlSAXHandlerPtr sax,
880 xmlSAXParseDoc (xmlSAXHandlerPtr sax,
884 xmlSAXParseMemory (xmlSAXHandlerPtr sax,
889 xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax,
895 xmlSAXParseFile (xmlSAXHandlerPtr sax,
899 xmlSAXParseFileWithData (xmlSAXHandlerPtr sax,
904 xmlSAXParseEntity (xmlSAXHandlerPtr sax,
912 xmlSAXParseDTD (xmlSAXHandlerPtr sax,
[all …]
DDOCBparser.h53 docbSAXHandlerPtr sax,
61 docbSAXHandlerPtr sax,
73 docbCreatePushParserCtxt(docbSAXHandlerPtr sax,
DHTMLparser.h120 htmlSAXHandlerPtr sax,
128 htmlSAXHandlerPtr sax,
153 htmlCreatePushParserCtxt(htmlSAXHandlerPtr sax,
Dxmlschemas.h191 xmlSAXHandlerPtr sax,
209 xmlSAXHandlerPtr *sax,
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DXMLWriter.java25 import org.xml.sax.Attributes;
26 import org.xml.sax.SAXException;
27 import org.xml.sax.XMLReader;
28 import org.xml.sax.helpers.AttributesImpl;
29 import org.xml.sax.helpers.NamespaceSupport;
30 import org.xml.sax.helpers.XMLFilterImpl;
31 import org.xml.sax.ext.LexicalHandler;
DCommandLine.java23 import org.xml.sax.*;
24 import org.xml.sax.helpers.DefaultHandler;
25 import org.xml.sax.ext.LexicalHandler;
DPYXWriter.java21 import org.xml.sax.*;
22 import org.xml.sax.ext.LexicalHandler;
DScanner.java20 import org.xml.sax.SAXException;
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAXParserImpl.java20 import org.xml.sax.*;
62 public org.xml.sax.Parser getParser() in getParser()
DSAX1ParserAdapter.java19 import org.xml.sax.*;
29 implements org.xml.sax.Parser
/external/junit/src/junit/runner/
Dexcluded.properties11 excluded.7=org.xml.sax.*

12