Home
last modified time | relevance | path

Searched refs:long_options (Results 1 – 20 of 20) 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()
DRustMain.cpp49 static struct option long_options[] = { in ParseArgs() local
54 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/init/
Dhost_init_verifier.cpp217 static const struct option long_options[] = { in main() local
229 int arg = getopt_long(argc, argv, "p:", long_options, &option_index); in main()
237 if (long_options[option_index].name == kPropertyContexts) { in main()
241 if (long_options[option_index].name == "out_" + p) { in main()
/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.cpp143 static struct option long_options[] = { in modprobe_main() local
156 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/apex/tools/
Dhost_apex_verifier.cc202 static const struct option long_options[] = { in main() local
218 int arg = getopt_long(argc, argv, "h", long_options, &option_index); in main()
226 std::string_view name(long_options[option_index].name); 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/logging/logcat/
Dlogcat.cpp653 static const struct option long_options[] = { in Run() local
687 int c = getopt_long(argc, argv, ":cdDhLt:T:gG:sQf:r:n:v:b:BSpP:m:e:", long_options, in Run()
694 if (long_options[option_index].name == pid_str) { in Run()
704 if (long_options[option_index].name == wrap_str) { in Run()
717 if (long_options[option_index].name == print_str) { in Run()
721 if (long_options[option_index].name == debug_str) { in Run()
725 if (long_options[option_index].name == id_str) { in Run()
728 if (long_options[option_index].name == uid_str) { in Run()
739 if (long_options[option_index].name == proto_str) { in Run()
/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/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/core/mkbootfs/
Dmkbootfs.c394 static const struct option long_options[] = { variable
425 while ((opt = getopt_long(argc, argv, "hd:f:n:", long_options, &unused)) != -1) { in main()
/system/tools/aidl/
Doptions.cpp308 static struct option long_options[] = { in Options() local
338 "I:N:p:d:o:h:abtv:i:", long_options, nullptr); in Options()
/system/core/trusty/utils/rpmb_dev/
Drpmb_dev.c520 struct option long_options[] = {{"size", required_argument, 0, 0}, in main() local
533 c = getopt_long(argc, argv, "d:", long_options, &option_index); in main()
/system/core/bootstat/
Dbootstat.cpp1486 static const struct option long_options[] = { in main() local
1505 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) { in main()
1509 const std::string option_name = long_options[option_index].name; in main()