Lines Matching refs:longOptions
1031 static void GetOpts(string& opts, struct option(&longOptions)[OPT_ENTRY_CNT]) in GetOpts()
1049 longOptions[longOptcount].name = optEntries[i].longOpt; in GetOpts()
1050 longOptions[longOptcount].has_arg = optEntries[i].needArg ? required_argument : no_argument; in GetOpts()
1051 longOptions[longOptcount].flag = nullptr; in GetOpts()
1052 longOptions[longOptcount].val = optEntries[i].opt; in GetOpts()
1055 longOptions[longOptcount].name = nullptr; in GetOpts()
1056 longOptions[longOptcount].has_arg = 0; in GetOpts()
1057 longOptions[longOptcount].flag = nullptr; in GetOpts()
1058 longOptions[longOptcount].val = 0; in GetOpts()
1077 struct option longOptions[OPT_ENTRY_CNT]; in HilogEntry() local
1079 GetOpts(opts, longOptions); in HilogEntry()
1098 int choice = getopt_long(argc, argv, opts.c_str(), longOptions, &optIndex); in HilogEntry()