Home
last modified time | relevance | path

Searched full:parsers (Results 1 – 25 of 1298) sorted by relevance

12345678910>>...52

/external/llvm/utils/lit/tests/unit/
DTestRunner.py40 inputs = [os.path.join(test_path, 'Inputs/testrunner-custom-parsers/')]
81 parsers = self.make_parsers()
82 self.parse_test(parsers)
83 tag_parser = self.get_parser(parsers, 'MY_TAG.')
84 dne_tag_parser = self.get_parser(parsers, 'MY_DNE_TAG.')
89 parsers = self.make_parsers()
90 self.parse_test(parsers)
91 list_parser = self.get_parser(parsers, 'MY_LIST:')
96 parsers = self.make_parsers()
97 self.parse_test(parsers)
[all …]
/external/rust/crates/nom/
DCHANGELOG.md60 - text to number parsers: in the `character::streaming` and `character::complete` modules, there ar…
64 - now that function combinators are the main way to write parsers, the old macro combinators are co…
66 - regex parsers have been moved into the [nom-regex](https://crates.io/crates/nom-regex) crate. nom…
157 - relax trait bounds on some parsers
244 function parsers, by relaxing the requirements: combinators will return a
246 and parsers can be any type now, as long as they implement the new `Parser` trait.
260 so this will give better options for those parsers.
269 …streaming parsers return the number of additional bytes they need, not the total. This was suppose…
273 - there is now a more general `Parser` trait, so parsers can be something else than a function. Thi…
286 - function version of regex parsers
[all …]
DREADME.md11 to build safe parsers without compromising the speed or memory consumption. To
13 fast and correct parsers, and provides functions, macros and traits to abstract most of the
80 …f you need any help developing your parsers, please ping `geal` on IRC (libera, geeknode, oftc), g…
86 ### Binary format parsers
89 to the usual handwritten C parsers, nom parsers are just as fast, free from
95 - Streaming parsers for network formats and huge files
103 ### Text format parsers
111 - Regular expressions can be embedded in nom parsers to represent complex character patterns succin…
119 ### Programming language parsers
121 While programming language parsers are usually written manually for more
[all …]
/external/python/pyfakefs/pyfakefs/
Dpatched_packages.py20 import pandas.io.parsers as parsers namespace
22 parsers = None variable
46 if parsers is not None:
49 ] = 'pandas.io.parsers'
55 if parsers is not None:
88 if parsers is not None:
107 self._parsers_module = parsers
109 class TextFileReader(parsers.TextFileReader):
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/
DJsonParserSequence.java19 * Parsers other than the first one (which is initially assigned
25 * Configuration that determines whether state of parsers is first verified
30 * {@link JsonParser#nextToken} is always called for all parsers.
33 * so that possible existing token is not considered for parsers.
59 protected JsonParserSequence(JsonParser[] parsers) { in JsonParserSequence() argument
60 this(false, parsers); in JsonParserSequence()
66 protected JsonParserSequence(boolean checkForExistingToken, JsonParser[] parsers) in JsonParserSequence() argument
68 super(parsers[0]); in JsonParserSequence()
71 _parsers = parsers; in JsonParserSequence()
77 * contains all given sub-parsers.
[all …]
/external/rust/crates/combine/
DREADME.md7 …y [Parsec](https://hackage.haskell.org/package/parsec). As in Parsec the parsers are [LL(1)](https…
25 // `parse` returns `Result` where `Ok` contains a tuple of the parsers output and any remaining inp…
47 …module](https://docs.rs/combine/3.*/combine/parser/range/index.html) for parsers specialized for z…
49 * __partial parsing__ - Combine parsers can be stopped at any point during parsing and later be res…
53parsers as arguments and returns a new parser, created by combining those parsers. For instance, t…
63 Since `combine` aims to crate parsers with little to no overhead, streams over `&str` and `&[T]` do…
69 ## Parsers written in combine
93 There is an additional crate which has parsers to lex and parse programming languages in [combine-l…
DCHANGELOG.md136 * Pre-allocate collections for count* parsers ([5f37857c](https://github.com/Marwes/combine/commi…
193 * Increase tuple parsers to 20 elements ([45781fea](https://github.com/Marwes/combine/commit/4578…
219 * Handle partial parsing in the num parsers ([47764c7f](https://github.com/Marwes/combine/commit/…
243 * Allow ReadStream parsers to use &[u8] in errors ([6b62a857](https://github.com/Marwes/combine/c…
255 * Allow ReadStream parsers to use `&[u8]` in errors ([6b62a857](https://github.com/Marwes/combine…
372 * Allow regex parsers to use regex-1.0 ([77fe362c](https://github.com/Marwes/combine/commit/77fe3…
397 * Add all errors of nested choice parsers ([f2b8fbbf](https://github.com/Marwes/combine/commit/f2…
426 * Report more errors in the middle of sequence parsers ([f9e404f6](https://github.com/Marwes/comb…
427 * Report more expected information from nested sequence parsers ([9aa1db92](https://github.com/Ma…
456 * Parse from the start in sequence parsers in first mode
[all …]
/external/jsoncpp/
DREADME.md4 [![badge](https://img.shields.io/badge/license-MIT-blue)](https://github.com/open-source-parsers/js…
5 [![badge](https://img.shields.io/badge/document-doxygen-brightgreen)](http://open-source-parsers.gi…
6 …lls.io/repos/github/open-source-parsers/jsoncpp/badge.svg?branch=master)](https://coveralls.io/git…
25 [JsonCpp-documentation]: http://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.html
56 https://github.com/open-source-parsers/jsoncpp/wiki/Amalgamated-(Possibly-outdated)
62 If you have trouble, see the [Wiki](https://github.com/open-source-parsers/jsoncpp/wiki), or post a…
/external/rust/crates/nom/src/
Dlib.rs56 //! about [how to write parsers](https://github.com/Geal/nom/blob/master/doc/making_a_new_parser_fr…
68 //! Parser combinators are an approach to parsers that is very different from
80 //! - The parsers are small and easy to write
81 //! - The parsers components are easy to reuse (if they're general enough, please add them to nom!)
82 //! - The parsers components are easy to test separately (unit tests and property-based tests)
84 //! - You can build partial parsers, specific to the data you need at the moment, and ignore the re…
123 //! Writing all the parsers manually, like this, is dangerous, despite Rust's
125 //! nom provides a list of functions to help in developing parsers.
170 …://github.com/Geal/nom/blob/master/doc/choosing_a_combinator.md) for an exhaustive list of parsers.
173 //! ## Making new parsers with function combinators
[all …]
/external/autotest/tko/
Dparser_lib.py1 import autotest_lib.tko.parsers.version_0
2 import autotest_lib.tko.parsers.version_1
10 0: autotest_lib.tko.parsers.version_0.parser,
11 1: autotest_lib.tko.parsers.version_1.parser,
/external/libcxx/utils/libcxx/test/
Dformat.py54 def _get_parser(key, parsers): argument
55 for p in parsers:
106 parsers = self._make_custom_parsers()
108 test, additional_parsers=parsers, require_script=is_sh_test)
130 parsers).getValue()
163 return self._evaluate_fail_test(test, test_cxx, parsers)
166 test_cxx, parsers)
175 test_cxx, parsers): argument
203 is_flaky = self._get_parser('FLAKY_TEST.', parsers).getValue()
225 def _evaluate_fail_test(self, test, test_cxx, parsers): argument
/external/rust/crates/nom/src/branch/
Dmod.rs42 /// Tests a list of parsers one by one until one succeeds.
44 /// It takes as argument a tuple of parsers. There is a maximum of 21
45 /// parsers. If you need more, it is possible to nest them in other `alt` calls,
64 /// // both parsers failed, and with the default error type, alt will return the last error
81 /// Tries to apply all parsers in the tuple in various orders until all of them succeed
85 /// Applies a list of parsers in any order.
87 /// Permutation will succeed if all of the child parsers succeeded.
88 /// It takes as argument a tuple of parsers, and returns a
106 /// // it will fail if one of the parsers failed
111 /// The parsers are applied greedily: if there are multiple unapplied parsers
[all …]
/external/python/cpython3/Lib/test/test_email/
Dtest_parser.py42 for parser in self.parsers:
74 for parser in self.parsers:
81 for parser in self.parsers:
96 parsers = (email.message_from_string, message_from_file) variable in TestParser
106 parsers = (message_from_bytes, message_from_binary_file) variable in TestBytesParser
/external/python/cpython3/Doc/library/
Dpyexpat.rst1 :mod:`xml.parsers.expat` --- Fast XML parsing using Expat
4 .. module:: xml.parsers.expat
28 The :mod:`xml.parsers.expat` module is a Python interface to the Expat
59 The :mod:`xml.parsers.expat` module contains two functions:
250 :exc:`xml.parsers.expat.ExpatError` exception.
498 :data:`errors.messages <xml.parsers.expat.errors.messages>` dictionary maps
501 from xml.parsers.expat import ParserCreate, ExpatError, errors
509 The :mod:`~xml.parsers.expat.errors` module also provides error message
510 constants and a dictionary :data:`~xml.parsers.expat.errors.codes` mapping
533 import xml.parsers.expat
[all …]
/external/tensorflow/tensorflow/security/fuzzing/
Dtf_fuzzing.bzl28 parsers = [],
51 parsers: An optional list of file extensions that the target supports.
77 data = data, # TODO(mihaimaruseac): dict, corpus, parsers??
89 parsers = [],
112 parsers: An optional list of file extensions that the target supports.
/external/python/cpython3/Lib/xml/parsers/
Dexpat.py6 # provide pyexpat submodules as xml.parsers.expat submodules
7 sys.modules['xml.parsers.expat.model'] = model
8 sys.modules['xml.parsers.expat.errors'] = errors
/external/rust/crates/combine/src/parser/
Dchoice.rs1 //! Combinators which take one or more parsers and attempts to parse successfully with at least one
14 /// Takes a number of parsers and tries to apply them each in order.
15 /// Fails if all the parsers fails or if an applied parser fails after it has committed to its
150 // If offset != 1 then the nested parser is a sequence of parsers where 1 or
151 // more parsers returned `PeekOk` before the parser finally failed with
152 // `PeekErr`. Since we lose the offsets of the nested parsers when we merge
182 // cannot commit to so leave the state as `Peek` to retry all the parsers
292 // the offset to the detriment for all the other parsers.
423 // First add the errors of all the preceding parsers which did not in slice_parse_mode()
424 // have a sequence of parsers returning `PeekOk` before failing in slice_parse_mode()
[all …]
/external/python/cpython3/Lib/xml/
D__init__.py8 parsers -- Python wrappers for XML parsers (currently only supports Expat).
20 __all__ = ["dom", "parsers", "sax", "etree"]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DTokenStreamFactory.java10 * parsers (reading) and generators (writing). Although full power will only be
57 * factory can create non-blocking parsers: parsers that do not
89 * is something that parsers and/or generators constructed by this
91 * of data format (i.e. schema is for same data format as parsers and
122 /* Factory methods, parsers
163 * parsers to use, when input is to be read from an URL.
/external/antlr/runtime/Ruby/lib/antlr3/
Derror.rb210 used by:: lexers and parsers
251 used by:: parsers and tree parsers
490 used by:: tree parsers
514 used by:: tree-rewriting parsers and tree parsers
537 used by:: tree-rewriting parsers and tree parsers
554 used by:: tree-rewriting parsers and tree parsers
/external/python/cpython2/Lib/xml/
D__init__.py8 parsers -- Python wrappers for XML parsers (currently only supports Expat).
20 __all__ = ["dom", "parsers", "sax", "etree"]
/external/vixl/doc/aarch64/topics/
Dstate-trace.md41 instruction, and parsers need to be tolerant of this.
58 parsers.
85 Note that to correctly track state, parsers need to be aware of architectural
97 the benefit of human readers, and parsers may ignore them.
121 they have no active (predicated) lanes. Parsers should not assume that every
160 register and in memory unambiguous, without parsers needing to understand the
193 since these annotations are for the benefit of human readers, parsers can safely
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOM2Helper.java25 import javax.xml.parsers.DocumentBuilder;
26 import javax.xml.parsers.DocumentBuilderFactory;
27 import javax.xml.parsers.ParserConfigurationException;
140 // org.apache.xerces.parsers.DOMParser parser in parse()
141 // = new org.apache.xerces.parsers.DOMParser(); in parse()
188 // setDocument(((org.apache.xerces.parsers.DOMParser)parser).getDocument()); in parse()
195 * information may or may not be available in all parsers, may or
/external/rust/crates/der-parser/
DREADME.md33 # BER/DER parsers
85 help understanding how to write parsers and use the output.
182 ## Parsers, combinators, macros
185 - parsers: (regular) functions that takes input and create an object
186 - combinators: functions that takes parsers (or combinators) as input, and return a function
188 parsers.
189 - macros: these are generally previous (historic) versions of parsers, kept for compatibility.
191 Parsers should be preferred when possible.
/external/testng/src/main/java/org/testng/xml/
DXMLParser.java6 import javax.xml.parsers.FactoryConfigurationError;
7 import javax.xml.parsers.ParserConfigurationException;
8 import javax.xml.parsers.SAXParser;
9 import javax.xml.parsers.SAXParserFactory;

12345678910>>...52