Home
last modified time | relevance | path

Searched refs:optEntries (Results 1 - 1 of 1) sorted by relevance

/base/hiviewdfx/hilog/services/hilogtool/
H A Dmain.cpp1000 static OptEntry optEntries[] = { member
1029 static constexpr int OPT_ENTRY_CNT = sizeof(optEntries) / sizeof(OptEntry);
1037 if (optEntries[i].opt == 0) { in GetOpts()
1041 opts += optEntries[i].opt; in GetOpts()
1042 if (optEntries[i].needArg) { in GetOpts()
1046 if (optEntries[i].longOpt == nullptr) { 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()
1052 longOptions[longOptcount].val = optEntries[i].opt; in GetOpts()
1064 OptEntry *entry = &(optEntries[OPT_ENTRY_CN in GetOptEntry()
[all...]

Completed in 3 milliseconds