Home
last modified time | relevance | path

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

/system/bt/tools/bdtool/
Dbdtool.c278 int option_index = 0; in parse_args() local
279 int c = getopt_long_only(argc, argv, "", long_options, &option_index); in parse_args()
285 if (option_index == 0) { in parse_args()
290 if (option_index == 1) { in parse_args()
293 if (option_index == 2) { in parse_args()
296 if (option_index == 3) { in parse_args()
299 if (option_index == 4) { in parse_args()
302 if (option_index == 5) { in parse_args()
305 if (option_index == 6) { in parse_args()
308 if (option_index == 7) { in parse_args()
[all …]
/system/core/bootstat/
Dbootstat.cpp268 int option_index = 0; in main() local
284 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) { in main()
288 const std::string option_name = long_options[option_index].name; in main()
/system/core/adb/daemon/
Dmain.cpp235 int option_index = 0; in main() local
236 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/system/core/logcat/
Dlogcat.cpp575 int option_index = 0; in main() local
609 long_options, &option_index); in main()
618 if (long_options[option_index].name == pid_str) { in main()
622 long_options[option_index].name, optarg); in main()
626 if (long_options[option_index].name == wrap_str) { in main()
634 long_options[option_index].name, optarg); in main()
639 long_options[option_index].name, in main()
644 if (long_options[option_index].name == print_str) { in main()
/system/extras/taskstats/
Dtaskstats.c270 int option_index; in main() local
272 &option_index); in main()
276 switch (option_index) { in main()
/system/extras/kexec_tools/
Dkexecload.c88 int option_index = 0; in main() local
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp211 int option_index = 0; in parseCmdLine() local
216 &option_index); in parseCmdLine()
/system/core/libziparchive/
Dzip_archive_test.cc615 int option_index; in main() local
616 const int c = getopt_long_only(argc, argv, "", options, &option_index); in main()