/freebsd/contrib/ntp/sntp/libopts/ |
H A D | init.c | 47 if (opts == NULL) { in validate_struct() 67 opts->pTransProc(); in validate_struct() 141 immediate_opts(tOptions * opts) in immediate_opts() argument 147 opts->pzCurOpt = NULL; in immediate_opts() 174 (*opts->pUsageProc)(opts, EXIT_FAILURE); in immediate_opts() 188 do_presets(tOptions * opts) in do_presets() argument 202 od = opts->pOptDesc + opts->specOptIdx.save_opts + 1; in do_presets() 252 opts->origArgVect = a_v; in ao_initialize() 275 optionSort(opts); in ao_initialize() 277 opts->curOptIdx = 1; in ao_initialize() [all …]
|
H A D | sort.c | 68 if (opts->curOptIdx >= opts->origArgCt) in must_arg() 105 if (opts->curOptIdx >= opts->origArgCt) in maybe_arg() 108 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in maybe_arg() 140 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in short_opt_ck() 143 opts->origArgVect[ (opts->curOptIdx)++ ]; in short_opt_ck() 152 if (opts->curOptIdx >= opts->origArgCt) in short_opt_ck() 155 opts->origArgVect[ (opts->curOptIdx)++ ]; in short_opt_ck() 213 if (opts->curOptIdx >= opts->origArgCt) { in optionSort() 218 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in optionSort() 239 opts->origArgVect[ (opts->curOptIdx)++ ]; in optionSort() [all …]
|
H A D | find.c | 191 (*opts->pUsageProc)(opts, EXIT_FAILURE); in opt_set() 242 (*opts->pUsageProc)(opts, EXIT_FAILURE); in opt_unknown() 266 (*opts->pUsageProc)(opts, EXIT_FAILURE); in opt_ambiguous() 356 (*opts->pUsageProc)(opts, EXIT_FAILURE); in opt_find_long() 466 opts->pzCurOpt = opts->origArgVect[ opts->curOptIdx++ ]; in get_opt_arg_must() 496 if (opts->curOptIdx > opts->origArgCt) { in get_opt_arg_must() 671 if ((opts->pzCurOpt != NULL) && (*opts->pzCurOpt != NUL)) in find_opt() 674 if (opts->curOptIdx >= opts->origArgCt) in find_opt() 677 opts->pzCurOpt = opts->origArgVect[ opts->curOptIdx ]; in find_opt() 744 return opt_find_long(opts, opts->pzCurOpt, o_st); in find_opt() [all …]
|
H A D | makeshell.c | 101 emit_usage(opts); in optionParseShell() 102 emit_setup(opts); in optionParseShell() 113 emit_long(opts); in optionParseShell() 123 emit_long(opts); in optionParseShell() 132 emit_flag(opts); in optionParseShell() 144 emit_long(opts); in optionParseShell() 150 emit_flag(opts); in optionParseShell() 158 emit_wrapup(opts); in optionParseShell() 272 fserr_exit(opts->pzProgName, "fork", opts->pzProgName); in text_to_var() 286 (*(opts->pUsageProc))(opts, EXIT_SUCCESS); in text_to_var() [all …]
|
H A D | proto.h | 35 regular_opts(tOptions * opts); 86 intern_file_load(tOptions * opts); 211 immediate_opts(tOptions * opts); 214 do_presets(tOptions * opts); 269 emit_usage(tOptions * opts); 272 emit_wrapup(tOptions * opts); 275 emit_setup(tOptions * opts); 284 emit_flag(tOptions * opts); 290 emit_long(tOptions * opts); 510 optionSort(tOptions * opts); [all …]
|
H A D | usage.c | 236 if (HAS_opt_usage_t(opts)) { in print_offer_usage() 341 if (opts->pzExplain != NULL) in print_usage_details() 349 prt_prog_detail(opts); in print_usage_details() 354 if (HAS_pzPkgDataDir(opts) && (opts->pzPackager != NULL)) in print_usage_details() 524 set_usage_flags(opts, NULL); in optionUsage() 561 fprintf(option_usage_fp, opts->pzUsageTitle, opts->pzProgName); in optionUsage() 742 ct = opts->presetOptCt; in prt_vendor_opts() 743 od = opts->pOptDesc; in prt_vendor_opts() 871 if ( NAMED_OPTS(opts) in prt_extd_usage() 981 prt_preamble(opts, od, at); in prt_one_usage() [all …]
|
H A D | autoopts.c | 200 (*opt_proc)(opts, od); in handle_opt() 242 regular_opts(tOptions * opts) in regular_opts() argument 269 (*opts->pUsageProc)(opts, EXIT_FAILURE); in regular_opts() 343 if (opts->curOptIdx <= 0) { in optionProcess() 344 opts->curOptIdx = 1; in optionProcess() 345 opts->pzCurOpt = NULL; in optionProcess() 364 tOptDesc * od = opts->pOptDesc + opts->specOptIdx.save_opts; in optionProcess() 367 optionSaveFile(opts); in optionProcess() 378 && (! is_consistent(opts))) in optionProcess() 379 (*opts->pUsageProc)(opts, EXIT_FAILURE); in optionProcess() [all …]
|
H A D | version.c | 112 emit_copy_note(tOptions * opts, FILE * fp) in emit_copy_note() argument 114 if (opts->pzCopyright != NULL) in emit_copy_note() 115 fputs(opts->pzCopyright, fp); in emit_copy_note() 117 if (opts->pzCopyNotice != NULL) in emit_copy_note() 118 fputs(opts->pzCopyNotice, fp); in emit_copy_note() 123 if (HAS_pzPkgDataDir(opts) && (opts->pzPackager != NULL)) { in emit_copy_note() 125 fputs(opts->pzPackager, fp); in emit_copy_note() 127 } else if (opts->pzBugAddr != NULL) { in emit_copy_note() 142 if (opts <= OPTPROC_EMIT_LIMIT) in print_ver() 160 set_usage_flags(opts, NULL); in print_ver() [all …]
|
H A D | time.c | 41 optionTimeVal(tOptions * opts, tOptDesc * od) in optionTimeVal() argument 45 if (INQUERY_CALL(opts, od)) in optionTimeVal() 51 if ((opts->fOptSet & OPTPROC_ERRSTOP) != 0) in optionTimeVal() 52 (*(opts->pUsageProc))(opts, EXIT_FAILURE); in optionTimeVal() 74 optionTimeDate(tOptions * opts, tOptDesc * od) in optionTimeDate() argument 77 if (INQUERY_CALL(opts, od)) in optionTimeDate() 80 if ((! HAS_pzPkgDataDir(opts)) || (opts->pzPkgDataDir == NULL)) in optionTimeDate() 113 fprintf(stderr, zNotDate, opts->pzProgName, in optionTimeDate() 115 if ((opts->fOptSet & OPTPROC_ERRSTOP) != 0) in optionTimeDate() 116 (*(opts->pUsageProc))(opts, EXIT_FAILURE); in optionTimeDate() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | llvm-readobj.cpp | 93 namespace opts { namespace 255 if (opts::Output == opts::OutputStyleTy::UNKNOWN) { in parseOptions() 419 if (opts::SectionDetails || opts::SectionHeaders) { in dumpObject() 420 if (opts::Output == opts::GNU && opts::SectionDetails) in dumpObject() 428 if (opts::ProgramHeaders || opts::SectionMapping == cl::BOU_TRUE) in dumpObject() 440 if (opts::Symbols || opts::DynamicSymbols) in dumpObject() 441 Dumper->printSymbols(opts::Symbols, opts::DynamicSymbols, in dumpObject() 630 if (opts::Output == opts::JSON) in createWriter() 661 opts::Output = opts::GNU; in llvm_readobj_main() 669 if (opts::All) { in llvm_readobj_main() [all …]
|
/freebsd/crypto/openssl/util/perl/OpenSSL/ |
H A D | ParseC.pm | 86 my %opts; 93 if $opts{debug}; 99 my %opts; 112 my %opts; 129 my %opts; 189 my %opts; 206 my %opts; 225 my %opts; 774 my %opts; 837 $opts{PLACE2} = $opts{filename}.":".$state{current_line}; [all …]
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_altq.c | 514 if (opts->pktsize > opts->maxpktsize) in eval_pfqueue_cbq() 515 opts->pktsize = opts->maxpktsize; in eval_pfqueue_cbq() 777 if ((opts->rtsc_m1 > 0 && opts->rtsc_m2 == 0) || in eval_pfqueue_hfsc() 778 (opts->lssc_m1 > 0 && opts->lssc_m2 == 0) || in eval_pfqueue_hfsc() 779 (opts->ulsc_m1 > 0 && opts->ulsc_m2 == 0)) { in eval_pfqueue_hfsc() 784 if ((opts->rtsc_m1 < opts->rtsc_m2 && opts->rtsc_m1 != 0) || in eval_pfqueue_hfsc() 785 (opts->lssc_m1 < opts->lssc_m2 && opts->lssc_m1 != 0) || in eval_pfqueue_hfsc() 786 (opts->ulsc_m1 < opts->ulsc_m2 && opts->ulsc_m1 != 0)) { in eval_pfqueue_hfsc() 845 if (opts->rtsc_m2 != 0 && opts->rtsc_m2 > opts->ulsc_m2) { in eval_pfqueue_hfsc() 962 if (opts->flags || opts->rtsc_m2 != 0 || opts->ulsc_m2 != 0 || in print_hfsc_opts() [all …]
|
H A D | pfctl_table.c | 139 if (opts & PF_OPT_NOACTION) in pfctl_table() 203 if (opts & PF_OPT_VERBOSE) in pfctl_table() 208 if (opts & PF_OPT_VERBOSE) in pfctl_table() 217 if (opts & PF_OPT_VERBOSE) in pfctl_table() 222 if (opts & PF_OPT_VERBOSE) in pfctl_table() 232 if (opts & PF_OPT_VERBOSE) in pfctl_table() 253 if (opts & PF_OPT_VERBOSE) in pfctl_table() 286 if (opts & PF_OPT_VERBOSE) in pfctl_table() 333 if ((opts & PF_OPT_VERBOSE) && !(opts & PF_OPT_VERBOSE2)) in pfctl_table() 562 if (opts & PF_OPT_QUIET) in xprintf() [all …]
|
H A D | pfctl.c | 1474 opts & PF_OPT_VERBOSE2, opts & PF_OPT_NUMERIC); in pfctl_show_nat() 1537 int opts; member 1551 print_state(s, a->opts); in pfctl_show_state() 1565 arg.opts = opts; in pfctl_show_states() 2133 pf.opts = opts; in pfctl_rules() 2814 if ((opts & PF_OPT_VERBOSE) && pfctl_show_anchors(dev, opts, sub)) in pfctl_show_anchors() 2852 if ((opts & PF_OPT_VERBOSE) && pfctl_show_eth_anchors(dev, opts, sub)) in pfctl_show_eth_anchors() 2874 int opts = 0; in main() local 2902 opts |= PF_OPT_QUIET; in main() 2934 opts |= PF_OPT_MERGE; in main() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/raidz_test/ |
H A D | raidz_test.c | 73 switch (opts->rto_v) { in print_opts() 311 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in init_raidz_golden_map() 317 opts->zio_golden->io_offset = zio_test->io_offset = opts->rto_offset; in init_raidz_golden_map() 318 opts->zio_golden->io_size = zio_test->io_size = opts->rto_dsize; in init_raidz_golden_map() 320 opts->zio_golden->io_abd = raidz_alloc(opts->rto_dsize); in init_raidz_golden_map() 329 opts->rm_golden = in init_raidz_golden_map() 337 opts->rm_golden = vdev_raidz_map_alloc(opts->zio_golden, in init_raidz_golden_map() 450 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in run_gen_check() 622 fini_raidz_map(&opts->zio_golden, &opts->rm_golden); in run_rec_check() 632 if (opts == NULL) in run_test() [all …]
|
/freebsd/crypto/openssh/ |
H A D | auth-options.c | 210 if (opts == NULL) in sshauthopt_free() 220 free(opts->env); in sshauthopt_free() 230 freezero(opts, sizeof(*opts)); in sshauthopt_free() 341 while (*opts && *opts != ' ' && *opts != '\t') { in sshauthopt_parse() 474 if (*opts == '\0' || *opts == ' ' || *opts == '\t') in sshauthopt_parse() 481 opts++; in sshauthopt_parse() 857 if ((opts = calloc(1, sizeof(*opts))) == NULL) in sshauthopt_deserialise() 900 &opts->permitopen, &opts->npermitopen)) != 0 || in sshauthopt_deserialise() 902 &opts->permitlisten, &opts->npermitlisten)) != 0) in sshauthopt_deserialise() 907 *optsp = opts; in sshauthopt_deserialise() [all …]
|
/freebsd/contrib/ncurses/menu/ |
H A D | m_opts.c | 61 opts &= ALL_MENU_OPTS; in MENU_EXPORT() 63 if (opts & ~ALL_MENU_OPTS) in MENU_EXPORT() 83 menu->opt = opts; in MENU_EXPORT() 85 if (opts & O_ONEVALUE) in MENU_EXPORT() 98 _nc_Default_Menu.opt = opts; in MENU_EXPORT() 125 opts &= ALL_MENU_OPTS; in menu_opts_off() 126 if (opts & ~ALL_MENU_OPTS) in menu_opts_off() 131 opts = cmenu->opt & ~opts; in menu_opts_off() 158 opts &= ALL_MENU_OPTS; in menu_opts_on() 159 if (opts & ~ALL_MENU_OPTS) in menu_opts_on() [all …]
|
H A D | m_item_opt.c | 59 opts &= ALL_ITEM_OPTS; in MENU_EXPORT() 61 if (opts & ~ALL_ITEM_OPTS) in MENU_EXPORT() 66 if (item->opt != opts) in MENU_EXPORT() 70 item->opt = opts; in MENU_EXPORT() 83 _nc_Default_Item.opt = opts; in MENU_EXPORT() 106 if (opts & ~ALL_ITEM_OPTS) in item_opts_off() 111 opts = citem->opt & ~(opts & ALL_ITEM_OPTS); in item_opts_off() 126 item_opts_on(ITEM *item, Item_Options opts) in item_opts_on() argument 134 opts &= ALL_ITEM_OPTS; in item_opts_on() 135 if (opts & ~ALL_ITEM_OPTS) in item_opts_on() [all …]
|
/freebsd/contrib/ncurses/form/ |
H A D | frm_opts.c | 49 set_form_opts(FORM *form, Form_Options opts) in FORM_EXPORT() 53 opts &= (Form_Options)ALL_FORM_OPTS; in FORM_EXPORT() 54 if ((unsigned)opts & ~ALL_FORM_OPTS) in FORM_EXPORT() 58 Normalize_Form(form)->opts = opts; in FORM_EXPORT() 89 form_opts_on(FORM *form, Form_Options opts) in form_opts_on() argument 93 opts &= (Form_Options)ALL_FORM_OPTS; in form_opts_on() 94 if ((unsigned)opts & ~ALL_FORM_OPTS) in form_opts_on() 98 Normalize_Form(form)->opts |= opts; in form_opts_on() 118 opts &= (Form_Options)ALL_FORM_OPTS; in form_opts_off() 119 if ((unsigned)opts & ~ALL_FORM_OPTS) in form_opts_off() [all …]
|
H A D | fld_opts.c | 55 set_field_opts(FIELD *field, Field_Options opts) in FORM_EXPORT() 61 opts &= ALL_FIELD_OPTS; in FORM_EXPORT() 62 if (!(opts & ~ALL_FIELD_OPTS)) in FORM_EXPORT() 96 field_opts_on(FIELD *field, Field_Options opts) in field_opts_on() argument 102 opts &= ALL_FIELD_OPTS; in field_opts_on() 103 if (!(opts & ~ALL_FIELD_OPTS)) in field_opts_on() 106 res = _nc_Synchronize_Options(field, field->opts | opts); in field_opts_on() 124 field_opts_off(FIELD *field, Field_Options opts) in field_opts_off() argument 130 opts &= ALL_FIELD_OPTS; in field_opts_off() 131 if (!(opts & ~ALL_FIELD_OPTS)) in field_opts_off() [all …]
|
/freebsd/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder_optimum_normal.c | 237 if (coder->opts[cur].prev_2) { in backward() 241 = coder->opts[cur].pos_prev_2; in backward() 260 *len_res = coder->opts[0].pos_prev; in backward() 350 make_literal(&coder->opts[1]); in helper1() 364 make_short_rep(&coder->opts[1]); in helper1() 376 coder->opts[1].pos_prev = 0; in helper1() 428 coder->opts[len].pos_prev = 0; in helper1() 456 if (coder->opts[cur].prev_2) { in helper2() 457 state = coder->opts[coder->opts[cur].pos_prev_2].state; in helper2() 482 && coder->opts[cur].prev_2) { in helper2() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | llvm-pdbutil.cpp | 99 namespace opts { namespace 1226 if (opts::pretty::Classes || opts::pretty::Enums || opts::pretty::Typedefs || in dumpPretty() 1227 opts::pretty::Funcsigs || opts::pretty::Pointers || in dumpPretty() 1228 opts::pretty::Arrays || opts::pretty::VTShapes) { in dumpPretty() 1458 {&opts::TypeCategory, &opts::FilterCategory, &opts::OtherOptions}); in main() 1539 propagate(opts::Filters.ExcludeTypes, opts::pretty::ExcludeTypes); in main() 1546 opts::Filters.PaddingThreshold = opts::pretty::PaddingThreshold; in main() 1547 opts::Filters.SizeThreshold = opts::pretty::SizeThreshold; in main() 1548 opts::Filters.JustMyCode = opts::dump::JustMyCode; in main() 1555 opts::Filters.DumpModi = opts::dump::DumpModi; in main() [all …]
|
/freebsd/tools/tools/mtxstat/ |
H A D | mtxstat.pl | 52 if ($opts{'a'}) { 54 if ($opts{'c'} || $opts{'m'} || $opts{'t'}); 56 } elsif ($opts{'c'}) { 58 if ($opts{'m'} || $opts{'t'}); 60 } elsif ($opts{'m'}) { 62 if ($opts{'t'}); 64 } elsif ($opts{'t'}) { 67 if ($opts{'l'}) { 71 $limit = $opts{'l'}; 90 if ($opts{'g'}) { [all …]
|
/freebsd/sys/sys/ |
H A D | mutex.h | 92 int opts); 418 _mtx_lock_flags((m), (opts), (file), (line)) 420 _mtx_unlock_flags((m), (opts), (file), (line)) 451 #define mtx_lock_flags(m, opts) \ argument 453 #define mtx_unlock_flags(m, opts) \ argument 455 #define mtx_lock_spin_flags(m, opts) \ argument 457 #define mtx_unlock_spin_flags(m, opts) \ argument 459 #define mtx_trylock_flags(m, opts) \ argument 461 #define mtx_trylock_spin_flags(m, opts) \ argument 526 #define MTX_SYSINIT(name, mtx, desc, opts) \ argument [all …]
|
/freebsd/usr.sbin/efibootmgr/ |
H A D | efibootmgr.c | 268 opts.loader = mangle_loader(opts.loader); in parse_args() 308 if (opts.order != NULL && *opts.order == '\0') in parse_args() 311 if ((opts.set_inactive || opts.set_active) && !opts.has_bootnum) in parse_args() 314 if (opts.delete && !opts.has_bootnum) in parse_args() 317 if (opts.set_bootnext && !opts.has_bootnum) in parse_args() 1117 make_boot_var(opts.label ? opts.label : "", in main() 1118 opts.loader, opts.kernel, opts.env, opts.dry_run, in main() 1119 opts.has_bootnum ? opts.bootnum : -1, opts.set_active); in main() 1120 else if (opts.set_active || opts.set_inactive ) in main() 1121 handle_activity(opts.bootnum, opts.set_active); in main() [all …]
|