/third_party/glib/gio/ |
D | gwin32packageparser.c | 61 #define sax_WindowsGetStringRawBuffer sax->WindowsGetStringRawBuffer 62 #define sax_CreateXmlReader sax->CreateXmlReader 164 static gboolean parse_manifest_file (struct _xml_sax_state *sax); 165 static gboolean xml_parser_iteration (struct _xml_sax_state *sax, 167 static gboolean xml_parser_get_current_state (struct _xml_sax_state *sax, 191 struct _xml_sax_state *sax = &sax_stack; in g_win32_package_parser_enum_packages() local 396 memset (sax, 0, sizeof (*sax)); in g_win32_package_parser_enum_packages() 397 sax->callback = callback; in g_win32_package_parser_enum_packages() 398 sax->user_data = user_data; in g_win32_package_parser_enum_packages() 399 sax->manifest_filename = manifest_filename; in g_win32_package_parser_enum_packages() [all …]
|
/third_party/json/include/nlohmann/detail/input/ |
D | binary_reader.hpp | 99 sax = sax_; in sax_parse() 138 return sax->parse_error(chars_read, get_token_string(), in sax_parse() 160 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(std::size_t(-1)))) in parse_bson_internal() 170 return sax->end_object(); in parse_bson_internal() 215 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_string() 236 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_binary() 265 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal() 272 …td::int32_t, true>(input_format_t::bson, len) && get_bson_string(len, value) && sax->string(value); in parse_bson_element_internal() 289 …td::int32_t, true>(input_format_t::bson, len) && get_bson_binary(len, value) && sax->binary(value); in parse_bson_element_internal() 294 return sax->boolean(get() != 0); in parse_bson_element_internal() [all …]
|
D | parser.hpp | 154 bool sax_parse(SAX* sax, const bool strict = true) in sax_parse() argument 157 const bool result = sax_parse_internal(sax); in sax_parse() 162 return sax->parse_error(m_lexer.get_position(), in sax_parse() 174 bool sax_parse_internal(SAX* sax) in sax_parse_internal() argument 191 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(std::size_t(-1)))) in sax_parse_internal() 199 if (JSON_HEDLEY_UNLIKELY(!sax->end_object())) in sax_parse_internal() 209 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 214 if (JSON_HEDLEY_UNLIKELY(!sax->key(m_lexer.get_string()))) in sax_parse_internal() 222 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 238 if (JSON_HEDLEY_UNLIKELY(!sax->start_array(std::size_t(-1)))) in sax_parse_internal() [all …]
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | legacy.c | 231 *((xmlSAXHandlerPtr *) result) = ctxt->sax; in xmlGetFeature() 233 *((internalSubsetSAXFunc *) result) = ctxt->sax->internalSubset; in xmlGetFeature() 235 *((isStandaloneSAXFunc *) result) = ctxt->sax->isStandalone; in xmlGetFeature() 238 ctxt->sax->hasInternalSubset; in xmlGetFeature() 241 ctxt->sax->hasExternalSubset; in xmlGetFeature() 243 *((resolveEntitySAXFunc *) result) = ctxt->sax->resolveEntity; in xmlGetFeature() 245 *((getEntitySAXFunc *) result) = ctxt->sax->getEntity; in xmlGetFeature() 247 *((entityDeclSAXFunc *) result) = ctxt->sax->entityDecl; in xmlGetFeature() 249 *((notationDeclSAXFunc *) result) = ctxt->sax->notationDecl; in xmlGetFeature() 251 *((attributeDeclSAXFunc *) result) = ctxt->sax->attributeDecl; in xmlGetFeature() [all …]
|
D | HTMLparser.c | 1392 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnClose() 1393 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnClose() 1412 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnEnd() 1413 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnEnd() 1435 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose() 1436 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose() 1447 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose() 1448 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose() 1526 if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL)) in htmlCheckImplied() 1527 ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL); in htmlCheckImplied() [all …]
|
D | parser.c | 308 xmlSAXHandlerPtr sax, 631 if ((ctxt != NULL) && (ctxt->sax != NULL) && in xmlWarningMsg() 632 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlWarningMsg() 633 schannel = ctxt->sax->serror; in xmlWarningMsg() 636 (ctxt->sax) ? ctxt->sax->warning : NULL, in xmlWarningMsg() 671 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlValidityError() 672 schannel = ctxt->sax->serror; in xmlValidityError() 1098 if ((ctxt->sax) && (ctxt->sax->initialized == XML_SAX2_MAGIC) && in xmlDetectSAX2() 1099 ((ctxt->sax->startElementNs != NULL) || in xmlDetectSAX2() 1100 (ctxt->sax->endElementNs != NULL))) ctxt->sax2 = 1; in xmlDetectSAX2() [all …]
|
D | DOCBparser.c | 172 docbCreatePushParserCtxt(docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbCreatePushParserCtxt() 187 return(xmlCreatePushParserCtxt(sax, user_data, chunk, size, filename)); in docbCreatePushParserCtxt() 207 docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbSAXParseDoc() 218 return (xmlSAXParseMemoryWithData(sax, (const char *)cur, in docbSAXParseDoc() 292 docbSAXHandlerPtr sax ATTRIBUTE_UNUSED, in docbSAXParseFile() 303 return (xmlSAXParseFileWithData(sax, filename, 0, userData)); in docbSAXParseFile()
|
D | parser.in.h | 214 struct _xmlSAXHandler *sax; /* The SAX handler */ member 911 xmlSAXUserParseFile (xmlSAXHandlerPtr sax, 915 xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, 920 xmlSAXParseDoc (xmlSAXHandlerPtr sax, 924 xmlSAXParseMemory (xmlSAXHandlerPtr sax, 929 xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax, 935 xmlSAXParseFile (xmlSAXHandlerPtr sax, 939 xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, 944 xmlSAXParseEntity (xmlSAXHandlerPtr sax, 952 xmlSAXParseDTD (xmlSAXHandlerPtr sax, [all …]
|
D | DOCBparser.in.h | 82 docbSAXHandlerPtr sax, 90 docbSAXHandlerPtr sax, 102 docbCreatePushParserCtxt(docbSAXHandlerPtr sax,
|
/third_party/libxml2/ |
D | legacy.c | 202 *((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 …]
|
D | HTMLparser.c | 1539 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnClose() 1540 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnClose() 1559 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoCloseOnEnd() 1560 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoCloseOnEnd() 1582 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose() 1583 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose() 1594 if ((ctxt->sax != NULL) && (ctxt->sax->endElement != NULL)) in htmlAutoClose() 1595 ctxt->sax->endElement(ctxt->userData, ctxt->name); in htmlAutoClose() 1673 if ((ctxt->sax != NULL) && (ctxt->sax->startElement != NULL)) in htmlCheckImplied() 1674 ctxt->sax->startElement(ctxt->userData, BAD_CAST"html", NULL); in htmlCheckImplied() [all …]
|
D | parser.c | 320 xmlSAXHandlerPtr sax, 643 if ((ctxt != NULL) && (ctxt->sax != NULL) && in xmlWarningMsg() 644 (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlWarningMsg() 645 schannel = ctxt->sax->serror; in xmlWarningMsg() 648 (ctxt->sax) ? ctxt->sax->warning : NULL, in xmlWarningMsg() 683 if ((ctxt->sax != NULL) && (ctxt->sax->initialized == XML_SAX2_MAGIC)) in xmlValidityError() 684 schannel = ctxt->sax->serror; in xmlValidityError() 1108 xmlSAXHandlerPtr sax; in xmlDetectSAX2() local 1110 sax = ctxt->sax; in xmlDetectSAX2() 1112 if ((sax) && (sax->initialized == XML_SAX2_MAGIC) && in xmlDetectSAX2() [all …]
|
D | DOCBparser.c | 143 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()
|
/third_party/python/Doc/library/ |
D | xml.sax.rst | 1 :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 86 :class:`~xml.sax.xmlreader.InputSource`, :class:`~xml.sax.xmlreader.Locator`, 87 :class:`~xml.sax.xmlreader.Attributes`, :class:`~xml.sax.xmlreader.AttributesNS`, [all …]
|
D | markup.rst | 23 xml.sax.rst 24 xml.sax.handler.rst 25 xml.sax.utils.rst 26 xml.sax.reader.rst
|
D | xml.sax.utils.rst | 1 :mod:`xml.sax.saxutils` --- SAX Utilities 4 .. module:: xml.sax.saxutils 10 **Source code:** :source:`Lib/xml/sax/saxutils.py` 14 The module :mod:`xml.sax.saxutils` contains a number of classes and functions 59 This class implements the :class:`~xml.sax.handler.ContentHandler` interface 76 :class:`~xml.sax.xmlreader.XMLReader` and the client 86 fully resolved :class:`~xml.sax.xmlreader.InputSource` object ready for 88 an :class:`~xml.sax.xmlreader.InputSource` object; parsers will use this
|
D | xml.sax.handler.rst | 1 :mod:`xml.sax.handler` --- Base classes for SAX handlers 4 .. module:: xml.sax.handler 10 **Source code:** :source:`Lib/xml/sax/handler.py` 19 module :mod:`xml.sax.handler`, so that all methods get default implementations. 56 In addition to these classes, :mod:`xml.sax.handler` provides symbolic constants 62 | value: ``"http://xml.org/sax/features/namespaces"`` 71 | value: ``"http://xml.org/sax/features/namespace-prefixes"`` 81 | value: ``"http://xml.org/sax/features/string-interning"`` 90 | value: ``"http://xml.org/sax/features/validation"`` 99 | value: ``"http://xml.org/sax/features/external-general-entities"`` [all …]
|
D | xml.sax.reader.rst | 1 :mod:`xml.sax.xmlreader` --- Interface for XML parsers 4 .. module:: xml.sax.xmlreader 10 **Source code:** :source:`Lib/xml/sax/xmlreader.py` 16 function is invoked by :func:`xml.sax.make_parser` with no arguments to create 119 Return the current :class:`~xml.sax.handler.ContentHandler`. 124 Set the current :class:`~xml.sax.handler.ContentHandler`. If no 125 :class:`~xml.sax.handler.ContentHandler` is set, content events will be 131 Return the current :class:`~xml.sax.handler.DTDHandler`. 136 Set the current :class:`~xml.sax.handler.DTDHandler`. If no 137 :class:`~xml.sax.handler.DTDHandler` is set, DTD [all …]
|
/third_party/parse5/packages/parse5-html-rewriting-stream/docs/ |
D | index.md | 84 **Note:** [sourceCodeLocationInfo](../../parse5-sax-parser/docs/sax-parser-options.md#locationinfo)… 98 ▸ **emitStartTag**(startTag: *[StartTagToken](../../parse5-sax-parser/docs/tokens/start-tag.md)*): … 109 ▸ **emitEndTag**(endTag: *[EndTagToken](../../parse5-sax-parser/docs/tokens/end-tag.md)*): `void` 120 ▸ **emitText**(text: *[TextToken](../../parse5-sax-parser/docs/tokens/text.md)*): `void` 131 ▸ **emitComment**(comment: *[CommentToken](../../parse5-sax-parser/docs/tokens/comment.md)*): `void` 142 ▸ **emitDoctype**(doctype: *[DoctypeToken](../../parse5-sax-parser/docs/tokens/doctype.md)*): `void` 183 | listener | function (startTag: *[StartTagToken](../../parse5-sax-parser/docs/tokens/start-tag.md)… 201 | listener | function (endTag: *[EndTagToken](../../parse5-sax-parser/docs/tokens/end-tag.md)*, raw… 219 | listener | function (comment: *[CommentToken](../../parse5-sax-parser/docs/tokens/comment.md)*, r… 237 | listener | function (text: *[TextToken](../../parse5-sax-parser/docs/tokens/text.md)*, rawHtml: *… [all …]
|
/third_party/libxml2/include/libxml/ |
D | parser.h | 187 struct _xmlSAXHandler *sax; /* The SAX handler */ member 884 xmlSAXUserParseFile (xmlSAXHandlerPtr sax, 888 xmlSAXUserParseMemory (xmlSAXHandlerPtr sax, 893 xmlSAXParseDoc (xmlSAXHandlerPtr sax, 897 xmlSAXParseMemory (xmlSAXHandlerPtr sax, 902 xmlSAXParseMemoryWithData (xmlSAXHandlerPtr sax, 908 xmlSAXParseFile (xmlSAXHandlerPtr sax, 912 xmlSAXParseFileWithData (xmlSAXHandlerPtr sax, 917 xmlSAXParseEntity (xmlSAXHandlerPtr sax, 925 xmlSAXParseDTD (xmlSAXHandlerPtr sax, [all …]
|
D | DOCBparser.h | 53 docbSAXHandlerPtr sax, 61 docbSAXHandlerPtr sax, 73 docbCreatePushParserCtxt(docbSAXHandlerPtr sax,
|
/third_party/vk-gl-cts/scripts/log/ |
D | bottleneck_report.py | 26 import xml.sax 27 import xml.sax.handler 47 class XMLLogHandlerTests(xml.sax.handler.ContentHandler) : 76 class XMLLogHandlerGroups(xml.sax.handler.ContentHandler) : 129 class LogErrorHandler(xml.sax.handler.ErrorHandler) : 161 xml.sax.parseString(result.log, handler, errHandler) 177 xml.sax.parseString(lines, handlerGroups, errHandler)
|
D | log_to_xml.py | 27 import xml.sax 28 import xml.sax.handler 34 class BuildXMLLogHandler(xml.sax.handler.ContentHandler): 85 class LogErrorHandler(xml.sax.handler.ErrorHandler): 115 xml.sax.parseString(result.log, handler, errHandler)
|
/third_party/typescript/tests/baselines/reference/user/ |
D | soap.log | 9 …ould not find a declaration file for module 'sax'. '../../../tests/cases/user/soap/node_modules/sa… 10 …Try `npm i --save-dev @types/sax` if it exists or add a new declaration (.d.ts) file containing `d…
|
/third_party/python/Lib/xml/sax/ |
D | expatreader.py | 8 from xml.sax._exceptions import * 9 from xml.sax.handler import feature_validation, feature_namespaces 10 from xml.sax.handler import feature_namespace_prefixes 11 from xml.sax.handler import feature_external_ges, feature_external_pes 12 from xml.sax.handler import feature_string_interning 13 from xml.sax.handler import property_xml_string, property_interning_dict 28 from xml.sax import xmlreader, saxutils, handler 442 import xml.sax.saxutils 444 p.setContentHandler(xml.sax.saxutils.XMLGenerator()) 445 p.setErrorHandler(xml.sax.ErrorHandler())
|