Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 23 of 23) sorted by relevance

/test/mlts/benchmark/native/
Dmulti_process_test.cpp157 bool getBooleanArg(int argc, char* argv[], int argIndex, bool defaultValue) { in getBooleanArg() argument
158 if (argc > argIndex) { in getBooleanArg()
166 int getIntArg(int argc, char* argv[], int argIndex, int defaultValue) { in getIntArg() argument
167 if (argc > argIndex) { in getIntArg()
174 int main(int argc, char* argv[]) { in main() argument
175 if (argc < kMandatoryArgsCount) { in main()
177 argc, argv[0]); in main()
185 argc > kArgNnApiDeviceName ? argv[kArgNnApiDeviceName] : ""}; in main()
186 int numProcesses = getIntArg(argc, argv, kArgProcessCount, 0); in main()
187 int numThreads = getIntArg(argc, argv, kArgThreadCount, 0); in main()
[all …]
/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()
106 if (argc == 4) { in main()
/test/vts/runners/target/vts_hal_hidl_target/
DVtsHalHidlTargetTestEnvBase.cpp54 void VtsHalHidlTargetTestEnvBase::init(int* argc, char** argv) { in init() argument
56 for (int i = 1; i < *argc; i++) { in init()
59 for (int j = i; j != *argc; j++) { in init()
64 (*argc)--; in init()
DVtsHalHidlTargetTestEnvBase.h78 void init(int* argc, char** argv);
/test/vts/runners/target/gtest/
Dgtest_main.cpp265 static bool EnumerateTests(int argc, char** argv, in EnumerateTests() argument
268 for (int i = 0; i < argc; ++i) { in EnumerateTests()
624 static void ChildProcessFn(int argc, char** argv, in ChildProcessFn() argument
626 char** new_argv = new char*[argc + 2]; in ChildProcessFn()
627 memcpy(new_argv, argv, sizeof(char*) * argc); in ChildProcessFn()
632 new_argv[argc] = filter_arg; in ChildProcessFn()
633 new_argv[argc + 1] = NULL; in ChildProcessFn()
635 int new_argc = argc + 1; in ChildProcessFn()
642 int testcase_id, int test_id, int argc, in RunChildProcess() argument
668 ChildProcessFn(argc, argv, test_name); in RunChildProcess()
[all …]
/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()
146 if (optind == argc - 1) { in main()
177 } else if (optind == argc - 2) { in main()
/test/vts/compilation_tools/vtsc/
DVtsCompilerMain.cpp45 int main(int argc, char* argv[]) { in main() argument
53 for (int i = 0; i < argc; i++) { in main()
93 if (argc < 5) { in main()
94 cerr << "argc " << argc << " < 5" << endl; 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()
DProtoFuzzerUtils.cpp121 ProtoFuzzerParams ExtractProtoFuzzerParams(int argc, char **argv) { in ExtractProtoFuzzerParams() argument
125 while ((opt = getopt_long_only(argc, argv, "", long_options, &index)) != -1) { in ExtractProtoFuzzerParams()
DProtoFuzzerStaticParams.cpp91 ProtoFuzzerParams ExtractProtoFuzzerStaticParams(int argc, char **argv) { in ExtractProtoFuzzerStaticParams() argument
/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/utils/native/libcoverage/
DVtsCoverageConfigureMain.cpp113 int main(int argc, char *argv[]) { in main() argument
115 if (argc < 2) { in main()
122 if (argc == 3) { in main()
/test/vts/utils/python/coverage/testdata/
Dsample.c5 int main(argc, argv) in main() argument
6 int argc; in main()
/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-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-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()
DContext.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()
Dpoc_test.h43 extern VtsHostInput ParseVtsHostFlags(int argc, char *argv[]);
/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()
/test/vts-testcase/security/poc/target/kernel_wifi/32402310/
Dpoc.cpp149 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/
Dpoc.cpp225 int main(int argc, char *argv[]) { in main() argument
226 VtsHostInput host_input = ParseVtsHostFlags(argc, argv); in main()