Home
last modified time | relevance | path

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

12

/test/vts/compilation_tools/vtsc/
DVtsCompilerMain.cpp45 int main(int argc, char* argv[]) { in main() argument
55 cout << "- args[" << i << "] " << argv[i] << endl; in main()
57 if (argv[i] && strlen(argv[i]) > 1 && argv[i][0] == '-') { in main()
59 if (argv[i][1] == 'm') { in main()
60 if (!strcmp(&argv[i][2], "PROFILER")) { in main()
65 } else if (!strcmp(&argv[i][2], "FUZZER")) { in main()
72 if (argv[i][1] == 't') { in main()
73 if (!strcmp(&argv[i][2], "HEADER")) { in main()
78 } else if (!strcmp(&argv[i][2], "SOURCE")) { in main()
85 if (argv[i][1] == 'b') { in main()
[all …]
/test/vts-testcase/kernel/ltp/testcase/tools/
Dgen_ltp_config.py41 if len(sys.argv) < 4:
42 print("use: %s n_bit output_file" % sys.argv[0])
44 arch = sys.argv[1]
45 n_bit = sys.argv[2]
46 is_low_mem = strtobool(sys.argv[3])
47 is_hwasan = strtobool(sys.argv[4])
48 output_path = sys.argv[5]
/test/vts/utils/native/trace_processor/
DTraceProcessorMain.cpp101 int main(int argc, char** argv) { in main() argument
119 int opt = getopt_long(argc, argv, short_opts, long_opts, nullptr); in main()
147 string trace_path = argv[optind]; in main()
180 string coverage_dir = argv[optind]; in main()
181 string trace_dir = argv[optind + 1]; in main()
186 string ref_coverage_path = argv[optind]; in main()
187 string coverage_path = argv[optind + 1]; in main()
192 string ref_coverage_path = argv[optind]; in main()
193 string coverage_path = argv[optind + 1]; in main()
/test/vts/agents/hal/
DVtsAgentMain.cpp45 int main(int argc, char** argv) { in main() argument
74 int opt = getopt_long(argc, argv, short_opts, long_opts, nullptr); in main()
122 android::base::InitLogging(argv, android::base::StderrLogger); in main()
127 dir_path = (char*)malloc(strlen(argv[0]) + 1); in main()
128 strcpy(dir_path, argv[0]); in main()
129 for (int index = strlen(argv[0]) - 2; index >= 0; index--) { in main()
/test/vts/script/
Dcompare_vts_core_result.py110 def main(argv): argument
116 if len(argv) != 3:
118 compare_vts_and_vts_core_result_file(argv[1], argv[2])
121 main(sys.argv)
/test/vts/utils/native/libprofiling/
DVtsProfilingConfigureMain.cpp95 int main(int argc, char *argv[]) { in main() argument
96 if (argc == 2 && !strcmp(argv[1], "disable")) { in main()
104 } else if (argc >= 2 && !strcmp(argv[1], "enable")) { in main()
107 property_set("hal.instrumentation.lib.path.32", argv[2]); in main()
108 property_set("hal.instrumentation.lib.path.64", argv[3]); in main()
/test/mlts/benchmark/tools/
Dgen_mobilenet_input.py25 if len(sys.argv) < 1:
29 gen_input_files(sys.argv[1], "mobilenet", (224, 224))
30 gen_input_files(sys.argv[1], "inceptionv3", (299, 299))
31 gen_input_files(sys.argv[1], "hdrnet", (256, 256))
/test/vts/drivers/hal/replayer/
DVtsHidlHalReplayerMain.cpp70 int main(int argc, char** argv) { in main() argument
71 android::base::InitLogging(argv, android::base::StderrLogger); in main()
86 int opt = getopt_long(argc, argv, short_opts, long_opts, nullptr); in main()
119 string trace_path = argv[optind]; in main()
/test/vts/runners/target/vts_hal_hidl_target/
DVtsHalHidlTargetTestEnvBase.cpp54 void VtsHalHidlTargetTestEnvBase::init(int* argc, char** argv) { in init() argument
57 if (parseVtsTestOption(argv[i])) { in init()
60 argv[j] = argv[j + 1]; in init()
/test/vts/drivers/shell/
DShellDriverMain.cpp48 int main(int argc, char** argv) { in main() argument
49 android::base::InitLogging(argv, android::base::StderrLogger); in main()
60 int ic = getopt_long(argc, argv, "", longOptions, &optionIndex); in main()
/test/vts/utils/native/testability_checker/
DVtsTestabilityCheckerMain.cpp49 int main(int argc, char** argv) { in main() argument
54 int opt = getopt_long(argc, argv, "hcb:", long_opts, nullptr); in main()
88 if (!android::FQName::parse(argv[optind], &hal_fq_name)) { in main()
89 cerr << "Invalid hal name: " << argv[optind] << endl; in main()
/test/vts/drivers/hal/server/
DVtsHalDriverServerMain.cpp55 int main(int argc, char** argv) { in main() argument
56 android::base::InitLogging(argv, android::base::StderrLogger); in main()
77 int opt = getopt_long(argc, argv, short_opts, long_opts, nullptr); in main()
/test/vts-testcase/hal/treble/vintf/
Dmain.cpp19 int main(int argc, char **argv) { in main() argument
20 ::testing::InitGoogleTest(&argc, argv); in main()
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMain.cpp55 extern ProtoFuzzerParams ExtractProtoFuzzerStaticParams(int argc, char **argv);
104 extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { in LLVMFuzzerInitialize() argument
106 params = ExtractProtoFuzzerStaticParams(*argc, *argv); in LLVMFuzzerInitialize()
108 params = ExtractProtoFuzzerParams(*argc, *argv); in LLVMFuzzerInitialize()
/test/vts/utils/python/coverage/
Dgcda_parser.py188 if len(sys.argv) != 2:
191 file_summary = gcno_parser.ParseGcnoFile(sys.argv[2])
192 print(str(ParseGcdaFile(sys.argv[1], file_summary)))
Dgcno_parser.py239 if len(sys.argv) < 3 or sys.argv[1] != '-f':
242 print(str(ParseGcnoFile(sys.argv[2])))
/test/vts/utils/python/coverage/testdata/
Dsample.c5 int main(argc, argv) in main() argument
7 char **argv;
/test/vts-testcase/security/poc/target/kernel_sound/28838221/
Dpoc.cpp15 int main(int argc, char* argv[]) { in main() argument
16 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
/test/vts/utils/native/libcoverage/
DVtsCoverageConfigureMain.cpp113 int main(int argc, char *argv[]) { in main() argument
119 if (!strcmp(argv[1], "flush")) { in main()
123 halString = string(argv[2]); in main()
/test/vts-testcase/security/poc/target/kernel_bluetooth/30149612/
Dpoc.cpp10 int main(int argc, char* argv[]) { in main() argument
11 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
/test/vts/testcases/vts_selftest/manual_tests/flaky_test/
Dvts_selftest_flaky_test.cpp82 int main(int argc, char **argv) { in main() argument
83 ::testing::InitGoogleTest(&argc, argv); in main()
/test/vts-testcase/kernel/api/tun/
Dvts_kernel_tun_test.cpp92 int main(int argc, char **argv) { in main() argument
93 ::testing::InitGoogleTest(&argc, argv); in main()
/test/vts/compilation_tools/vtsc/test/golden/FUZZER/
DDevice.fuzzer.cpp20 extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) { in LLVMFuzzerInitialize() argument
21 FuncFuzzerParams params{ExtractFuncFuzzerParams(*argc, *argv)}; in LLVMFuzzerInitialize()
/test/vts-testcase/security/poc/target/
Dpoc_test.cpp80 VtsHostInput ParseVtsHostFlags(int argc, char *argv[]) { in ParseVtsHostFlags() argument
84 while ((opt = getopt_long_only(argc, argv, "", long_options, &index)) != -1) { in ParseVtsHostFlags()
/test/vts-testcase/security/poc/target/kernel_wifi/31707909/
Dpoc.cpp105 int main(int argc, char **argv) { in main() argument
106 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()

12