Searched refs:longOptions (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 128 static struct option longOptions[] = {{"pid", no_argument, 0, 0}, in main() local 142 c = getopt_long(argc, argv, "+t:T:l", longOptions, &optionIndex); in main() 150 if (!strcmp(longOptions[optionIndex].name, "skip")) { in main() 152 } else if (!strcmp(longOptions[optionIndex].name, "proto")) { in main() 154 } else if (!strcmp(longOptions[optionIndex].name, "help")) { in main() 157 } else if (!strcmp(longOptions[optionIndex].name, "priority")) { in main() 164 } else if (!strcmp(longOptions[optionIndex].name, "pid")) { in main()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 959 static const struct option longOptions[] = { in main() local 980 int ic = getopt_long(argc, argv, "", longOptions, &optionIndex); in main()
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 1106 std::unique_ptr<struct option[]> longOptions = getLongOptions(mOptions, &longOptFlag); in parseArgs() local 1117 shortOptions.c_str(), longOptions.get(), &optionIndex); in parseArgs()
|