Lines Matching defs:od

42 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg);
66 prt_enum_arg(FILE * fp, tOptDesc * od);
69 prt_set_arg(FILE * fp, tOptDesc * od);
72 prt_file_arg(FILE * fp, tOptDesc * od, tOptions * opts);
274 * @param[in] od the option descriptor to print
278 prt_entry(FILE * fp, tOptDesc * od, char const * l_arg)
290 (! DISABLED_OPT(od) || (od->optEquivIndex != NO_EQUIVALENT))
291 ? od->pz_Name
292 : od->pz_DisableName;
298 && (OPTST_GET_ARGTYPE(od->fOptState) != OPARG_TYPE_NUMERIC))
308 if (OPTST_GET_ARGTYPE(od->fOptState) == OPARG_TYPE_NUMERIC)
620 * @param[in] od the option descriptor with the enumerated value
623 prt_enum_arg(FILE * fp, tOptDesc * od)
625 uintptr_t val = od->optArg.argEnum;
631 (*(od->pOptProc))(OPTPROC_RETURN_VALNAME, od);
632 prt_entry(fp, od, VOIDP(od->optArg.argString));
634 od->optArg.argEnum = val;
644 * @param[in] od the option descriptor with a bit mask value type
647 prt_set_arg(FILE * fp, tOptDesc * od)
649 char * list = optionMemberList(od);
654 prt_entry(fp, od, buf);
664 * @param[in] od the option descriptor with a bit mask value type
668 prt_file_arg(FILE * fp, tOptDesc * od, tOptions * opts)
674 if (od->optCookie != NULL)
675 prt_entry(fp, od, od->optCookie);
679 opts->originalOptArgArray[od->optIndex].argString;
681 if (od->optArg.argString == orig)
684 prt_entry(fp, od, od->optArg.argString);
720 tOptDesc * od;
731 od = opts->pOptDesc;
744 if (UNUSED_OPT(od))
747 if ((od->fOptState & OPTST_DO_NOT_SAVE_MASK) != 0)
750 if ( (od->optEquivIndex != NO_EQUIVALENT)
751 && (od->optEquivIndex != od->optIndex))
759 p = ((od->fOptState & OPTST_EQUIVALENCE) != 0)
760 ? (opts->pOptDesc + od->optActualIndex) : od;
762 switch (OPTST_GET_ARGTYPE(od->fOptState)) {
764 prt_no_arg_opt(fp, p, od);
798 } while (od++, (--ct > 0));