Home
last modified time | relevance | path

Searched refs:parser (Results 176 - 200 of 1322) sorted by relevance

12345678910>>...53

/third_party/skia/third_party/externals/expat/expat/xmlwf/
H A Dxmlwf_helpgen.py7 # |_| XML parser
52 parser = argparse.ArgumentParser(prog='xmlwf', add_help=False, variable
58 input_related = parser.add_argument_group('input control arguments')
68 output_related = parser.add_argument_group('output control arguments')
76 billion_laughs = parser.add_argument_group('billion laughs attack protection',
84 reparse_deferral = parser.add_argument_group('reparse deferral')
88 parser.add_argument('files', metavar='FILE', nargs='*', help='file to process (default: STDIN)')
90 info = parser.add_argument_group('info arguments')
97 parser.print_help()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dparser_impl_test.cc23 auto p = parser(""); in TEST_F()
28 auto p = parser(R"( in TEST_F()
41 auto p = parser(R"( in TEST_F()
52 auto p = parser(R"( in TEST_F()
64 auto p = parser(R"( in TEST_F()
76 auto p = parser(R"( in TEST_F()
89 auto p = parser(R"( in TEST_F()
109 auto p = parser(R"( in TEST_F()
H A Dparser_impl_primary_expression_test.cc24 auto p = parser("a"); in TEST_F()
36 auto p = parser("vec4<i32>(1, 2, 3, 4))"); in TEST_F()
63 auto p = parser("vec4<i32>()"); in TEST_F()
77 auto p = parser("vec4<if>(2., 3., 4., 5.)"); in TEST_F()
87 auto p = parser("vec4<f32> 2., 3., 4., 5.)"); in TEST_F()
97 auto p = parser("vec4<f32>(2., 3., 4., 5."); in TEST_F()
107 auto p = parser("i32(if(a) {})"); in TEST_F()
117 auto p = parser(R"( in TEST_F()
141 auto p = parser(R"( in TEST_F()
171 auto p = parser("tru in TEST_F()
[all...]
H A Dparser_impl_argument_expression_list_test.cc23 auto p = parser("(a)"); in TEST_F()
33 auto p = parser("()"); in TEST_F()
42 auto p = parser("(a, -33, 1+2)"); in TEST_F()
54 auto p = parser("(a, 42,)"); in TEST_F()
65 auto p = parser("a)"); in TEST_F()
73 auto p = parser("(a"); in TEST_F()
81 auto p = parser("(,)"); in TEST_F()
89 auto p = parser("(a, ,)"); in TEST_F()
97 auto p = parser("(if(a) {})"); in TEST_F()
H A Dparser_impl_reserved_keyword_test.cc25 auto p = parser("fn " + name + "() {}"); in TEST_P()
32 auto p = parser("let " + name + " : i32 = 1;"); in TEST_P()
39 auto p = parser("var " + name + " : i32 = 1;"); in TEST_P()
46 auto p = parser("fn f() { let " + name + " : i32 = 1; }"); in TEST_P()
53 auto p = parser("fn f() { var " + name + " : i32 = 1; }"); in TEST_P()
60 auto p = parser("fn f(" + name + " : i32) {}"); in TEST_P()
67 auto p = parser("struct " + name + " {};"); in TEST_P()
74 auto p = parser("struct S { " + name + " : i32; };"); in TEST_P()
81 auto p = parser("type " + name + " = i32;"); in TEST_P()
H A Dparser_impl_texture_sampler_types_test.cc26 auto p = parser("1234"); in TEST_F()
35 auto p = parser("sampler"); in TEST_F()
47 auto p = parser("sampler_comparison"); in TEST_F()
59 auto p = parser("texture_depth_2d"); in TEST_F()
72 auto p = parser("texture_1d<f32>"); in TEST_F()
86 auto p = parser("texture_2d<i32>"); in TEST_F()
100 auto p = parser("texture_3d<u32>"); in TEST_F()
114 auto p = parser("texture_1d<>"); in TEST_F()
124 auto p = parser("texture_1d"); in TEST_F()
134 auto p = parser("texture_1 in TEST_F()
[all...]
H A Dparser_impl_const_expr_test.cc23 auto p = parser("vec2<f32>(1., 2.)"); in TEST_F()
43 auto p = parser("vec2<f32>()"); in TEST_F()
57 auto p = parser("vec2<f32>(1., 2.,)"); in TEST_F()
73 auto p = parser("vec2<f32>(1., 2."); in TEST_F()
82 auto p = parser("vec2<f32> 1., 2.)"); in TEST_F()
91 auto p = parser("vec2<f32>(1. 2."); in TEST_F()
100 auto p = parser("vec2<f32>(1., if(a) {})"); in TEST_F()
109 auto p = parser("true"); in TEST_F()
119 auto p = parser("invalid"); in TEST_F()
128 auto p = parser(" in TEST_F()
[all...]
/third_party/python/Lib/json/
H A Dtool.py23 parser = argparse.ArgumentParser(prog=prog, description=description)
24 parser.add_argument('infile', nargs='?',
28 parser.add_argument('outfile', nargs='?',
32 parser.add_argument('--sort-keys', action='store_true', default=False,
34 parser.add_argument('--no-ensure-ascii', dest='ensure_ascii', action='store_false',
36 parser.add_argument('--json-lines', action='store_true', default=False,
39 group = parser.add_mutually_exclusive_group()
51 options = parser.parse_args()
/third_party/python/Lib/xml/sax/
H A D__init__.py19 expatreader -- Driver that allows use of the Expat parser with SAX.
30 parser = make_parser()
31 parser.setContentHandler(handler)
32 parser.setErrorHandler(errorHandler)
33 parser.parse(source)
39 parser = make_parser()
40 parser.setContentHandler(handler)
41 parser.setErrorHandler(errorHandler)
48 parser.parse(inpsrc)
50 # this is the parser lis
[all...]
/third_party/skia/infra/bots/assets/skp/
H A Dcreate_and_upload.py25 parser = argparse.ArgumentParser()
26 parser.add_argument('--chrome_src_path', '-c', required=True)
27 parser.add_argument('--browser_executable', '-e', required=True)
28 parser.add_argument('--dm_path', '-d', required=True)
29 parser.add_argument('--upload_to_partner_bucket', action='store_true')
30 parser.add_argument('--dry_run', action='store_true')
31 parser.add_argument('--local', action='store_true')
32 args = parser.parse_args()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dparser_impl_function_decl_test.cc83 auto p = parser(test::Assemble( in TEST_F()
98 parser(test::Assemble(Preamble() + Names({"main"}) + CommonTypes() + R"( in TEST_F()
120 auto p = parser(test::Assemble(input)); in TEST_F()
145 auto p = parser(test::Assemble(input)); in TEST_F()
163 auto p = parser(test::Assemble(input)); in TEST_F()
183 auto p = parser(test::Assemble(input)); in TEST_F()
210 auto p = parser(test::Assemble(input)); in TEST_F()
236 auto p = parser(test::Assemble(input)); in TEST_F()
267 auto p = parser(test::Assemble(input)); in TEST_F()
297 auto p = parser(tes in TEST_F()
[all...]
H A Dfunction_glsl_std_450_test.cc182 auto p = parser(test::Assemble(assembly)); in TEST_P()
200 auto p = parser(test::Assemble(assembly)); in TEST_P()
218 auto p = parser(test::Assemble(assembly)); in TEST_P()
236 auto p = parser(test::Assemble(assembly)); in TEST_P()
254 auto p = parser(test::Assemble(assembly)); in TEST_P()
272 auto p = parser(test::Assemble(assembly)); in TEST_P()
290 auto p = parser(test::Assemble(assembly)); in TEST_P()
308 auto p = parser(test::Assemble(assembly)); in TEST_P()
326 auto p = parser(test::Assemble(assembly)); in TEST_P()
345 auto p = parser(tes in TEST_P()
[all...]
H A Dfunction_bit_test.cc127 auto p = parser(test::Assemble(assembly)); in TEST_P()
170 auto p = parser(test::Assemble(assembly)); in TEST_P()
493 auto p = parser(test::Assemble(assembly)); in TEST_F()
510 auto p = parser(test::Assemble(assembly)); in TEST_F()
527 auto p = parser(test::Assemble(assembly)); in TEST_F()
544 auto p = parser(test::Assemble(assembly)); in TEST_F()
561 auto p = parser(test::Assemble(assembly)); in TEST_F()
578 auto p = parser(test::Assemble(assembly)); in TEST_F()
598 auto p = parser(test::Assemble(assembly)); in TEST_F()
617 auto p = parser(tes in TEST_F()
[all...]
H A Dfunction_logical_test.cc135 auto p = parser(test::Assemble(assembly)); in TEST_F()
152 auto p = parser(test::Assemble(assembly)); in TEST_F()
191 auto p = parser(test::Assemble(assembly)); in TEST_P()
573 auto p = parser(test::Assemble(assembly)); in TEST_F()
590 auto p = parser(test::Assemble(assembly)); in TEST_F()
609 auto p = parser(test::Assemble(assembly)); in TEST_F()
626 auto p = parser(test::Assemble(assembly)); in TEST_F()
645 auto p = parser(test::Assemble(assembly)); in TEST_F()
662 auto p = parser(test::Assemble(assembly)); in TEST_F()
681 auto p = parser(tes in TEST_F()
[all...]
/third_party/python/Lib/test/
H A Dtest_xml_etree_c.py22 parser = cET.XMLParser()
24 self.assertRaises(OverflowError, parser.feed, data)
72 # when the parser was part of a reference cycle.
75 parser = cET.XMLParser()
77 # alive, so the parser will be destroyed by the garbage collector
83 # Create a parser part of reference cycle
86 # and so destroy the parser
125 parser = cET.XMLParser.__new__(cET.XMLParser)
126 self.assertRaises(ValueError, parser.close)
127 self.assertRaises(ValueError, parser
[all...]
/third_party/python/Lib/xml/dom/
H A Dexpatbuilder.py1 """Facility to use the Expat parser to load a minidom instance
22 # parser. This also gives us the advantage that we don't need a
152 """Create a new parser object."""
156 """Return the parser object, creating a new one if needed."""
174 def install(self, parser):
175 """Install the callbacks needed to build the DOM into the parser."""
177 parser.StartDoctypeDeclHandler = self.start_doctype_decl_handler
178 parser.StartElementHandler = self.first_element_handler
179 parser.EndElementHandler = self.end_element_handler
180 parser
[all...]
/third_party/mesa3d/src/vulkan/util/
H A Dvk_icd_gen.py42 parser = argparse.ArgumentParser() variable
43 parser.add_argument('--api-version', required=True,
45 parser.add_argument('--xml', required=False,
47 parser.add_argument('--lib-path', required=True,
49 parser.add_argument('--out', required=False,
51 parser.add_argument('--use-backslash', action='store_true',
53 args = parser.parse_args()
H A Dvk_entrypoints_gen.py189 parser = argparse.ArgumentParser()
190 parser.add_argument('--out-c', required=True, help='Output C file.')
191 parser.add_argument('--out-h', required=True, help='Output H file.')
192 parser.add_argument('--xml',
195 parser.add_argument('--proto', help='Generate entrypoint prototypes',
197 parser.add_argument('--weak', help='Generate weak entrypoint declarations',
199 parser.add_argument('--prefix',
202 parser.add_argument('--device-prefix',
205 args = parser.parse_args()
/third_party/skia/build/fuchsia/
H A Dgen_package17 parser = argparse.ArgumentParser()
19 parser.add_argument('--pm-bin', dest='pm_bin', action='store', required=True)
20 parser.add_argument(
22 parser.add_argument(
24 parser.add_argument(
26 parser.add_argument(
29 args = parser.parse_args()
/third_party/node/deps/v8/src/parsing/
H A Dexpression-scope.h32 // expression parsing for the task at hand. It allows the parser to reuse the
36 // One of the specific subclasses needs to be instantiated to tell the parser
37 // the meaning of the expression it will parse next. The parser then calls
61 for (Scope* scope = parser()->scope(); !scope->is_declaration_scope(); in NewVariable()
83 parser()->scope()->AddUnresolved(result); in NewVariable()
105 this->parser()->scope()->AddUnresolved(proxy); in MergeVariableList()
253 ParserT* parser() const { return parser_; } in parser() function in v8::internal::ExpressionScope
260 ExpressionScope(ParserT* parser, ScopeType type) in ExpressionScope() argument
261 : parser_(parser), in ExpressionScope()
262 parent_(parser in ExpressionScope()
358 VariableDeclarationParsingScope(ParserT* parser, VariableMode mode, ZonePtrList<const AstRawString>* names) VariableDeclarationParsingScope() argument
431 ParameterDeclarationParsingScope(ParserT* parser) ParameterDeclarationParsingScope() argument
476 ExpressionParsingScope( ParserT* parser, ScopeType type = ExpressionScopeT::kExpression) ExpressionParsingScope() argument
750 ArrowHeadParsingScope(ParserT* parser, FunctionKind kind) ArrowHeadParsingScope() argument
[all...]
/test/xts/tools/build/
H A Dsuite.py67 parser = argparse.ArgumentParser()
68 parser.add_argument('--source_dir', help='', required=True)
69 parser.add_argument('--configs_dir', help='', required=False)
70 parser.add_argument('--resources_dir', help='', required=False)
71 parser.add_argument('--suite_out_dir', help='', required=True)
72 self.args = parser.parse_args(arguments)
143 parser = argparse.ArgumentParser()
144 parser.add_argument('--suite_path', help='', required=True)
145 parser.add_argument('--prebuilts_resource', help='', required=True)
146 parser
[all...]
/third_party/mesa3d/bin/
H A Dsymbols-check.py83 parser = argparse.ArgumentParser()
84 parser.add_argument('--symbols-file',
88 parser.add_argument('--lib',
92 parser.add_argument('--nm',
95 parser.add_argument('--dumpbin',
98 parser.add_argument('--ignore-symbol',
101 args = parser.parse_args()
106 parser.error('--dumpbin is mandatory')
110 parser.error('--nm is mandatory')
/third_party/protobuf/benchmarks/util/
H A Dresult_uploader.py73 parser = argparse.ArgumentParser() variable
74 parser.add_argument("-cpp", "--cpp_input_file",
77 parser.add_argument("-java", "--java_input_file",
80 parser.add_argument("-python", "--python_input_file",
83 parser.add_argument("-go", "--go_input_file",
86 parser.add_argument("-node", "--node_input_file",
89 parser.add_argument("-php", "--php_input_file",
92 parser.add_argument("-php_c", "--php_c_input_file",
95 args = parser.parse_args()
/third_party/python/Tools/c-analyzer/c_analyzer/
H A D__main__.py130 def add_checks_cli(parser, checks=None, *, add_flags=None):
140 process_checks = add_sepval_cli(parser, '--check', 'checks', checks)
143 parser.add_argument(f'--{check}', dest='checks',
263 def add_output_cli(parser, *, default='summary'):
264 parser.add_argument('--format', dest='fmt', default=default, choices=tuple(FORMATS))
274 def _cli_check(parser, checks=None, **kwargs):
280 process_checks = add_checks_cli(parser)
286 process_checks = add_checks_cli(parser, checks=checks)
287 process_progress = add_progress_cli(parser)
288 process_output = add_output_cli(parser, defaul
[all...]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/parser/
H A Dparser.go15 // Package parser provides a basic parser for the Tint intrinsic definition
17 package parser
35 p := parser{tokens: tokens}
39 type parser struct { type
44 func (p *parser) parse() (*ast.AST, error) {
81 func (p *parser) enumDecl() ast.EnumDecl {
92 func (p *parser) enumEntry() ast.EnumEntry {
98 func (p *parser) matcherDecl() ast.MatcherDecl {
112 func (p *parser) typeDec
[all...]

Completed in 12 milliseconds

12345678910>>...53