Home
last modified time | relevance | path

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

/system/bt/tools/bdtool/
Dbdtool.c305 int option_index = 0; in parse_args() local
306 int c = getopt_long_only(argc, argv, "", long_options, &option_index); in parse_args()
311 if (option_index == 0) { in parse_args()
316 if (option_index == 1) { in parse_args()
319 if (option_index == 2) { in parse_args()
322 if (option_index == 3) { in parse_args()
325 if (option_index == 4) { in parse_args()
328 if (option_index == 5) { in parse_args()
331 if (option_index == 6) { in parse_args()
334 if (option_index == 7) { in parse_args()
[all …]
/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/core/adb/daemon/
Dmain.cpp222 int option_index = 0; in main() local
223 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
/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/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.c270 int option_index; in main() local
272 &option_index); in main()
276 switch (option_index) { in main()
/system/core/bootstat/
Dbootstat.cpp379 int option_index = 0; in main() local
399 while ((opt = getopt_long(argc, argv, "hlpr:", long_options, &option_index)) != -1) { in main()
403 const std::string option_name = long_options[option_index].name; in main()
/system/core/logcat/
Dlogcat.cpp864 int option_index = 0; in __logcat() local
905 long_options, &option_index, &optctx); in __logcat()
911 if (long_options[option_index].name == pid_str) { in __logcat()
915 long_options[option_index].name, in __logcat()
921 if (long_options[option_index].name == wrap_str) { in __logcat()
929 long_options[option_index].name, in __logcat()
937 long_options[option_index].name, in __logcat()
942 if (long_options[option_index].name == print_str) { in __logcat()
946 if (long_options[option_index].name == debug_str) { in __logcat()
950 if (long_options[option_index].name == id_str) { in __logcat()
/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.cc654 int option_index; in main() local
655 const int c = getopt_long_only(argc, argv, "", options, &option_index); in main()