| /freebsd/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 | 380 tOptDesc * pOptDesc = opts->pOptDesc; in emit_usage() local 384 if (pOptDesc->pOptProc == optionPrintVersion) { in emit_usage() 385 text_to_var(opts, TT_VERSION, pOptDesc); in emit_usage() 391 pOptDesc++; in emit_usage() 399 tOptDesc * od = opts->pOptDesc; in emit_wrapup() 433 tOptDesc * od = opts->pOptDesc; in emit_setup() 571 tOptDesc * od = opts->pOptDesc; in emit_flag() 606 tOptDesc * od = opts->pOptDesc; in emit_match_expr() 677 tOptDesc * od = opts->pOptDesc; in emit_long()
|
| H A D | usage.c | 238 tOptDesc * od = opts->pOptDesc + ix; in print_offer_usage() 314 || ((opts->pOptDesc->fOptState & OPTST_DOCUMENT) == 0) ) in print_usage_details() 602 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 607 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 627 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 634 opts->pOptDesc[*opt_no].pz_Name); in prt_conflicts() 721 tOptDesc * od = opts->pOptDesc; in prt_vendor_opts() 743 od = opts->pOptDesc; in prt_vendor_opts() 823 opts->pOptDesc[ od->optEquivIndex ].pz_Name); in prt_extd_usage() 1042 tOptDesc * od = opts->pOptDesc; in prt_opt_usage() [all …]
|
| H A D | find.c | 75 tOptDesc * pOD = opts->pOptDesc; in opt_ambiguities() 110 tOptDesc * pOD = opts->pOptDesc; in opt_match_ct() 181 tOptDesc * pOD = opts->pOptDesc + idx; in opt_set() 234 st->pOD = opts->pOptDesc + opts->specOptIdx.default_opt; in opt_unknown() 384 tOptDesc * pRes = pOpts->pOptDesc; in opt_find_short() 426 pRes = pOpts->pOptDesc + pOpts->specOptIdx.number_option; in opt_find_short()
|
| H A D | autoopts.c | 133 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt() 151 (opts->pOptDesc + eqv_od->optActualIndex)->pz_Name); in handle_opt() 364 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; in optionProcess()
|
| H A D | env.c | 203 st.pOD = pOpts->pOptDesc; in env_presets() 239 st.pOD = pOpts->pOptDesc + pOpts->specOptIdx.save_opts + 1; in env_presets()
|
| H A D | save.c | 50 dir = opts->pOptDesc[ opts->specOptIdx.save_opts ].optArg.argString; in find_dir_name() 831 char const * dir = opts->pOptDesc[ opts->specOptIdx.save_opts ].optArg.argString; in optionSaveFile() 859 od = opts->pOptDesc; in optionSaveFile() 891 ? (opts->pOptDesc + od->optActualIndex) : od; in optionSaveFile()
|
| H A D | alias.c | 74 new_od = opts->pOptDesc + alias; in optionAlias()
|
| H A D | putshell.c | 362 tOptDesc * pOD = pOpts->pOptDesc + optIx; in optionPutShell() 383 tOptDesc * p = pOpts->pOptDesc + pOD->optActualIndex; in optionPutShell()
|
| H A D | reset.c | 49 tOptDesc * pOD = pOpts->pOptDesc; in optionResetEverything()
|
| H A D | genshell.h | 95 #define GENSHELL_DESC(n) (genshelloptOptions.pOptDesc[INDEX_GENSHELL_OPT_## n])
|
| H A D | init.c | 202 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets()
|
| /freebsd/contrib/ntp/sntp/ |
| H A D | sntp-opts.c | 815 * @param[in,out] pOptDesc the option descriptor for this option. 818 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 828 (void)pOptDesc; in doOptDebug_Level() 839 * @param[in,out] pOptDesc the option descriptor for this option. 842 doOptKod(tOptions* pOptions, tOptDesc* pOptDesc) in doOptKod() argument 855 optionFileCheck(pOptions, pOptDesc, type, mode); in doOptKod() 866 * @param[in,out] pOptDesc the option descriptor for this option. 869 doOptKeyfile(tOptions* pOptions, tOptDesc* pOptDesc) in doOptKeyfile() argument 882 optionFileCheck(pOptions, pOptDesc, type, mode); in doOptKeyfile() 891 * @param[in,out] pOptDesc th 894 doOptLogfile(tOptions * pOptions,tOptDesc * pOptDesc) doOptLogfile() argument 922 doOptSteplimit(tOptions * pOptions,tOptDesc * pOptDesc) doOptSteplimit() argument 958 doOptNtpversion(tOptions * pOptions,tOptDesc * pOptDesc) doOptNtpversion() argument [all...] |
| H A D | sntp-opts.h | 111 #define DESC(n) (sntpOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd/contrib/ntp/util/ |
| H A D | ntp-keygen-opts.c | 1028 * @param[in,out] pOptDesc the option descriptor for this option. 1032 doOptImbits(tOptions* pOptions, tOptDesc* pOptDesc) in doOptImbits() argument 1040 optionNumericVal(pOptions, pOptDesc); in doOptImbits() 1043 if (pOptDesc->optArg.argInt < rng[ix].rmin) in doOptImbits() 1045 if (pOptDesc->optArg.argInt == rng[ix].rmin) in doOptImbits() 1049 if (pOptDesc->optArg.argInt <= rng[ix].rmax) in doOptImbits() 1056 optionShowRange(pOptions, pOptDesc, VOIDP(rng), 1); in doOptImbits() 1065 * @param[in,out] pOptDesc the option descriptor for this option. 1068 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 1078 (void)pOptDesc; in doOptDebug_Level() 1091 doOptModulus(tOptions * pOptions,tOptDesc * pOptDesc) doOptModulus() argument [all...] |
| H A D | ntp-keygen-opts.h | 114 #define DESC(n) (ntp_keygenOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd/contrib/ntp/ntpq/ |
| H A D | ntpq-opts.c | 638 * @param[in,out] pOptDesc the option descriptor for this option. 641 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 651 (void)pOptDesc; in doOptDebug_Level() 660 * @param[in,out] pOptDesc the option descriptor for this option. 663 doOptRefid(tOptions* pOptions, tOptDesc* pOptDesc) in doOptRefid() argument 671 (void) optionEnumerationVal(pOptions, pOptDesc, names, 2); in doOptRefid() 675 pOptDesc->optArg.argEnum = in doOptRefid() 676 optionEnumerationVal(pOptions, pOptDesc, names, 2); in doOptRefid() 848 tOptDesc * od = opts->pOptDesc; in translate_option_strings() 896 /* referenced via ntpqOptions.pOptDesc in bogus_function() [all...] |
| H A D | ntpq-opts.h | 105 #define DESC(n) (ntpqOptions.pOptDesc[INDEX_OPT_## n])
|
| H A D | ntpq.c | 3886 tOptDesc *pOptDesc 3889 switch (pOptDesc->optValue) { in ntpq_custom_opt_handler() 3894 pOptDesc->optValue, pOptDesc->optValue); in ntpq_custom_opt_handler() 3898 if ((pOptDesc->fOptState & OPTST_SET_MASK) == OPTST_DEFINED) in ntpq_custom_opt_handler() 3900 ADDCMD(pOptDesc->pzLastArg); in ntpq_custom_opt_handler() 3904 if ((pOptDesc->fOptState & OPTST_SET_MASK) == OPTST_DEFINED) in ntpq_custom_opt_handler() 3890 ntpq_custom_opt_handler(tOptions * pOptions,tOptDesc * pOptDesc) ntpq_custom_opt_handler() argument
|
| /freebsd/contrib/ntp/sntp/libopts/autoopts/ |
| H A D | options.h | 445 typedef void (tOptProc)(tOptions * pOpts, tOptDesc * pOptDesc); 635 tOptDesc * const pOptDesc; member
|
| /freebsd/contrib/ntp/ntpdc/ |
| H A D | ntpdc-opts.c | 617 * @param[in,out] pOptDesc the option descriptor for this option. 620 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 630 (void)pOptDesc; in doOptDebug_Level() 803 tOptDesc * od = opts->pOptDesc; in translate_option_strings() 851 /* referenced via ntpdcOptions.pOptDesc->pzText */ in bogus_function() 854 /* referenced via ntpdcOptions.pOptDesc->pzText */ in bogus_function() 857 /* referenced via ntpdcOptions.pOptDesc->pzText */ in bogus_function() 860 /* referenced via ntpdcOptions.pOptDesc->pzText */ in bogus_function() 863 /* referenced via ntpdcOptions.pOptDesc->pzText */ in bogus_function() 866 /* referenced via ntpdcOptions.pOptDesc in bogus_function() [all...] |
| H A D | ntpdc-opts.h | 104 #define DESC(n) (ntpdcOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd/contrib/ntp/ntpsnmpd/ |
| H A D | ntpsnmpd-opts.h | 96 #define DESC(n) (ntpsnmpdOptions.pOptDesc[INDEX_OPT_## n])
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntpd-opts.c | 1323 * @param[in,out] pOptDesc the option descriptor for this option. 1326 doOptDebug_Level(tOptions* pOptions, tOptDesc* pOptDesc) in doOptDebug_Level() argument 1336 (void)pOptDesc; in doOptDebug_Level() 1509 tOptDesc * od = opts->pOptDesc; in translate_option_strings() 1557 /* referenced via ntpdOptions.pOptDesc->pzText */ in bogus_function() 1560 /* referenced via ntpdOptions.pOptDesc->pzText */ in bogus_function() 1563 /* referenced via ntpdOptions.pOptDesc->pzText */ in bogus_function() 1566 /* referenced via ntpdOptions.pOptDesc->pzText */ in bogus_function() 1569 /* referenced via ntpdOptions.pOptDesc->pzText */ in bogus_function() 1572 /* referenced via ntpdOptions.pOptDesc in bogus_function() [all...] |