Home
last modified time | relevance | path

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

/system/extras/verity/
Dbuild_verity_tree_main.cpp57 constexpr struct option long_options[] = { in main() local
67 int c = getopt_long(argc, argv, "a:A:hSs:v", long_options, &option_index); in main()
100 std::string option = long_options[option_index].name; in main()
/system/tools/sysprop/
DJavaMain.cpp50 static struct option long_options[] = { in ParseArgs() local
55 int opt = getopt_long_only(argc, argv, "", long_options, nullptr); in ParseArgs()
DCppMain.cpp53 static struct option long_options[] = { in ParseArgs() local
60 int opt = getopt_long_only(argc, argv, "", long_options, nullptr); in ParseArgs()
DTypeCheckerMain.cpp51 static struct option long_options[] = { in ParseArgs() local
56 int opt = getopt_long_only(argc, argv, "", long_options, nullptr); in ParseArgs()
/system/core/storaged/
Dmain.cpp79 static struct option long_options[] = { in main() local
86 opt = getopt_long(argc, argv, ":pstu", long_options, &opt_idx); in main()
/system/core/logcat/
Dlogcat.cpp565 static const struct option long_options[] = { in Run() local
598 int c = getopt_long(argc, argv, ":cdDhLt:T:gG:sQf:r:n:v:b:BSpP:m:e:", long_options, in Run()
605 if (long_options[option_index].name == pid_str) { in Run()
612 long_options[option_index].name, optarg); in Run()
616 if (long_options[option_index].name == wrap_str) { in Run()
622 long_options[option_index].name, optarg); in Run()
626 long_options[option_index].name, ANDROID_LOG_WRAP_DEFAULT_TIMEOUT, in Run()
631 if (long_options[option_index].name == print_str) { in Run()
635 if (long_options[option_index].name == debug_str) { in Run()
639 if (long_options[option_index].name == id_str) { in Run()
[all …]
/system/bt/test/headless/
Dget_options.cc27 constexpr struct option long_options[] = { variable
118 int c = getopt_long_only(argc, argv, "d:l:u:", long_options, &option_index); in GetOpt()
/system/core/toolbox/
Dgetprop.cpp97 static const struct option long_options[] = { in getprop_main() local
102 int arg = getopt_long(argc, argv, "TZ", long_options, nullptr); in getprop_main()
Dmodprobe.cpp105 static struct option long_options[] = { in modprobe_main() local
118 while ((opt = getopt_long(argc, argv, "a::bd:Dhlqrsv", long_options, &option_index)) != -1) { in modprobe_main()
/system/extras/tests/suspend_stress/
Dsuspend_stress.cpp57 const static struct option long_options[] = { in main() local
62 int c = getopt_long(argc, argv, "ac:t:", long_options, NULL); in main()
/system/libufdt/tests/src/
Dufdt_gen_test_dts.c53 static struct option long_options[] = { variable
160 int c = getopt_long(argc, argv, short_options, long_options, &option_index); in main()
/system/core/init/
Dhost_init_verifier.cpp209 static const struct option long_options[] = { in main() local
216 int arg = getopt_long(argc, argv, "p:", long_options, &option_index); in main()
224 if (long_options[option_index].name == kPropertyContexts) { in main()
/system/sepolicy/tools/
Dsepolicy-check.c242 struct option long_options[] = { in main() local
251 while ((ch = getopt_long(argc, argv, "s:t:c:p:P:", long_options, NULL)) != -1) { in main()
/system/bt/tools/bdtool/
Dbdtool.c53 static struct option long_options[] = { variable
305 int c = getopt_long_only(argc, argv, "", long_options, &option_index); in parse_args()
/system/extras/taskstats/
Dtaskstats.c268 const struct option long_options[] = { in main() local
278 int option_char = getopt_long_only(argc, argv, "", long_options, in main()
/system/extras/verity/fec/
Dmain.cpp281 const static struct option long_options[] = { in main() local
296 int c = getopt_long(argc, argv, "hedSr:ij:s:E:V:p:v", long_options, nullptr); in main()
/system/tools/aidl/
Doptions.cpp193 static struct option long_options[] = { in Options() local
220 "I:m:p:d:o:h:abtv:", long_options, nullptr); in Options()
/system/core/trusty/utils/rpmb_dev/
Drpmb_dev.c526 struct option long_options[] = {{"size", required_argument, 0, 0}, in main() local
539 c = getopt_long(argc, argv, "d:", long_options, &option_index); in main()
/system/core/bootstat/
Dbootstat.cpp1471 static const struct option long_options[] = { in main() local
1490 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) { in main()
1494 const std::string option_name = long_options[option_index].name; in main()