Home
last modified time | relevance | path

Searched refs:argv (Results 1 – 25 of 37) sorted by relevance

12

/tools/security/sanitizer-status/
Dsanitizer-status.cpp165 int have_option(const char* option, const char** argv, const int argc) { in have_option() argument
167 if (!strcmp(option, argv[i])) in have_option()
172 int main(int argc, const char** argv) { in main() argument
179 if (test_everything || have_option("asan", argv, argc)) { in main()
198 if (test_everything || have_option("hwasan", argv, argc)) { in main()
217 if (test_everything || have_option("msan", argv, argc)) { in main()
228 if (test_everything || have_option("kasan", argv, argc)) { in main()
239 if (test_everything || have_option("kcov", argv, argc)) { in main()
250 if (test_everything || have_option("ubsan", argv, argc)) { in main()
261 if (test_everything || have_option("gwp_asan", argv, argc)) { in main()
[all …]
/tools/asuite/atest-py2/
Dbug_detector_unittest.py79 argv = ['test2', 'test1']
81 dtr = bug_detector.BugDetector(argv, 0)
82 self.assertEqual(dtr.get_detect_key(argv), want_key)
85 argv = ['-v', 'test2', 'test1']
87 dtr = bug_detector.BugDetector(argv, 0)
88 self.assertEqual(dtr.get_detect_key(argv), want_key)
91 argv = ['--verbose', 'test2', 'test3', 'test1']
93 dtr = bug_detector.BugDetector(argv, 0)
94 self.assertEqual(dtr.get_detect_key(argv), want_key)
Dbug_detector.py40 def __init__(self, argv, exit_code, history_file=None): argument
48 self.detect_key = self.get_detect_key(argv)
55 def get_detect_key(self, argv): argument
67 argv_without_option = [x for x in argv if x not in _DETECT_OPTION_FILTER]
Datest.py97 def _parse_args(argv): argument
107 pruned_argv = argv
109 if CUSTOM_ARG_FLAG in argv:
110 custom_args_index = argv.index(CUSTOM_ARG_FLAG)
111 pruned_argv = argv[:custom_args_index]
117 args.custom_args = argv[custom_args_index+1:]
566 def main(argv, results_dir, args): argument
582 command_line=' '.join(argv),
709 ARGS = _parse_args(sys.argv[1:])
710 with atest_execution_info.AtestExecutionInfo(sys.argv[1:],
[all …]
/tools/asuite/atest/
Dbug_detector_unittest.py82 argv = ['test2', 'test1']
84 dtr = bug_detector.BugDetector(argv, 0)
85 self.assertEqual(dtr.get_detect_key(argv), want_key)
88 argv = ['-v', 'test2', 'test1']
90 dtr = bug_detector.BugDetector(argv, 0)
91 self.assertEqual(dtr.get_detect_key(argv), want_key)
94 argv = ['--verbose', 'test2', 'test3', 'test1']
96 dtr = bug_detector.BugDetector(argv, 0)
97 self.assertEqual(dtr.get_detect_key(argv), want_key)
Dbug_detector.py40 def __init__(self, argv, exit_code, history_file=None): argument
48 self.detect_key = self.get_detect_key(argv)
55 def get_detect_key(self, argv): argument
67 argv_without_option = [x for x in argv if x not in _DETECT_OPTION_FILTER]
Datest.py96 def _parse_args(argv): argument
106 pruned_argv = argv
108 if CUSTOM_ARG_FLAG in argv:
109 custom_args_index = argv.index(CUSTOM_ARG_FLAG)
110 pruned_argv = argv[:custom_args_index]
116 for arg in argv[custom_args_index+1:]:
708 def main(argv, results_dir, args): argument
724 command_line=' '.join(argv),
853 atest_configs.GLOBAL_ARGS = _parse_args(sys.argv[1:])
855 sys.argv[1:], RESULTS_DIR,
[all …]
Datest_run_unittests.py29 RUN_COVERAGE = COVERAGE in sys.argv
30 SHOW_MISSING = '--show-missing' in sys.argv
112 if len(sys.argv) > 1:
/tools/repohooks/tools/
Dgoogle-java-format.py58 def main(argv): argument
61 opts = parser.parse_args(argv)
96 (sys.argv[0], rh.shell.cmd_to_str(argv)))
103 sys.exit(main(sys.argv[1:]))
Dclang-format.py67 def main(argv): argument
70 opts = parser.parse_args(argv)
115 (sys.argv[0], rh.shell.cmd_to_str(argv)))
122 sys.exit(main(sys.argv[1:]))
Dpylint.py81 def main(argv): argument
84 opts, unknown = parser.parse_known_args(argv)
129 sys.exit(main(sys.argv[1:]))
Dandroid_test_mapping_format.py178 def main(argv): argument
181 opts = parser.parse_args(argv)
197 sys.exit(main(sys.argv[1:]))
/tools/acloud/metrics/
Dmetrics.py26 def LogUsage(argv): argument
45 if _NO_METRICS in argv:
53 command_line=' '.join(argv),
54 test_references=[argv[0]])
/tools/test/graphicsbenchmark/functional_tests/native/
Dmain.cpp32 int main(int argc, char **argv) { in main() argument
34 testing::InitGoogleTest(&argc, argv); in main()
42 int c = getopt_long(argc, argv, "", long_options, nullptr); in main()
/tools/repohooks/rh/
Dconfig_test.py87 def main(argv): argument
90 opts = parser.parse_args(argv)
110 sys.exit(main(sys.argv[1:]))
/tools/dexter/dexter/
Dmain.cc19 int main(int argc, char* argv[]) { in main() argument
20 Dexter dexter(argc, argv); in main()
Ddexter.h32 Dexter(int argc, char* argv[]) : argc_(argc), argv_(argv) {} in Dexter() argument
/tools/acloud/public/acloud_kernel/
Dacloud_kernel.py67 def main(argv): argument
76 args = _ParseArgs(argv)
/tools/doc_generation/
Dswitcher4.py236 def main(argv): argument
244 opts, args = getopt.getopt(argv,"",["work","verbose","solo","max="])
300 main(sys.argv[1:])
/tools/acloud/public/
Dacloud_main.py394 def main(argv=None): argument
404 args = _ParseArgs(argv)
497 LOG_METRICS = metrics.LogUsage(sys.argv[1:])
499 EXIT_CODE, EXCEPTION_STACKTRACE = main(sys.argv[1:])
D__main__.py26 acloud_main.main(sys.argv[1:])
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dwlan_policy_lib.py37 def main(argv): argument
38 if len(argv) > 1:
/tools/platform-compat/build/
Dprocess_compat_config.py109 def main(argv): argument
144 main(sys.argv)
/tools/test/connectivity/wts-acts/
D__main__.py6 main(sys.argv[1:])
/tools/asuite/aidegen/
Daidegen_main.py451 def main(argv): argument
464 args = _parse_args(argv)
545 main(sys.argv[1:])

12