Lines Matching defs:fFlags

64                          int iFirst, uint32_t fFlags)
66 AssertReturn(!(fFlags & ~(RTGETOPTINIT_FLAGS_OPTS_FIRST | RTGETOPTINIT_FLAGS_NO_STD_OPTS)), VERR_INVALID_PARAMETER);
76 pState->fFlags = fFlags;
82 Assert(!(paOptions[i].fFlags & ~RTGETOPT_VALID_MASK));
137 * @param fFlags Init flags.
139 static PCRTGETOPTDEF rtGetOptSearchLong(const char *pszOption, PCRTGETOPTDEF paOptions, size_t cOptions, uint32_t fFlags)
146 if ((pOpt->fFlags & RTGETOPT_REQ_MASK) != RTGETOPT_REQ_NOTHING)
160 || ( pOpt->fFlags & RTGETOPT_FLAG_ICASE
163 if (pOpt->fFlags & RTGETOPT_FLAG_INDEX)
172 else if (pOpt->fFlags & RTGETOPT_FLAG_INDEX)
180 || ( pOpt->fFlags & RTGETOPT_FLAG_ICASE
190 || ( pOpt->fFlags & RTGETOPT_FLAG_ICASE
197 if (!(fFlags & RTGETOPTINIT_FLAGS_NO_STD_OPTS))
200 || ( g_aStdOptions[i].fFlags & RTGETOPT_FLAG_ICASE
215 * @param fFlags Init flags.
217 static PCRTGETOPTDEF rtGetOptSearchShort(int chOption, PCRTGETOPTDEF paOptions, size_t cOptions, uint32_t fFlags)
227 if (!(fFlags & RTGETOPTINIT_FLAGS_NO_STD_OPTS))
243 * @param fFlags The value flags.
247 static int rtGetOptProcessValue(uint32_t fFlags, const char *pszValue, PRTGETOPTUNION pValueUnion)
255 switch (fFlags & ( RTGETOPT_REQ_MASK
409 AssertMsgFailed(("f=%#x\n", fFlags));
462 pOpt = rtGetOptSearchShort(*pState->pszNextShort, pState->paOptions, pState->cOptions, pState->fFlags);
507 pOpt = rtGetOptSearchLong(pszArgThis, pState->paOptions, pState->cOptions, pState->fFlags);
513 pOpt = rtGetOptSearchShort(pszArgThis[1], pState->paOptions, pState->cOptions, pState->fFlags);
528 if (pState->fFlags & RTGETOPTINIT_FLAGS_OPTS_FIRST)
559 if ((pOpt->fFlags & RTGETOPT_REQ_MASK) != RTGETOPT_REQ_NOTHING)
591 if (pOpt->fFlags & RTGETOPT_FLAG_INDEX)
638 int rc = rtGetOptProcessValue(pOpt->fFlags, pszValue, pValueUnion);
664 else if (pOpt->fFlags & RTGETOPT_FLAG_INDEX)
697 RTDECL(int) RTGetOptFetchValue(PRTGETOPTSTATE pState, PRTGETOPTUNION pValueUnion, uint32_t fFlags)
703 AssertReturn(!(fFlags & ~RTGETOPT_VALID_MASK), VERR_INVALID_PARAMETER);
704 AssertReturn((fFlags & RTGETOPT_REQ_MASK) != RTGETOPT_REQ_NOTHING, VERR_INVALID_PARAMETER);
724 return rtGetOptProcessValue(fFlags, pszValue, pValueUnion);