/third_party/json/include/nlohmann/detail/input/ |
D | binary_reader.hpp | 110 sax = sax_; in sax_parse() 151 … return sax->parse_error(chars_read, get_token_string(), parse_error::create(110, chars_read, in sax_parse() 173 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in parse_bson_internal() 183 return sax->end_object(); in parse_bson_internal() 228 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_string() 250 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_binary() 280 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal() 287 …td::int32_t, true>(input_format_t::bson, len) && get_bson_string(len, value) && sax->string(value); in parse_bson_element_internal() 304 …td::int32_t, true>(input_format_t::bson, len) && get_bson_binary(len, value) && sax->binary(value); in parse_bson_element_internal() 309 return sax->boolean(get() != 0); in parse_bson_element_internal() [all …]
|
D | parser.hpp | 161 bool sax_parse(SAX* sax, const bool strict = true) in sax_parse() argument 164 const bool result = sax_parse_internal(sax); in sax_parse() 169 return sax->parse_error(m_lexer.get_position(), in sax_parse() 180 bool sax_parse_internal(SAX* sax) in sax_parse_internal() argument 197 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in sax_parse_internal() 205 if (JSON_HEDLEY_UNLIKELY(!sax->end_object())) in sax_parse_internal() 215 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 219 if (JSON_HEDLEY_UNLIKELY(!sax->key(m_lexer.get_string()))) in sax_parse_internal() 227 return sax->parse_error(m_lexer.get_position(), in sax_parse_internal() 242 if (JSON_HEDLEY_UNLIKELY(!sax->start_array(static_cast<std::size_t>(-1)))) in sax_parse_internal() [all …]
|
/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 …]
|
D | xml.dom.pulldom.rst | 35 from xml.sax import make_parser 36 from xml.sax.handler import feature_external_ges 80 Subclass of :class:`xml.sax.handler.ContentHandler`. 85 Subclass of :class:`xml.sax.handler.ContentHandler`. 92 :class:`~xml.sax.xmlreader.XMLReader` object. This function will change the
|
D | xml.rst | 30 The documentation for the :mod:`xml.dom` and :mod:`xml.sax` packages are the 46 * :mod:`xml.sax`: SAX2 base classes and convenience functions 64 kind sax etree minidom pulldom …
|
/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/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())
|
/third_party/json/docs/mkdocs/docs/api/basic_json/ |
D | sax_parse.md | 7 SAX* sax, 15 SAX* sax, 54 `sax` (in) 83 consumer `sax` has a super-linear complexity.
|
/third_party/json/tests/src/ |
D | unit-disabled_exceptions.cpp | 44 sax_no_exception sax(j); 46 CHECK (!json::sax_parse("xyz", &sax));
|
/third_party/python/Lib/xml/dom/ |
D | pulldom.py | 1 import xml.sax 2 import xml.sax.handler 13 class PullDOM(xml.sax.ContentHandler): 216 self.parser.setFeature(xml.sax.handler.feature_namespaces, 1) 339 parser = xml.sax.make_parser() 348 parser = xml.sax.make_parser()
|
/third_party/icu/tools/currency/src/com/ibm/icu/dev/tool/currency/ |
D | CurrencyDataParser.java | 21 import org.xml.sax.Attributes; 22 import org.xml.sax.SAXException; 23 import org.xml.sax.helpers.DefaultHandler;
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 9184 sax = sax_; in sax_parse() 9225 … return sax->parse_error(chars_read, get_token_string(), parse_error::create(110, chars_read, in sax_parse() 9247 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in parse_bson_internal() 9257 return sax->end_object(); in parse_bson_internal() 9302 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_string() 9324 return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, in get_bson_binary() 9354 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal() 9361 …td::int32_t, true>(input_format_t::bson, len) && get_bson_string(len, value) && sax->string(value); in parse_bson_element_internal() 9378 …td::int32_t, true>(input_format_t::bson, len) && get_bson_binary(len, value) && sax->binary(value); in parse_bson_element_internal() 9383 return sax->boolean(get() != 0); in parse_bson_element_internal() [all …]
|
/third_party/parse5/packages/parse5-sax-parser/ |
D | README.md | 8 <h1>parse5-sax-parser</h1> 14 <code>npm install --save parse5-sax-parser</code>
|
/third_party/parse5/docs/ |
D | list-of-packages.md | 7 - [parse5-sax-parser](https://github.com/inikulin/parse5/tree/master/packages/parse5-sax-parser) - …
|
/third_party/python/Lib/test/ |
D | test_pulldom.py | 3 import xml.sax 5 from xml.sax.xmlreader import AttributesImpl 6 from xml.sax.handler import feature_external_ges 299 self.parser.setFeature(xml.sax.handler.feature_namespaces, 1) 311 sd = SAX2DOMTestHelper(fin, xml.sax.make_parser(),
|
D | test_sax.py | 4 from xml.sax import make_parser, ContentHandler, \ 13 from xml.sax.saxutils import XMLGenerator, escape, unescape, quoteattr, \ 15 from xml.sax.expatreader import create_parser 16 from xml.sax.handler import (feature_namespaces, feature_external_ges, 18 from xml.sax.xmlreader import InputSource, AttributesImpl, AttributesNSImpl 130 from xml.sax import parse 219 from xml.sax import parseString 252 from xml.sax import make_parser 254 from xml.sax import make_parser 256 from xml.sax import make_parser [all …]
|
/third_party/json/tests/abi/include/nlohmann/ |
D | json_v3_10_5.hpp | 8272 sax = sax_; in sax_parse() 8312 return sax->parse_error(chars_read, get_token_string(), in sax_parse() 8334 if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1)))) in parse_bson_internal() 8344 return sax->end_object(); in parse_bson_internal() 8389 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_string() 8410 …return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_mes… in get_bson_binary() 8439 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal() 8446 …td::int32_t, true>(input_format_t::bson, len) && get_bson_string(len, value) && sax->string(value); in parse_bson_element_internal() 8463 …td::int32_t, true>(input_format_t::bson, len) && get_bson_binary(len, value) && sax->binary(value); in parse_bson_element_internal() 8468 return sax->boolean(get() != 0); in parse_bson_element_internal() [all …]
|
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/coverage/ |
D | JacocoReportCheck.java | 31 import org.xml.sax.EntityResolver; 32 import org.xml.sax.InputSource; 33 import org.xml.sax.SAXException;
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | xcode_ninja.py | 19 import xml.sax.saxutils 39 name = xml.sax.saxutils.quoteattr("group:" + name)
|
/third_party/json/docs/mkdocs/docs/features/parsing/ |
D | parse_exceptions.md | 101 sax_no_exception sax(result); 103 bool parse_result = json::sax_parse(myinput, &sax);
|