/tools/security/sanitizer-status/ |
D | sanitizer-status.cpp | 165 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/tradefederation/core/atest/ |
D | atest.py | 97 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 …]
|
D | bug_detector_unittest.py | 79 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)
|
D | bug_detector.py | 40 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]
|
/tools/asuite/atest/ |
D | atest.py | 95 def _parse_args(argv): argument 105 pruned_argv = argv 107 if CUSTOM_ARG_FLAG in argv: 108 custom_args_index = argv.index(CUSTOM_ARG_FLAG) 109 pruned_argv = argv[:custom_args_index] 115 args.custom_args = argv[custom_args_index+1:] 679 def main(argv, results_dir, args): argument 695 command_line=' '.join(argv), 814 ARGS = _parse_args(sys.argv[1:]) 815 with atest_execution_info.AtestExecutionInfo(sys.argv[1:], [all …]
|
D | bug_detector_unittest.py | 82 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)
|
D | bug_detector.py | 40 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]
|
D | atest_run_unittests.py | 29 RUN_COVERAGE = COVERAGE in sys.argv 30 SHOW_MISSING = '--show-missing' in sys.argv 112 if len(sys.argv) > 1:
|
/tools/tradefederation/core/python-lib/tradefed_py/ |
D | tf_main.py | 30 argv=None, testRunner=None, argument 37 def parseArgs(self, argv): argument 38 if len(argv) > 1 and argv[1].lower() == 'discover': 39 self._do_discovery(argv[2:]) 45 options, args = getopt.getopt(argv[1:], 'hHvqfcbs:e:', long_opts)
|
/tools/repohooks/tools/ |
D | google-java-format.py | 61 def main(argv): argument 64 opts = parser.parse_args(argv) 99 (sys.argv[0], rh.shell.cmd_to_str(argv))) 106 sys.exit(main(sys.argv[1:]))
|
D | clang-format.py | 70 def main(argv): argument 73 opts = parser.parse_args(argv) 118 (sys.argv[0], rh.shell.cmd_to_str(argv))) 125 sys.exit(main(sys.argv[1:]))
|
D | pylint.py | 84 def main(argv): argument 87 opts, unknown = parser.parse_known_args(argv) 132 sys.exit(main(sys.argv[1:]))
|
D | android_test_mapping_format.py | 186 def main(argv): argument 188 opts = parser.parse_args(argv) 204 sys.exit(main(sys.argv[1:]))
|
/tools/acloud/metrics/ |
D | metrics.py | 26 def LogUsage(argv): argument 45 if _NO_METRICS in argv: 53 command_line=' '.join(argv), 54 test_references=[argv[0]])
|
/tools/acloud/public/ |
D | acloud_main.py | 358 def main(argv=None): argument 368 args = _ParseArgs(argv) 450 LOG_METRICS = metrics.LogUsage(sys.argv[1:]) 452 EXIT_CODE, EXCEPTION_STACKTRACE = main(sys.argv[1:])
|
/tools/test/graphicsbenchmark/functional_tests/native/ |
D | main.cpp | 32 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/ |
D | config_test.py | 90 def main(argv): argument 93 opts = parser.parse_args(argv) 113 sys.exit(main(sys.argv[1:]))
|
/tools/doc_generation/ |
D | switcher4.py | 216 def main(argv): argument 224 opts, args = getopt.getopt(argv,"",["work","verbose","solo","max="]) 277 main(sys.argv[1:])
|
/tools/asuite/aidegen/ |
D | aidegen_main.py | 386 def main(argv): argument 399 args = _parse_args(argv) 477 main(sys.argv[1:])
|
/tools/repohooks/ |
D | pre-upload.py | 424 def direct_main(argv): argument 447 opts = parser.parse_args(argv) 476 sys.exit(direct_main(sys.argv[1:]))
|
/tools/asuite/aidegen_functional_test/ |
D | aidegen_functional_test_main.py | 728 def main(argv): argument 740 args = _parse_args(argv) 762 main(sys.argv[1:])
|
/tools/treble/split/ |
D | manifest_split.py | 555 def main(argv): argument 557 opts, args = getopt.getopt(argv, "h", [ 677 main(sys.argv[1:])
|
/tools/dexter/dexter/ |
D | main.cc | 19 int main(int argc, char* argv[]) { in main() argument 20 Dexter dexter(argc, argv); in main()
|
D | dexter.h | 32 Dexter(int argc, char* argv[]) : argc_(argc), argv_(argv) {} in Dexter() argument
|
/tools/acloud/public/acloud_kernel/ |
D | acloud_kernel.py | 67 def main(argv): argument 76 args = _ParseArgs(argv)
|