/test/vts/compilation_tools/vtsc/ |
D | VtsCompilerMain.cpp | 45 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/mlts/benchmark/native/ |
D | multi_process_test.cpp | 157 bool getBooleanArg(int argc, char* argv[], int argIndex, bool defaultValue) { in getBooleanArg() argument 159 std::string argAsString(argv[argIndex]); in getBooleanArg() 166 int getIntArg(int argc, char* argv[], int argIndex, int defaultValue) { in getIntArg() argument 168 return std::atoi(argv[argIndex]); in getIntArg() 174 int main(int argc, char* argv[]) { in main() argument 177 argc, argv[0]); in main() 181 const char* modelFileName = argv[kArgModelPath]; in main() 182 const char* inputDataFileName = argv[kArgInputDataPath]; in main() 183 const char* testName = argv[kArgTestName]; in main() 185 argc > kArgNnApiDeviceName ? argv[kArgNnApiDeviceName] : ""}; in main() [all …]
|
/test/vts-testcase/kernel/ltp/testcase/tools/ |
D | gen_ltp_config.py | 41 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/ |
D | TraceProcessorMain.cpp | 101 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/utils/native/libprofiling/ |
D | VtsProfilingConfigureMain.cpp | 95 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/ |
D | gen_mobilenet_input.py | 25 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/runners/target/vts_hal_hidl_target/ |
D | VtsHalHidlTargetTestEnvBase.cpp | 54 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-testcase/fuzz/iface_fuzzer/ |
D | ProtoFuzzerMain.cpp | 55 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()
|
D | ProtoFuzzerUtils.cpp | 121 ProtoFuzzerParams ExtractProtoFuzzerParams(int argc, char **argv) { in ExtractProtoFuzzerParams() argument 125 while ((opt = getopt_long_only(argc, argv, "", long_options, &index)) != -1) { in ExtractProtoFuzzerParams()
|
/test/vts-testcase/hal/treble/vintf/ |
D | main.cpp | 19 int main(int argc, char **argv) { in main() argument 20 ::testing::InitGoogleTest(&argc, argv); in main()
|
/test/vts/utils/python/coverage/ |
D | gcda_parser.py | 188 if len(sys.argv) != 2: 191 file_summary = gcno_parser.ParseGcnoFile(sys.argv[2]) 192 print(str(ParseGcdaFile(sys.argv[1], file_summary)))
|
D | gcno_parser.py | 239 if len(sys.argv) < 3 or sys.argv[1] != '-f': 242 print(str(ParseGcnoFile(sys.argv[2])))
|
/test/vts/utils/native/libcoverage/ |
D | VtsCoverageConfigureMain.cpp | 113 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/utils/python/coverage/testdata/ |
D | sample.c | 5 int main(argc, argv) in main() argument 7 char **argv;
|
/test/vts-testcase/security/poc/target/kernel_sound/28838221/ |
D | poc.cpp | 15 int main(int argc, char* argv[]) { in main() argument 16 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
|
/test/vts-testcase/security/poc/target/kernel_bluetooth/30149612/ |
D | poc.cpp | 10 int main(int argc, char* argv[]) { in main() argument 11 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
|
/test/app_compat/csuite/pylib/ |
D | csuite_test.py | 100 unittest.TestProgram(verbosity=3, testRunner=TestRunner, argv=unittest_argv) 106 sys.argv)
|
/test/vts-testcase/kernel/api/tun/ |
D | vts_kernel_tun_test.cpp | 92 int main(int argc, char **argv) { in main() argument 93 ::testing::InitGoogleTest(&argc, argv); in main()
|
/test/vts/compilation_tools/vtsc/test/golden/FUZZER/ |
D | Device.fuzzer.cpp | 20 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/ |
D | poc_test.cpp | 80 VtsHostInput ParseVtsHostFlags(int argc, char *argv[]) { in ParseVtsHostFlags() argument 84 while ((opt = getopt_long_only(argc, argv, "", long_options, &index)) != -1) { in ParseVtsHostFlags()
|
D | poc_test.h | 43 extern VtsHostInput ParseVtsHostFlags(int argc, char *argv[]);
|
/test/vts-testcase/security/poc/target/kernel_wifi/31707909/ |
D | poc.cpp | 105 int main(int argc, char **argv) { in main() argument 106 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
|
/test/vts/runners/target/gtest/ |
D | gtest_main.cpp | 265 static bool EnumerateTests(int argc, char** argv, in EnumerateTests() argument 269 command += argv[i]; in EnumerateTests() 624 static void ChildProcessFn(int argc, char** argv, in ChildProcessFn() argument 627 memcpy(new_argv, argv, sizeof(char*) * argc); in ChildProcessFn() 643 char** argv) { in RunChildProcess() argument 668 ChildProcessFn(argc, argv, test_name); in RunChildProcess() 868 static bool RunTestInSeparateProc(int argc, char** argv, in RunTestInSeparateProc() argument 909 next_test_id, argc, argv); in RunTestInSeparateProc() 1184 int main(int argc, char** argv) { in main() argument 1187 arg_list.push_back(argv[i]); in main()
|
/test/vts-testcase/security/poc/target/kernel_wifi/32402310/ |
D | poc.cpp | 149 int main(int argc, char *argv[]) { in main() argument 150 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
|
/test/vts-testcase/security/poc/target/kernel_wifi/32219453/ |
D | poc.cpp | 225 int main(int argc, char *argv[]) { in main() argument 226 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()
|