Searched refs:option_index (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/test/headless/ |
D | get_options.cc | 99 void bluetooth::test::headless::GetOpt::ProcessOption(int option_index, in ProcessOption() argument 102 OptionType option_type = static_cast<OptionType>(option_index); in ProcessOption() 172 int option_index = 0; in GetOpt() local 174 getopt_long_only(argc, argv, kShortArgs, long_options, &option_index); in GetOpt() 179 ProcessOption(static_cast<OptionType>(option_index), optarg); in GetOpt()
|
D | get_options.h | 61 void ProcessOption(int option_index, char* optarg);
|
/packages/services/Car/cpp/telemetry/cartelemetryd/sampleclient/ |
D | main.cpp | 70 int option_index = -1; in main() local 71 while ((opt = getopt_long_only(argc, argv, "", options, &option_index)) != -1) { in main() 90 std::cerr << "Invalid argument for " << options[option_index].name << " option" in main()
|
/packages/modules/adb/daemon/ |
D | main.cpp | 326 int option_index = 0; in main() local 327 int c = getopt_long(argc, argv, "", opts, &option_index); in main()
|