Searched refs:optEntries (Results 1 – 1 of 1) sorted by relevance
924 static OptEntry optEntries[] = { variable953 static constexpr int OPT_ENTRY_CNT = sizeof(optEntries) / sizeof(OptEntry);961 if (optEntries[i].opt == 0) { in GetOpts()965 opts += optEntries[i].opt; in GetOpts()966 if (optEntries[i].needArg) { in GetOpts()970 if (optEntries[i].longOpt == nullptr) { in GetOpts()973 longOptions[longOptcount].name = optEntries[i].longOpt; in GetOpts()974 longOptions[longOptcount].has_arg = optEntries[i].needArg ? required_argument : no_argument; in GetOpts()976 longOptions[longOptcount].val = optEntries[i].opt; in GetOpts()988 OptEntry *entry = &(optEntries[OPT_ENTRY_CNT - 1]); in GetOptEntry()[all …]