Lines Matching defs:g_aStdOptions
50 static RTGETOPTDEF const g_aStdOptions[] =
57 /** The index of --help in g_aStdOptions. Used for some trickery. */
198 for (uint32_t i = 0; i < RT_ELEMENTS(g_aStdOptions); i++)
199 if ( !strcmp(pszOption, g_aStdOptions[i].pszLong)
200 || ( g_aStdOptions[i].fFlags & RTGETOPT_FLAG_ICASE
201 && !RTStrICmp(pszOption, g_aStdOptions[i].pszLong)))
202 return &g_aStdOptions[i];
229 for (uint32_t i = 0; i < RT_ELEMENTS(g_aStdOptions); i++)
230 if (g_aStdOptions[i].iShort == chOption)
231 return &g_aStdOptions[i];
233 return &g_aStdOptions[RTGETOPT_STD_OPTIONS_HELP_IDX];