| /freebsd-12.1/contrib/ntp/sntp/libopts/ |
| H A D | restore.c | 44 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 D | check.c | 41 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 D | makeshell.c | 418 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 D | usage.c | 289 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 D | find.c | 105 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 D | autoopts.c | 139 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 D | env.c | 209 st.pOD = pOpts->pOptDesc; in env_presets() 245 st.pOD = pOpts->pOptDesc + pOpts->specOptIdx.save_opts + 1; in env_presets()
|
| H A D | alias.c | 74 new_od = opts->pOptDesc + alias; in optionAlias()
|
| H A D | putshell.c | 378 tOptDesc * pOD = pOpts->pOptDesc + optIx; in optionPutShell() 399 tOptDesc * p = pOpts->pOptDesc + pOD->optActualIndex; in optionPutShell()
|
| H A D | save.c | 86 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 D | reset.c | 49 tOptDesc * pOD = pOpts->pOptDesc; in optionResetEverything()
|
| H A D | genshell.h | 87 #define GENSHELL_DESC(n) (genshelloptOptions.pOptDesc[INDEX_GENSHELL_OPT_## n])
|
| H A D | init.c | 206 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets()
|
| /freebsd-12.1/contrib/ntp/sntp/ |
| H A D | sntp-opts.c | 824 (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 D | sntp-opts.h | 103 #define DESC(n) (sntpOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd-12.1/contrib/ntp/util/ |
| H A D | ntp-keygen-opts.c | 1028 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 D | ntp-keygen-opts.h | 106 #define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd-12.1/contrib/ntp/ntpq/ |
| H A D | ntpq-opts.c | 609 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 D | ntpq-opts.h | 96 #define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
|
| H A D | ntpq.c | 3839 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 D | options.h | 444 typedef void (tOptProc)(tOptions * pOpts, tOptDesc * pOptDesc); 634 tOptDesc * const pOptDesc; member
|
| /freebsd-12.1/contrib/ntp/ntpdc/ |
| H A D | ntpdc-opts.c | 588 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 D | ntpdc-opts.h | 95 #define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd-12.1/contrib/ntp/ntpsnmpd/ |
| H A D | ntpsnmpd-opts.h | 88 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd-12.1/contrib/ntp/ntpd/ |
| H A D | ntpd-opts.c | 1321 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()
|