| /netbsd/src/external/bsd/ntp/dist/sntp/libopts/ |
| D | restore.c | 46 tOptDesc * pOD = pOpts->pOptDesc; in fixupSavedOptionArgs() 57 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs() 61 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs() 68 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs() 112 memcpy(p + 1, pOpts->pOptDesc, (size_t)p->optCt * sizeof(tOptDesc)); in optionSaveState() 153 memcpy(pOpts->pOptDesc, p+1, (size_t)p->optCt * sizeof(tOptDesc)); in optionRestore() 177 tOptDesc * p = pOpts->pOptDesc; in optionFree() 211 memcpy(pOpts->pOptDesc, p+1, (size_t)p->optCt * sizeof(tOptDesc)); in optionFree()
|
| D | check.c | 43 tOptDesc * p = pOpts->pOptDesc + *(must++); in has_conflict() 45 const tOptDesc * ood = pOpts->pOptDesc + must[-1]; in has_conflict() 57 tOptDesc * p = pOpts->pOptDesc + *(cant++); in has_conflict() 59 const tOptDesc * ood = pOpts->pOptDesc + cant[-1]; in has_conflict() 108 tOptDesc * pOD = pOpts->pOptDesc; in is_consistent()
|
| D | makeshell.c | 382 tOptDesc * pOptDesc = opts->pOptDesc; in emit_usage() local 386 if (pOptDesc->pOptProc == optionPrintVersion) { in emit_usage() 387 text_to_var(opts, TT_VERSION, pOptDesc); in emit_usage() 393 pOptDesc++; in emit_usage() 401 tOptDesc * od = opts->pOptDesc; in emit_wrapup() 435 tOptDesc * od = opts->pOptDesc; in emit_setup() 573 tOptDesc * od = opts->pOptDesc; in emit_flag() 608 tOptDesc * od = opts->pOptDesc; in emit_match_expr() 679 tOptDesc * od = opts->pOptDesc; in emit_long()
|
| D | usage.c | 240 tOptDesc * od = opts->pOptDesc + ix; in print_offer_usage() 316 || ((opts->pOptDesc->fOptState & OPTST_DOCUMENT) == 0) ) in print_usage_details() 604 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 609 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 629 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 636 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 723 tOptDesc * od = opts->pOptDesc; in prt_vendor_opts() 745 od = opts->pOptDesc; in prt_vendor_opts() 825 opts->pOptDesc[ od->optEquivIndex ].pz_Name); in prt_extd_usage() 1044 tOptDesc * od = opts->pOptDesc; in prt_opt_usage() [all …]
|
| D | find.c | 77 tOptDesc * pOD = opts->pOptDesc; in opt_ambiguities() 112 tOptDesc * pOD = opts->pOptDesc; in opt_match_ct() 183 tOptDesc * pOD = opts->pOptDesc + idx; in opt_set() 236 st->pOD = opts->pOptDesc + opts->specOptIdx.default_opt; in opt_unknown() 386 tOptDesc * pRes = pOpts->pOptDesc; in opt_find_short() 428 pRes = pOpts->pOptDesc + pOpts->specOptIdx.number_option; in opt_find_short()
|
| D | autoopts.c | 135 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt() 153 (opts->pOptDesc + eqv_od->optActualIndex)->pz_Name); in handle_opt() 366 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; in optionProcess()
|
| D | env.c | 205 st.pOD = pOpts->pOptDesc; in env_presets() 241 st.pOD = pOpts->pOptDesc + pOpts->specOptIdx.save_opts + 1; in env_presets()
|
| D | save.c | 52 dir = opts->pOptDesc[ opts->specOptIdx.save_opts ].optArg.argString; in find_dir_name() 833 char const * dir = opts->pOptDesc[ opts->specOptIdx.save_opts ].optArg.argString; in optionSaveFile() 861 od = opts->pOptDesc; in optionSaveFile() 893 ? (opts->pOptDesc + od->optActualIndex) : od; in optionSaveFile()
|
| D | putshell.c | 364 tOptDesc * pOD = pOpts->pOptDesc + optIx; in optionPutShell() 385 tOptDesc * p = pOpts->pOptDesc + pOD->optActualIndex; in optionPutShell()
|
| D | alias.c | 76 new_od = opts->pOptDesc + alias; in optionAlias()
|
| D | reset.c | 51 tOptDesc * pOD = pOpts->pOptDesc; in optionResetEverything()
|
| D | genshell.h | 97 #define GENSHELL_DESC(n) (genshelloptOptions.pOptDesc[INDEX_GENSHELL_OPT_## n])
|
| D | init.c | 204 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets()
|
| /netbsd/src/external/bsd/ntp/dist/sntp/ |
| D | sntp-opts.c | 820 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 830 (void)pOptDesc; in doOptDebug_Level() 844 doOptKod(tOptions* pOptions, tOptDesc* pOptDesc) in doOptKod() argument 857 optionFileCheck(pOptions, pOptDesc, type, mode); in doOptKod() 871 doOptKeyfile(tOptions* pOptions, tOptDesc* pOptDesc) in doOptKeyfile() argument 884 optionFileCheck(pOptions, pOptDesc, type, mode); in doOptKeyfile() 896 doOptLogfile(tOptions* pOptions, tOptDesc* pOptDesc) in doOptLogfile() argument 909 optionFileCheck(pOptions, pOptDesc, type, mode); in doOptLogfile() 924 doOptSteplimit(tOptions* pOptions, tOptDesc* pOptDesc) in doOptSteplimit() argument 932 optionNumericVal(pOptions, pOptDesc); in doOptSteplimit() [all …]
|
| D | sntp-opts.h | 113 #define DESC(n) (sntpOptions.pOptDesc[INDEX_OPT_## n])
|
| /netbsd/src/external/bsd/ntp/dist/util/ |
| D | ntp-keygen-opts.c | 1034 doOptImbits(tOptions* pOptions, tOptDesc* pOptDesc) in doOptImbits() argument 1042 optionNumericVal(pOptions, pOptDesc); in doOptImbits() 1045 if (pOptDesc->optArg.argInt < rng[ix].rmin) in doOptImbits() 1047 if (pOptDesc->optArg.argInt == rng[ix].rmin) in doOptImbits() 1051 if (pOptDesc->optArg.argInt <= rng[ix].rmax) in doOptImbits() 1058 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptImbits() 1070 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 1080 (void)pOptDesc; in doOptDebug_Level() 1093 doOptModulus(tOptions* pOptions, tOptDesc* pOptDesc) in doOptModulus() argument 1101 optionNumericVal(pOptions, pOptDesc); in doOptModulus() [all …]
|
| D | ntp-keygen-opts.h | 116 #define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
|
| /netbsd/src/external/bsd/ntp/dist/ntpq/ |
| D | ntpq-opts.c | 643 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 653 (void)pOptDesc; in doOptDebug_Level() 665 doOptRefid(tOptions* pOptions, tOptDesc* pOptDesc) in doOptRefid() argument 673 (void) optionEnumerationVal(pOptions, pOptDesc, names, 2); in doOptRefid() 677 pOptDesc->optArg.argEnum = in doOptRefid() 678 optionEnumerationVal(pOptions, pOptDesc, names, 2); in doOptRefid() 850 tOptDesc * od = opts->pOptDesc; in translate_option_strings()
|
| D | ntpq.c | 3888 tOptDesc *pOptDesc in ntpq_custom_opt_handler() argument 3891 switch (pOptDesc->optValue) { in ntpq_custom_opt_handler() 3896 pOptDesc->optValue, pOptDesc->optValue); in ntpq_custom_opt_handler() 3900 if ((pOptDesc->fOptState & OPTST_SET_MASK) == OPTST_DEFINED) in ntpq_custom_opt_handler() 3902 ADDCMD(pOptDesc->pzLastArg); in ntpq_custom_opt_handler() 3906 if ((pOptDesc->fOptState & OPTST_SET_MASK) == OPTST_DEFINED) in ntpq_custom_opt_handler()
|
| D | ntpq-opts.h | 107 #define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libopts/autoopts/ |
| D | options.h | 447 typedef void (tOptProc)(tOptions * pOpts, tOptDesc * pOptDesc); 637 tOptDesc * const pOptDesc; member
|
| /netbsd/src/external/bsd/ntp/dist/ntpdc/ |
| D | ntpdc-opts.c | 622 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 632 (void)pOptDesc; in doOptDebug_Level() 805 tOptDesc * od = opts->pOptDesc; in translate_option_strings()
|
| D | ntpdc-opts.h | 106 #define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
|
| /netbsd/src/external/bsd/ntp/dist/ntpsnmpd/ |
| D | ntpsnmpd-opts.h | 98 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n])
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | ntpd-opts.c | 1328 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 1338 (void)pOptDesc; in doOptDebug_Level() 1511 tOptDesc * od = opts->pOptDesc; in translate_option_strings()
|