Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/ntp/sntp/libopts/
H A Drestore.c44 tOptDesc * pOD = pOpts->pOptDesc; in fixupSavedOptionArgs()
55 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs()
59 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs()
66 tOptDesc * q = p->pOptDesc + (pOD - pOpts->pOptDesc); in fixupSavedOptionArgs()
110 memcpy(p + 1, pOpts->pOptDesc, (size_t)p->optCt * sizeof(tOptDesc)); in optionSaveState()
151 memcpy(pOpts->pOptDesc, p+1, (size_t)p->optCt * sizeof(tOptDesc)); in optionRestore()
175 tOptDesc * p = pOpts->pOptDesc; in optionFree()
209 memcpy(pOpts->pOptDesc, p+1, (size_t)p->optCt * sizeof(tOptDesc)); in optionFree()
H A Dcheck.c41 tOptDesc * p = pOpts->pOptDesc + *(must++); in has_conflict()
43 const tOptDesc * ood = pOpts->pOptDesc + must[-1]; in has_conflict()
55 tOptDesc * p = pOpts->pOptDesc + *(cant++); in has_conflict()
57 const tOptDesc * ood = pOpts->pOptDesc + cant[-1]; in has_conflict()
106 tOptDesc * pOD = pOpts->pOptDesc; in is_consistent()
H A Dmakeshell.c418 tOptDesc * pOptDesc = opts->pOptDesc; in emit_usage() local
422 if (pOptDesc->pOptProc == optionPrintVersion) { in emit_usage()
423 text_to_var(opts, TT_VERSION, pOptDesc); in emit_usage()
429 pOptDesc++; in emit_usage()
437 tOptDesc * od = opts->pOptDesc; in emit_wrapup()
471 tOptDesc * od = opts->pOptDesc; in emit_setup()
609 tOptDesc * od = opts->pOptDesc; in emit_flag()
644 tOptDesc * od = opts->pOptDesc; in emit_match_expr()
715 tOptDesc * od = opts->pOptDesc; in emit_long()
H A Dusage.c289 tOptDesc * od = opts->pOptDesc + ix; in print_offer_usage()
365 || ((opts->pOptDesc->fOptState & OPTST_DOCUMENT) == 0) ) in print_usage_details()
653 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts()
658 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts()
678 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts()
685 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts()
772 tOptDesc * od = opts->pOptDesc; in prt_vendor_opts()
794 od = opts->pOptDesc; in prt_vendor_opts()
874 opts->pOptDesc[ od->optEquivIndex ].pz_Name); in prt_extd_usage()
1093 tOptDesc * od = opts->pOptDesc; in prt_opt_usage()
[all …]
H A Dfind.c105 tOptDesc * pOD = opts->pOptDesc; in opt_ambiguities()
140 tOptDesc * pOD = opts->pOptDesc; in opt_match_ct()
211 tOptDesc * pOD = opts->pOptDesc + idx; in opt_set()
264 st->pOD = opts->pOptDesc + opts->specOptIdx.default_opt; in opt_unknown()
414 tOptDesc * pRes = pOpts->pOptDesc; in opt_find_short()
456 pRes = pOpts->pOptDesc + pOpts->specOptIdx.number_option; in opt_find_short()
H A Dautoopts.c139 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt()
157 (opts->pOptDesc + eqv_od->optActualIndex)->pz_Name); in handle_opt()
370 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; in optionProcess()
H A Denv.c209 st.pOD = pOpts->pOptDesc; in env_presets()
245 st.pOD = pOpts->pOptDesc + pOpts->specOptIdx.save_opts + 1; in env_presets()
H A Dalias.c74 new_od = opts->pOptDesc + alias; in optionAlias()
H A Dputshell.c378 tOptDesc * pOD = pOpts->pOptDesc + optIx; in optionPutShell()
399 tOptDesc * p = pOpts->pOptDesc + pOD->optActualIndex; in optionPutShell()
H A Dsave.c86 pzDir = opts->pOptDesc[ opts->specOptIdx.save_opts ].optArg.argString; in find_dir_name()
731 od = opts->pOptDesc; in optionSaveFile()
760 ? (opts->pOptDesc + od->optActualIndex) : od; in optionSaveFile()
H A Dreset.c49 tOptDesc * pOD = pOpts->pOptDesc; in optionResetEverything()
H A Dgenshell.h87 #define GENSHELL_DESC(n) (genshelloptOptions.pOptDesc[INDEX_GENSHELL_OPT_## n])
H A Dinit.c206 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets()
/freebsd-12.1/contrib/ntp/sntp/
H A Dsntp-opts.c824 (void)pOptDesc; in doOptDebug_Level()
838 doOptKod(tOptions* pOptions, tOptDesc* pOptDesc) in doOptKod() argument
851 optionFileCheck(pOptions, pOptDesc, type, mode); in doOptKod()
865 doOptKeyfile(tOptions* pOptions, tOptDesc* pOptDesc) in doOptKeyfile() argument
926 optionNumericVal(pOptions, pOptDesc); in doOptSteplimit()
929 if (pOptDesc->optArg.argInt < rng[ix].rmin) in doOptSteplimit()
942 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptSteplimit()
962 optionNumericVal(pOptions, pOptDesc); in doOptNtpversion()
965 if (pOptDesc->optArg.argInt < rng[ix].rmin) in doOptNtpversion()
978 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptNtpversion()
[all …]
H A Dsntp-opts.h103 #define DESC(n) (sntpOptions.pOptDesc[INDEX_OPT_## n])
/freebsd-12.1/contrib/ntp/util/
H A Dntp-keygen-opts.c1028 doOptImbits(tOptions* pOptions, tOptDesc* pOptDesc) in doOptImbits() argument
1036 optionNumericVal(pOptions, pOptDesc); in doOptImbits()
1039 if (pOptDesc->optArg.argInt < rng[ix].rmin) in doOptImbits()
1041 if (pOptDesc->optArg.argInt == rng[ix].rmin) in doOptImbits()
1045 if (pOptDesc->optArg.argInt <= rng[ix].rmax) in doOptImbits()
1052 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptImbits()
1074 (void)pOptDesc; in doOptDebug_Level()
1095 optionNumericVal(pOptions, pOptDesc); in doOptModulus()
1098 if (pOptDesc->optArg.argInt < rng[ix].rmin) in doOptModulus()
1111 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptModulus()
[all …]
H A Dntp-keygen-opts.h106 #define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
/freebsd-12.1/contrib/ntp/ntpq/
H A Dntpq-opts.c609 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument
619 (void)pOptDesc; in doOptDebug_Level()
631 doOptRefid(tOptions* pOptions, tOptDesc* pOptDesc) in doOptRefid() argument
639 (void) optionEnumerationVal(pOptions, pOptDesc, names, 2); in doOptRefid()
643 pOptDesc->optArg.argEnum = in doOptRefid()
644 optionEnumerationVal(pOptions, pOptDesc, names, 2); in doOptRefid()
816 tOptDesc * od = opts->pOptDesc; in translate_option_strings()
H A Dntpq-opts.h96 #define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
H A Dntpq.c3839 tOptDesc *pOptDesc in ntpq_custom_opt_handler() argument
3842 switch (pOptDesc->optValue) { in ntpq_custom_opt_handler()
3847 pOptDesc->optValue, pOptDesc->optValue); in ntpq_custom_opt_handler()
3851 ADDCMD(pOptDesc->pzLastArg); in ntpq_custom_opt_handler()
/freebsd-12.1/contrib/ntp/sntp/libopts/autoopts/
H A Doptions.h444 typedef void (tOptProc)(tOptions * pOpts, tOptDesc * pOptDesc);
634 tOptDesc * const pOptDesc; member
/freebsd-12.1/contrib/ntp/ntpdc/
H A Dntpdc-opts.c588 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument
598 (void)pOptDesc; in doOptDebug_Level()
771 tOptDesc * od = opts->pOptDesc; in translate_option_strings()
H A Dntpdc-opts.h95 #define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
/freebsd-12.1/contrib/ntp/ntpsnmpd/
H A Dntpsnmpd-opts.h88 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n])
/freebsd-12.1/contrib/ntp/ntpd/
H A Dntpd-opts.c1321 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument
1331 (void)pOptDesc; in doOptDebug_Level()
1504 tOptDesc * od = opts->pOptDesc; in translate_option_strings()

12