Home
last modified time | relevance | path

Searched refs:parser (Results 1 – 15 of 15) sorted by relevance

/art/tools/checker/
Dchecker.py22 from file_format.c1visualizer.parser import ParseC1visualizerStream
23 from file_format.checker.parser import ParseCheckerStream
27 parser = argparse.ArgumentParser()
28 parser.add_argument("tested_file",
30 parser.add_argument("source_path", nargs="?",
32 parser.add_argument("--check-prefix", dest="check_prefix", default="CHECK", metavar="PREFIX",
34 parser.add_argument("--list-passes", dest="list_passes", action="store_true",
36 parser.add_argument("--dump-pass", dest="dump_pass", metavar="PASS",
38 parser.add_argument("--arch", dest="arch", choices=archs_list,
40 parser.add_argument("--debuggable", action="store_true",
[all …]
/art/
Dtest.py30 parser = argparse.ArgumentParser() variable
31 parser.add_argument('-j', default='', dest='n_threads')
32 parser.add_argument('--run-test', '-r', action='store_true', dest='run_test')
33 parser.add_argument('--gtest', '-g', action='store_true', dest='gtest')
34 parser.add_argument('--target', action='store_true', dest='target')
35 parser.add_argument('--host', action='store_true', dest='host')
36 options, unknown = parser.parse_known_args()
/art/test/testrunner/
Drun_build_test_target.py37 parser = argparse.ArgumentParser() variable
38 parser.add_argument('-j', default='1', dest='n_threads')
40 group = parser.add_mutually_exclusive_group(required=True)
43 options = parser.parse_args()
Dtestrunner.py798 def setup_env_for_build_target(build_target, parser, options): argument
807 target_options = vars(parser.parse_args(build_target['flags']))
834 parser = argparse.ArgumentParser(description="Runs all or a subset of the ART test suite.")
835 parser.add_argument('-t', '--test', dest='test', help='name of the test')
836 parser.add_argument('-j', type=int, dest='n_thread')
837 parser.add_argument('--timeout', default=timeout, type=int, dest='timeout')
843 parser.add_argument(flag, action='store_true', dest=flag_dest)
844 parser.add_argument('--verbose', '-v', action='store_true', dest='verbose')
845 parser.add_argument('--dry-run', action='store_true', dest='dry_run')
846 parser.add_argument("--skip", action="append", dest="skips", default=[],
[all …]
/art/tools/jfuzz/
Drun_dex_fuzz_test.py145 parser = argparse.ArgumentParser()
146 parser.add_argument('--num_tests', default=1000,
148 parser.add_argument('--num_inputs', default=10,
150 parser.add_argument('--device', help='target device serial number')
151 args = parser.parse_args()
Drun_jfuzz_test_nightly.py39 parser = argparse.ArgumentParser()
40 parser.add_argument('--num_proc', default=8,
43 (args, unknown_args) = parser.parse_known_args()
Drun_jfuzz_test.py584 parser = argparse.ArgumentParser()
585 parser.add_argument('--num_tests', default=10000,
587 parser.add_argument('--device', help='target device serial number')
588 parser.add_argument('--mode1', default='ri',
590 parser.add_argument('--mode2', default='hopt',
592 parser.add_argument('--report_script', help='script called for each'
594 parser.add_argument('--jfuzz_arg', default=[], dest='jfuzz_args',
596 parser.add_argument('--true_divergence', default=False, action='store_true',
598 parser.add_argument('--use_dx', default=False, action='store_true',
600 args = parser.parse_args()
/art/tools/bisection_search/
Dbisection_search.py315 parser = argparse.ArgumentParser(
318 command_opts = parser.add_argument_group('dalvikvm command options')
333 bisection_opts = parser.add_argument_group('bisection options')
356 return parser
381 parser = PrepareParser()
382 args = parser.parse_args()
384 parser.error('Either --raw-cmd or both -cp and --class are required')
/art/cmdline/
DREADME.md16 generate a type-safe value parser that process a user-provided list of strings (`argv`). Currently,
54 auto parser = MakeParser();
55 auto result = parser.parse(argv, argc));
60 auto map = parser.GetArgumentsMap();
69 In the above code sample, we define a parser which is capable of parsing something like `--help
88 After an argument definition is provided, the parser builder needs to know what type the argument
95 If this call is omitted, the parser generator assumes you are building a `Unit` type (i.e. an
116 This is meant to be another shorthand (like `WithRange`) to avoid writing a custom type parser. In
153 To complete an argument definition, the parser generator also needs to know where to save values.
171 an option to ignore any argument tokens that are not known to the parser. This is done with the
[all …]
Dcmdline_parser_test.cc203 auto& parser = *parser_; in TEST_F() local
205 EXPECT_LT(0u, parser.CountDefinedArguments()); in TEST_F()
209 EXPECT_TRUE(IsResultSuccessful(parser.Parse(""))); in TEST_F()
210 RuntimeArgumentMap args = parser.ReleaseArgumentsMap(); in TEST_F()
Dcmdline_parser.h261 ArgumentBuilder(CmdlineParser::Builder& parser, in ArgumentBuilder()
263 : parent_(parser), in ArgumentBuilder()
/art/tools/checker/file_format/c1visualizer/
Dtest.py18 from file_format.c1visualizer.parser import ParseC1visualizerStream
/art/tools/checker/match/
Dtest.py17 from file_format.c1visualizer.parser import ParseC1visualizerStream
19 from file_format.checker.parser import ParseCheckerStream, ParseCheckerAssertion
/art/runtime/
Dparsed_options.cc50 ParsedOptions parser; in Parse() local
51 return parser.DoParse(options, ignore_unrecognized, runtime_options); in Parse()
445 auto parser = MakeParser(ignore_unrecognized); in DoParse() local
453 CmdlineResult parse_result = parser->Parse(argv_list); in DoParse()
472 RuntimeArgumentMap args = parser->ReleaseArgumentsMap(); in DoParse()
/art/tools/checker/file_format/checker/
Dtest.py19 from file_format.checker.parser import ParseCheckerStream