Home
last modified time | relevance | path

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

12345678910>>...13

/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 …]
DHTMLparser.c1363 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnClose()
1364 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnClose()
1383 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnEnd()
1384 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnEnd()
1406 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose()
1407 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose()
1418 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose()
1419 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose()
1497 if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL)) in htmlCheckImplied()
1498 ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL); in htmlCheckImplied()
[all …]
Dparser.c279 xmlSAXHandlerPtr sax,
602 if ((ctxt != NULL) && (ctxt->sax != NULL) && in xmlWarningMsg()
603 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlWarningMsg()
604 schannel = ctxt->sax->serror; in xmlWarningMsg()
607 (ctxt->sax) ? ctxt->sax->warning : NULL, in xmlWarningMsg()
642 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlValidityError()
643 schannel = ctxt->sax->serror; in xmlValidityError()
1069 if ((ctxt->sax) && (ctxt->sax->initialized == XML_SAX2_MAGIC) && in xmlDetectSAX2()
1070 ((ctxt->sax->startElementNs != NULL) || in xmlDetectSAX2()
1071 (ctxt->sax->endElementNs != NULL))) ctxt->sax2 = 1; in xmlDetectSAX2()
[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()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMBuilder.java36 import org.xml.sax.Attributes;
37 import org.xml.sax.ContentHandler;
38 import org.xml.sax.Locator;
39 import org.xml.sax.ext.LexicalHandler;
175 protected void append(Node newNode) throws org.xml.sax.SAXException in append()
207 throw new org.xml.sax.SAXException( in append()
220 throw new org.xml.sax.SAXException( in append()
274 public void startDocument() throws org.xml.sax.SAXException in startDocument()
289 public void endDocument() throws org.xml.sax.SAXException in endDocument()
320 throws org.xml.sax.SAXException in startElement()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTrAXFilter.java33 import org.xml.sax.ContentHandler;
34 import org.xml.sax.DTDHandler;
35 import org.xml.sax.EntityResolver;
36 import org.xml.sax.InputSource;
37 import org.xml.sax.XMLReader;
38 import org.xml.sax.helpers.XMLFilterImpl;
39 import org.xml.sax.helpers.XMLReaderFactory;
109 throws org.xml.sax.SAXException, IOException in parse()
125 catch (org.xml.sax.SAXException se) {} in parse()
133 throw new org.xml.sax.SAXException( ex ); in parse()
[all …]
DTransformerIdentityImpl.java40 import javax.xml.transform.sax.SAXResult;
41 import javax.xml.transform.sax.SAXSource;
42 import javax.xml.transform.sax.TransformerHandler;
59 import org.xml.sax.Attributes;
60 import org.xml.sax.ContentHandler;
61 import org.xml.sax.DTDHandler;
62 import org.xml.sax.InputSource;
63 import org.xml.sax.Locator;
64 import org.xml.sax.SAXException;
65 import org.xml.sax.XMLReader;
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DIncrementalSAXSource_Filter.java30 import org.xml.sax.Attributes;
31 import org.xml.sax.ContentHandler;
32 import org.xml.sax.DTDHandler;
33 import org.xml.sax.ErrorHandler;
34 import org.xml.sax.InputSource;
35 import org.xml.sax.Locator;
36 import org.xml.sax.SAXException;
37 import org.xml.sax.SAXNotRecognizedException;
38 import org.xml.sax.SAXNotSupportedException;
39 import org.xml.sax.SAXParseException;
[all …]
DDTMDocumentImpl.java34 import org.xml.sax.Attributes;
35 import org.xml.sax.ContentHandler;
36 import org.xml.sax.Locator;
37 import org.xml.sax.ext.LexicalHandler;
64 implements DTM, org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler
321 public org.xml.sax.ContentHandler getContentHandler() in getContentHandler()
353 public org.xml.sax.EntityResolver getEntityResolver() in getEntityResolver()
364 public org.xml.sax.DTDHandler getDTDHandler() in getDTDHandler()
375 public org.xml.sax.ErrorHandler getErrorHandler() in getErrorHandler()
386 public org.xml.sax.ext.DeclHandler getDeclHandler() in getDeclHandler()
[all …]
DIncrementalSAXSource.java24 import org.xml.sax.ContentHandler;
25 import org.xml.sax.InputSource;
26 import org.xml.sax.SAXException;
49 public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler); in setLexicalHandler()
53 public void setDTDHandler(org.xml.sax.DTDHandler handler); in setDTDHandler()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToTextStream.java27 import org.xml.sax.Attributes;
28 import org.xml.sax.SAXException;
63 protected void startDocumentInternal() throws org.xml.sax.SAXException in startDocumentInternal()
86 public void endDocument() throws org.xml.sax.SAXException in endDocument()
128 throws org.xml.sax.SAXException in startElement()
164 throws org.xml.sax.SAXException in endElement()
196 throws org.xml.sax.SAXException in characters()
243 throws org.xml.sax.SAXException in charactersRaw()
275 throws IOException, org.xml.sax.SAXException in writeNormalizedChars()
378 throws org.xml.sax.SAXException in cdata()
[all …]
DExtendedContentHandler.java25 import org.xml.sax.SAXException;
47 public interface ExtendedContentHandler extends org.xml.sax.ContentHandler
72 public void addAttributes(org.xml.sax.Attributes atts) in addAttributes()
73 throws org.xml.sax.SAXException; in addAttributes()
97 public void characters(org.w3c.dom.Node node) throws org.xml.sax.SAXException; in characters()
126 throws org.xml.sax.SAXException; in startElement()
DSerializationHandler.java28 import org.xml.sax.ContentHandler;
29 import org.xml.sax.ErrorHandler;
30 import org.xml.sax.SAXException;
31 import org.xml.sax.ext.DeclHandler;
49 org.xml.sax.DTDHandler,
DToTextSAXHandler.java29 import org.xml.sax.Attributes;
30 import org.xml.sax.ContentHandler;
31 import org.xml.sax.Locator;
32 import org.xml.sax.SAXException;
33 import org.xml.sax.ext.LexicalHandler;
81 throws org.xml.sax.SAXException in comment()
87 public void comment(String data) throws org.xml.sax.SAXException in comment()
399 throws org.xml.sax.SAXException in startPrefixMapping()
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DStylesheetHandler.java31 import javax.xml.transform.sax.TemplatesHandler;
53 import org.xml.sax.Attributes;
54 import org.xml.sax.InputSource;
55 import org.xml.sax.Locator;
56 import org.xml.sax.helpers.DefaultHandler;
57 import org.xml.sax.helpers.NamespaceSupport;
308 throws org.xml.sax.SAXException in resolveEntity()
367 throws org.xml.sax.SAXException in getProcessorFor()
429 public void startDocument() throws org.xml.sax.SAXException in startDocument()
463 public void endDocument() throws org.xml.sax.SAXException in endDocument()
[all …]
DXSLTElementProcessor.java33 import org.xml.sax.Attributes;
34 import org.xml.sax.InputSource;
35 import org.xml.sax.helpers.AttributesImpl;
93 throws org.xml.sax.SAXException in resolveEntity()
142 public void startNonText(StylesheetHandler handler) throws org.xml.sax.SAXException in startNonText()
159 throws org.xml.sax.SAXException in startElement()
178 throws org.xml.sax.SAXException in endElement()
199 throws org.xml.sax.SAXException in characters()
217 throws org.xml.sax.SAXException in ignorableWhitespace()
234 throws org.xml.sax.SAXException in processingInstruction()
[all …]
DXSLTAttributeDef.java515 throws org.xml.sax.SAXException in processAVT()
526 throw new org.xml.sax.SAXException(te); in processAVT()
546 throws org.xml.sax.SAXException in processCDATA()
556 throw new org.xml.sax.SAXException(te); in processCDATA()
579 throws org.xml.sax.SAXException in processCHAR()
595 throw new org.xml.sax.SAXException(te); in processCHAR()
624 throws org.xml.sax.SAXException in processENUM()
638 throw new org.xml.sax.SAXException(te); in processENUM()
674 throws org.xml.sax.SAXException in processENUM_OR_PQNAME()
688 throw new org.xml.sax.SAXException(te); in processENUM_OR_PQNAME()
[all …]
DProcessorInclude.java30 import javax.xml.transform.sax.SAXSource;
40 import org.xml.sax.Attributes;
41 import org.xml.sax.InputSource;
42 import org.xml.sax.XMLReader;
43 import org.xml.sax.helpers.XMLReaderFactory;
125 throws org.xml.sax.SAXException in startElement()
141 throw new org.xml.sax.SAXException( in startElement()
191 throws org.xml.sax.SAXException in parse()
237 catch(org.xml.sax.SAXException se) in parse()
282 catch (org.xml.sax.SAXException se) {} in parse()
[all …]
DTransformerFactoryImpl.java39 import javax.xml.transform.sax.SAXResult;
40 import javax.xml.transform.sax.SAXSource;
41 import javax.xml.transform.sax.SAXTransformerFactory;
42 import javax.xml.transform.sax.TemplatesHandler;
43 import javax.xml.transform.sax.TransformerHandler;
63 import org.xml.sax.InputSource;
64 import org.xml.sax.XMLFilter;
65 import org.xml.sax.XMLReader;
66 import org.xml.sax.helpers.XMLReaderFactory;
123 catch (org.xml.sax.SAXException se) in processFromNode()
[all …]
/external/python/cpython3/Doc/library/
Dxml.sax.rst1 :mod:`xml.sax` --- Support for SAX2 parsers
4 .. module:: xml.sax
11 **Source code:** :source:`Lib/xml/sax/__init__.py`
15 The :mod:`xml.sax` package provides a number of modules which implement the
23 The :mod:`xml.sax` module is not secure against maliciously
33 :meth:`~xml.sax.xmlreader.XMLReader.setFeature` on the parser object
34 and argument :data:`~xml.sax.handler.feature_external_ges`.
41 Create and return a SAX :class:`~xml.sax.xmlreader.XMLReader` object. The
83 :class:`~xml.sax.xmlreader.InputSource`, :class:`~xml.sax.xmlreader.Locator`,
84 :class:`~xml.sax.xmlreader.Attributes`, :class:`~xml.sax.xmlreader.AttributesNS`,
[all …]
/external/python/cpython2/Doc/library/
Dxml.sax.rst2 :mod:`xml.sax` --- Support for SAX2 parsers
5 .. module:: xml.sax
14 The :mod:`xml.sax` package provides a number of modules which implement the
22 The :mod:`xml.sax` module is not secure against maliciously
32 Create and return a SAX :class:`~xml.sax.xmlreader.XMLReader` object. The
70 :class:`~xml.sax.xmlreader.InputSource`, :class:`~xml.sax.xmlreader.Locator`,
71 :class:`~xml.sax.xmlreader.Attributes`, :class:`~xml.sax.xmlreader.AttributesNS`,
72 and :class:`~xml.sax.xmlreader.XMLReader` interfaces are defined in the
73 module :mod:`xml.sax.xmlreader`. The handler interfaces are defined in
74 :mod:`xml.sax.handler`. For convenience,
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DDTM.java820 int nodeHandle, org.xml.sax.ContentHandler ch, boolean normalize) in dispatchCharactersEvents()
821 throws org.xml.sax.SAXException; in dispatchCharactersEvents()
832 public void dispatchToEvents(int nodeHandle, org.xml.sax.ContentHandler ch) in dispatchToEvents()
833 throws org.xml.sax.SAXException; in dispatchToEvents()
866 public org.xml.sax.ContentHandler getContentHandler(); in getContentHandler()
875 public org.xml.sax.ext.LexicalHandler getLexicalHandler(); in getLexicalHandler()
882 public org.xml.sax.EntityResolver getEntityResolver(); in getEntityResolver()
889 public org.xml.sax.DTDHandler getDTDHandler(); in getDTDHandler()
896 public org.xml.sax.ErrorHandler getErrorHandler(); in getErrorHandler()
903 public org.xml.sax.ext.DeclHandler getDeclHandler(); in getDeclHandler()
/external/strace/tests/
Dnet-sockaddr.c331 struct full_sockaddr_ax25 *sax = sax_void; in check_ax25() local
334 fill_memory(sax, size); in check_ax25()
335 sax->fsa_ax25.sax25_family = AF_AX25; in check_ax25()
341 memcpy(sax, &ax25, sizeof(ax25)); in check_ax25()
347 sax->fsa_ax25.sax25_ndigis = 0; in check_ax25()
353 sax->fsa_ax25.sax25_ndigis = 8; in check_ax25()
366 sax->fsa_digipeater[2].ax25_call[6] = 0x4; in check_ax25()
380 memcpy(sax->fsa_digipeater, aux_addrs, sizeof(aux_addrs)); in check_ax25()
381 sax->fsa_digipeater[2].ax25_call[6] = 0xa5; in check_ax25()
382 sax->fsa_digipeater[4].ax25_call[5] = 0x40; in check_ax25()
[all …]
/external/strace/tests-mx32/
Dnet-sockaddr.c331 struct full_sockaddr_ax25 *sax = sax_void; in check_ax25() local
334 fill_memory(sax, size); in check_ax25()
335 sax->fsa_ax25.sax25_family = AF_AX25; in check_ax25()
341 memcpy(sax, &ax25, sizeof(ax25)); in check_ax25()
347 sax->fsa_ax25.sax25_ndigis = 0; in check_ax25()
353 sax->fsa_ax25.sax25_ndigis = 8; in check_ax25()
366 sax->fsa_digipeater[2].ax25_call[6] = 0x4; in check_ax25()
380 memcpy(sax->fsa_digipeater, aux_addrs, sizeof(aux_addrs)); in check_ax25()
381 sax->fsa_digipeater[2].ax25_call[6] = 0xa5; in check_ax25()
382 sax->fsa_digipeater[4].ax25_call[5] = 0x40; in check_ax25()
[all …]
/external/strace/tests-m32/
Dnet-sockaddr.c331 struct full_sockaddr_ax25 *sax = sax_void; in check_ax25() local
334 fill_memory(sax, size); in check_ax25()
335 sax->fsa_ax25.sax25_family = AF_AX25; in check_ax25()
341 memcpy(sax, &ax25, sizeof(ax25)); in check_ax25()
347 sax->fsa_ax25.sax25_ndigis = 0; in check_ax25()
353 sax->fsa_ax25.sax25_ndigis = 8; in check_ax25()
366 sax->fsa_digipeater[2].ax25_call[6] = 0x4; in check_ax25()
380 memcpy(sax->fsa_digipeater, aux_addrs, sizeof(aux_addrs)); in check_ax25()
381 sax->fsa_digipeater[2].ax25_call[6] = 0xa5; in check_ax25()
382 sax->fsa_digipeater[4].ax25_call[5] = 0x40; in check_ax25()
[all …]

12345678910>>...13