Home
last modified time | relevance | path

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

/system/bt/tools/bdtool/
Dbdtool.c304 int option_index = 0; in parse_args() local
305 int c = getopt_long_only(argc, argv, "", long_options, &option_index); in parse_args()
310 if (option_index == 0) { in parse_args()
315 if (option_index == 1) { in parse_args()
318 if (option_index == 2) { in parse_args()
321 if (option_index == 3) { in parse_args()
324 if (option_index == 4) { in parse_args()
327 if (option_index == 5) { in parse_args()
330 if (option_index == 6) { in parse_args()
333 if (option_index == 7) { in parse_args()
[all …]
/system/bt/test/headless/
Dget_options.cc71 void bluetooth::test::headless::GetOpt::ProcessOption(int option_index, in ProcessOption() argument
74 OptionType option_type = static_cast<OptionType>(option_index); in ProcessOption()
117 int option_index = 0; in GetOpt() local
118 int c = getopt_long_only(argc, argv, "d:l:u:", long_options, &option_index); in GetOpt()
123 ProcessOption(static_cast<OptionType>(option_index), optarg); in GetOpt()
Dget_options.h53 void ProcessOption(int option_index, char* optarg);
/system/extras/tests/icachetest/
Dicache_main.cpp54 int option_index = 0; in handleCommandLineArgments() local
55 while ((opt = getopt_long(argc, argv, OPTSTR, OPTIONS, &option_index)) >= 0) { in handleCommandLineArgments()
80 [[maybe_unused]] int option_index = handleCommandLineArgments(argc, argv); in main() local
81 [[maybe_unused]] int num_args = argc - option_index; in main()
/system/extras/verity/
Dbuild_verity_tree_main.cpp66 int option_index; 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/core/logcat/
Dlogcat.cpp556 int option_index = 0; in Run() local
599 &option_index); 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/extras/libperfmgr/tools/
DConfigVerifier.cc129 int option_index = 0; in main() local
130 int c = getopt_long(argc, argv, "c:ei:d:hv", opts, &option_index); in main()
/system/teeui/test/
Dteeui_device_config.cpp91 int option_index = 0; in initFromOptions() local
104 int c = getopt_long(argc, argv, "w:l:d:m:t:b:u:v:h?", options, &option_index); in initFromOptions()
/system/libufdt/tests/src/
Dufdt_gen_test_dts.c159 int option_index = 0; in main() local
160 int c = getopt_long(argc, argv, short_options, long_options, &option_index); in main()
/system/core/init/
Dhost_init_verifier.cpp215 int option_index; 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/nvram/hal/
Dfake_nvram.cpp75 int option_index = 0; in ParseCommandLine() local
76 int c = getopt_long(argc, argv, "", options, &option_index); in ParseCommandLine()
/system/extras/taskstats/
Dtaskstats.c277 int option_index; in main() local
279 &option_index); in main()
283 switch (option_index) { in main()
/system/core/adb/daemon/
Dmain.cpp303 int option_index = 0; in main() local
304 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/system/core/toolbox/
Dmodprobe.cpp101 int option_index = 0; in modprobe_main() local
118 while ((opt = getopt_long(argc, argv, "a::bd:Dhlqrsv", long_options, &option_index)) != -1) { in modprobe_main()
/system/core/trusty/utils/rpmb_dev/
Drpmb_dev.c538 int option_index = 0; in main() local
539 c = getopt_long(argc, argv, "d:", long_options, &option_index); in main()
547 switch (option_index) { in main()
/system/core/bootstat/
Dbootstat.cpp1464 int option_index = 0; 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()