Home | History | Annotate | Download | only in libopts

Lines Matching refs:pOD

39 enum_err(tOptions * pOpts, tOptDesc * pOD,
52 pOD->optArg.argString, pOD->pz_Name);
54 fprintf(option_usage_fp, zValidKeys, pOD->pz_Name);
143 if (OPTST_GET_ARGTYPE(pOD->fOptState) == OPARG_TYPE_MEMBERSHIP) {
157 * @param pOD the option descriptor for this option
162 find_name(char const * name, tOptions * pOpts, tOptDesc * pOD,
180 enum_err(pOpts, pOD, paz_names, (int)name_ct);
214 enum_err(pOpts, pOD, paz_names, (int)name_ct);
223 * arg: tOptDesc *, pOD, enumeration option description
232 optionKeywordName(tOptDesc * pOD, unsigned int enum_val)
237 (*(pOD->pOptProc))(OPTPROC_RETURN_VALNAME, &od );
247 * arg: tOptDesc *, pOD, enumeration option description
261 optionEnumerationVal(tOptions * pOpts, tOptDesc * pOD,
275 enum_err(pOpts, pOD, paz_names, (int)name_ct);
280 unsigned int ix = (unsigned int)pOD->optArg.argEnum;
294 unsigned int ix = (unsigned int)pOD->optArg.argEnum;
301 pOD->optArg.argString = paz_names[ix];
306 if ((pOD->fOptState & OPTST_RESET) != 0)
309 res = find_name(pOD->optArg.argString, pOpts, pOD, paz_names, name_ct);
311 if (pOD->fOptState & OPTST_ALLOC_ARG) {
312 AGFREE(pOD->optArg.argString);
313 pOD->fOptState &= ~OPTST_ALLOC_ARG;
314 pOD->optArg.argString = NULL;
322 set_memb_shell(tOptions * pOpts, tOptDesc * pOD, char const * const * paz_names,
329 uintptr_t bits = (uintptr_t)pOD->optCookie;