Home
last modified time | relevance | path

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

/ohos5.0/base/startup/init/test/benchmark/
H A Dbenchmark_fwk.cpp63 static struct option g_benchmarkLongOptions[] = { variable
94 …while (g_benchmarkLongOptions[index].name && strncmp(g_benchmarkLongOptions[index].name, optarg + … in ShiftOptions()
95 strlen(g_benchmarkLongOptions[index].name))) { in ShiftOptions()
99 if (!g_benchmarkLongOptions[index].name) { in ShiftOptions()
101 … } else if ((g_benchmarkLongOptions[index].has_arg == required_argument) && !strchr(optarg, '=')) { in ShiftOptions()
115 while ((opt = getopt_long(argc, argv, "c:i:a:h", g_benchmarkLongOptions, nullptr)) != -1) { in ParseOptions()