Home
last modified time | relevance | path

Searched refs:pOptDesc (Results 1 – 25 of 29) sorted by relevance

12

/netbsd/src/external/bsd/ntp/dist/sntp/libopts/
Drestore.c46 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()
Dcheck.c43 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()
Dmakeshell.c382 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()
Dusage.c240 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 …]
Dfind.c77 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()
Dautoopts.c135 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()
Denv.c205 st.pOD = pOpts->pOptDesc; in env_presets()
241 st.pOD = pOpts->pOptDesc + pOpts->specOptIdx.save_opts + 1; in env_presets()
Dsave.c52 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()
Dputshell.c364 tOptDesc * pOD = pOpts->pOptDesc + optIx; in optionPutShell()
385 tOptDesc * p = pOpts->pOptDesc + pOD->optActualIndex; in optionPutShell()
Dalias.c76 new_od = opts->pOptDesc + alias; in optionAlias()
Dreset.c51 tOptDesc * pOD = pOpts->pOptDesc; in optionResetEverything()
Dgenshell.h97 #define GENSHELL_DESC(n) (genshelloptOptions.pOptDesc[INDEX_GENSHELL_OPT_## n])
Dinit.c204 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets()
/netbsd/src/external/bsd/ntp/dist/sntp/
Dsntp-opts.c820 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 …]
Dsntp-opts.h113 #define DESC(n) (sntpOptions.pOptDesc[INDEX_OPT_## n])
/netbsd/src/external/bsd/ntp/dist/util/
Dntp-keygen-opts.c1034 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 …]
Dntp-keygen-opts.h116 #define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
/netbsd/src/external/bsd/ntp/dist/ntpq/
Dntpq-opts.c643 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()
Dntpq.c3888 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()
Dntpq-opts.h107 #define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
/netbsd/src/external/bsd/ntp/dist/sntp/libopts/autoopts/
Doptions.h447 typedef void (tOptProc)(tOptions * pOpts, tOptDesc * pOptDesc);
637 tOptDesc * const pOptDesc; member
/netbsd/src/external/bsd/ntp/dist/ntpdc/
Dntpdc-opts.c622 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()
Dntpdc-opts.h106 #define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
/netbsd/src/external/bsd/ntp/dist/ntpsnmpd/
Dntpsnmpd-opts.h98 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n])
/netbsd/src/external/bsd/ntp/dist/ntpd/
Dntpd-opts.c1328 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()

12