Searched refs:longOptions (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 125 static struct option longOptions[] = {{"priority", required_argument, 0, 0}, in main() local 138 c = getopt_long(argc, argv, "+t:T:l", longOptions, &optionIndex); in main() 146 if (!strcmp(longOptions[optionIndex].name, "skip")) { in main() 148 } else if (!strcmp(longOptions[optionIndex].name, "proto")) { in main() 150 } else if (!strcmp(longOptions[optionIndex].name, "help")) { in main() 153 } else if (!strcmp(longOptions[optionIndex].name, "priority")) { in main()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 953 static const struct option longOptions[] = { in main() local 974 int ic = getopt_long(argc, argv, "", longOptions, &optionIndex); in main()
|
/frameworks/native/cmds/lshal/ |
D | ListCommand.cpp | 1102 std::unique_ptr<struct option[]> longOptions = getLongOptions(mOptions, &longOptFlag); in parseArgs() local 1113 shortOptions.c_str(), longOptions.get(), &optionIndex); in parseArgs()
|