Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 1307) sorted by relevance

12345678910>>...53

/freebsd/contrib/ntp/sntp/libopts/
H A Dinit.c45 validate_struct(tOptions * opts, char const * pname) in validate_struct() argument
47 if (opts == NULL) { in validate_struct()
51 print_exit = ((opts->fOptSet & OPTPROC_SHELL_OUTPUT) != 0); in validate_struct()
57 if ( ((opts->fOptSet & OPTPROC_TRANSLATE) != 0) in validate_struct()
58 && (opts->pTransProc != NULL) in validate_struct()
65 if ((opts->fOptSet & OPTPROC_NO_XLAT_MASK) == OPTPROC_NXLAT_OPT) in validate_struct()
66 opts->fOptSet |= OPTPROC_NXLAT_OPT_CFG; in validate_struct()
67 opts->pTransProc(); in validate_struct()
75 if ( ( opts->structVersion != OPTIONS_STRUCT_VERSION ) in validate_struct()
76 && ( (opts->structVersion > OPTIONS_STRUCT_VERSION ) in validate_struct()
[all …]
H A Dsort.c38 must_arg(tOptions * opts, char * arg_txt, tOptState * pOS, in must_arg() argument
68 if (opts->curOptIdx >= opts->origArgCt) in must_arg()
71 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; in must_arg()
76 maybe_arg(tOptions * opts, char * arg_txt, tOptState * pOS, in maybe_arg() argument
105 if (opts->curOptIdx >= opts->origArgCt) in maybe_arg()
108 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in maybe_arg()
110 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; in maybe_arg()
119 short_opt_ck(tOptions * opts, char * arg_txt, tOptState * pOS, in short_opt_ck() argument
123 if (FAILED(opt_find_short(opts, (uint8_t)*arg_txt, pOS))) in short_opt_ck()
140 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in short_opt_ck()
[all …]
H A Dfind.c70 opt_ambiguities(tOptions * opts, char const * name, int nm_len) in opt_ambiguities() argument
73 NAMED_OPTS(opts) ? "" : LONG_OPT_MARKER; in opt_ambiguities()
75 tOptDesc * pOD = opts->pOptDesc; in opt_ambiguities()
90 } while (pOD++, (++idx < opts->optCt)); in opt_ambiguities()
104 opt_match_ct(tOptions * opts, char const * name, int nm_len, in opt_match_ct() argument
109 int idxLim = opts->optCt; in opt_match_ct()
110 tOptDesc * pOD = opts->pOptDesc; in opt_match_ct()
179 opt_set(tOptions * opts, char * arg, int idx, bool disable, tOptState * st) in opt_set() argument
181 tOptDesc * pOD = opts->pOptDesc + idx; in opt_set()
184 if ((opts->fOptSet & OPTPROC_ERRSTOP) == 0) in opt_set()
[all …]
H A Dmakeshell.c77 optionParseShell(tOptions * opts) in optionParseShell() argument
99 open_out(GENSHELL_OPT_ARG(SCRIPT), opts->pzProgName); in optionParseShell()
101 emit_usage(opts); in optionParseShell()
102 emit_setup(opts); in optionParseShell()
107 switch (opts->fOptSet & (OPTPROC_LONGOPT|OPTPROC_SHORTOPT)) { in optionParseShell()
113 emit_long(opts); in optionParseShell()
114 printf(LOPT_ARG_FMT, opts->pzPROGNAME); in optionParseShell()
123 emit_long(opts); in optionParseShell()
124 printf(LOPT_ARG_FMT, opts->pzPROGNAME); in optionParseShell()
132 emit_flag(opts); in optionParseShell()
[all …]
H A Dusage.c120 set_usage_flags(tOptions * opts, char const * flg_txt) in set_usage_flags() argument
157 opts->fOptSet &= fnm->fnm_mask; in set_usage_flags()
158 else opts->fOptSet |= fnm->fnm_mask; in set_usage_flags()
232 print_offer_usage(tOptions * opts) in print_offer_usage() argument
236 if (HAS_opt_usage_t(opts)) { in print_offer_usage()
237 int ix = opts->presetOptCt; in print_offer_usage()
238 tOptDesc * od = opts->pOptDesc + ix; in print_offer_usage()
240 if (++ix >= opts->optCt) in print_offer_usage()
244 switch (opts->fOptSet & (OPTPROC_LONGOPT | OPTPROC_SHORTOPT)) { in print_offer_usage()
263 switch (opts->fOptSet & (OPTPROC_LONGOPT | OPTPROC_SHORTOPT)) { in print_offer_usage()
[all …]
H A Dproto.h14 too_many_occurrences(tOptions * opts, tOptDesc * od);
29 handle_opt(tOptions * opts, tOptState * o_st);
32 next_opt(tOptions * opts, tOptState * o_st);
35 regular_opts(tOptions * opts);
53 file_preset(tOptions * opts, char const * fname, int dir);
59 handle_cfg(tOptions * opts, tOptState * ost, char * txt, int dir);
62 handle_directive(tOptions * opts, char * txt);
65 aoflags_directive(tOptions * opts, char * txt);
68 program_directive(tOptions * opts, char * txt);
71 handle_section(tOptions * opts, char * txt);
[all …]
H A Dautoopts.c102 handle_opt(tOptions * opts, tOptState * o_st) in handle_opt() argument
119 if ( ((opts->fOptSet & OPTPROC_PRESETTING) != 0) in handle_opt()
133 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt()
151 (opts->pOptDesc + eqv_od->optActualIndex)->pz_Name); in handle_opt()
195 return too_many_occurrences(opts, od); in handle_opt()
200 (*opt_proc)(opts, od); in handle_opt()
215 next_opt(tOptions * opts, tOptState * o_st) in next_opt() argument
218 tSuccess res = find_opt(opts, o_st); in next_opt()
229 return get_opt_arg(opts, o_st); in next_opt()
242 regular_opts(tOptions * opts) in regular_opts() argument
[all …]
H A Dversion.c112 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()
129 fprintf(fp, zPlsSendBugs, opts->pzBugAddr); in emit_copy_note()
138 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) in print_ver() argument
[all …]
H A Dtime.c41 optionTimeVal(tOptions * opts, tOptDesc * od) in optionTimeVal() argument
45 if (INQUERY_CALL(opts, od)) in optionTimeVal()
50 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString); 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()
93 size_t sz = sizeof(fmt) + strlen(opts->pzPkgDataDir); in optionTimeDate()
95 if (snprintf(envptr, sz, fmt, opts->pzPkgDataDir) >= (int)sz) in optionTimeDate()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp93 namespace opts { namespace
211 opts::Addrsig = Args.hasArg(OPT_addrsig); in parseOptions()
212 opts::All = Args.hasArg(OPT_all); in parseOptions()
213 opts::ArchSpecificInfo = Args.hasArg(OPT_arch_specific); in parseOptions()
214 opts::BBAddrMap = Args.hasArg(OPT_bb_addr_map); in parseOptions()
215 opts::PrettyPGOAnalysisMap = Args.hasArg(OPT_pretty_pgo_analysis_map); in parseOptions()
216 if (opts::PrettyPGOAnalysisMap && !opts::BBAddrMap) in parseOptions()
220 opts::CGProfile = Args.hasArg(OPT_cg_profile); in parseOptions()
221 opts::Decompress = Args.hasArg(OPT_decompress); in parseOptions()
222 opts::Demangle = Args.hasFlag(OPT_demangle, OPT_no_demangle, false); in parseOptions()
[all …]
/freebsd/crypto/openssl/util/perl/OpenSSL/
H A DParseC.pm86 my %opts;
88 %opts = %{$_[$#_]};
92 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\…
93 if $opts{debug};
99 my %opts;
101 %opts = %{$_[$#_]};
105 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\…
106 if $opts{debug};
112 my %opts;
114 %opts = %{$_[$#_]};
[all …]
H A DTest.pm138 my %opts = @_;
157 unless $opts{quiet};
201 my %opts = @_;
203 my $reverse = __cwd($subdir,%opts);
312 my %opts = @_;
317 my @prog = __wrap_cmd(shift @cmdargs, $opts{exe_shell} // ());
320 %opts);
326 my %opts = @_;
331 exe_shell => $ENV{EXE_SHELL}, %opts) -> (shift);
337 my %opts = @_;
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl_altq.c307 struct node_queue_opt *opts) in eval_pfaltq() argument
332 errors += eval_queue_opts(pa, opts, pa->ifbandwidth); in eval_pfaltq()
357 check_commit_altq(int dev, int opts) in check_commit_altq() argument
366 error = check_commit_cbq(dev, opts, if_ppa); in check_commit_altq()
369 error = check_commit_priq(dev, opts, if_ppa); in check_commit_altq()
372 error = check_commit_hfsc(dev, opts, if_ppa); in check_commit_altq()
375 error = check_commit_fairq(dev, opts, if_ppa); in check_commit_altq()
389 struct node_queue_opt *opts) in eval_pfqueue() argument
457 if (eval_queue_opts(pa, opts, in eval_pfqueue()
492 struct cbq_opts *opts; in eval_pfqueue_cbq() local
[all …]
H A Dpfctl.c312 pfctl_enable(int dev, int opts) in pfctl_enable() argument
324 if ((opts & PF_OPT_QUIET) == 0) in pfctl_enable()
335 pfctl_disable(int dev, int opts) in pfctl_disable() argument
345 if ((opts & PF_OPT_QUIET) == 0) in pfctl_disable()
356 pfctl_clear_stats(struct pfctl_handle *h, int opts) in pfctl_clear_stats() argument
361 if ((opts & PF_OPT_QUIET) == 0) in pfctl_clear_stats()
445 pfctl_clear_interface_flags(int dev, int opts) in pfctl_clear_interface_flags() argument
449 if ((opts & PF_OPT_NOACTION) == 0) { in pfctl_clear_interface_flags()
455 if ((opts & PF_OPT_QUIET) == 0) in pfctl_clear_interface_flags()
462 pfctl_flush_eth_rules(int dev, int opts, char *anchorname) in pfctl_flush_eth_rules() argument
[all …]
H A Dpfctl_table.c79 if ((!(opts & PF_OPT_NOACTION) || \
80 (opts & PF_OPT_DUMMYACTION)) && \
89 if ((!(opts & PF_OPT_NOACTION) || \
90 (opts & PF_OPT_DUMMYACTION)) && \
98 xprintf(opts, "%d table created", nadd); \
99 if (opts & PF_OPT_NOACTION) \
106 pfctl_clear_tables(const char *anchor, int opts) in pfctl_clear_tables() argument
108 return pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts); in pfctl_clear_tables()
112 pfctl_show_tables(const char *anchor, int opts) in pfctl_show_tables() argument
114 return pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts); in pfctl_show_tables()
[all …]
/freebsd/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c70 static void print_opts(raidz_test_opts_t *opts, boolean_t force) in print_opts() argument
73 switch (opts->rto_v) { in print_opts()
86 if (force || opts->rto_v >= D_INFO) { in print_opts()
96 opts->rto_ashift, /* -a */ in print_opts()
97 ilog2(opts->rto_offset), /* -o */ in print_opts()
98 opts->rto_expand ? "yes" : "no", /* -e */ in print_opts()
99 (u_longlong_t)opts->rto_expand_offset, /* -r */ in print_opts()
100 opts->rto_dcols, /* -d */ in print_opts()
101 ilog2(opts->rto_dsize), /* -s */ in print_opts()
102 opts->rto_sweep ? "yes" : "no", /* -S */ in print_opts()
[all …]
/freebsd/crypto/openssh/
H A Dauth-options.c77 cert_option_list(struct sshauthopt *opts, struct sshbuf *oblob, in cert_option_list() argument
103 opts->no_require_user_presence = 1; in cert_option_list()
106 opts->permit_x11_forwarding_flag = 1; in cert_option_list()
110 opts->permit_agent_forwarding_flag = 1; in cert_option_list()
114 opts->permit_port_forwarding_flag = 1; in cert_option_list()
117 opts->permit_pty_flag = 1; in cert_option_list()
120 opts->permit_user_rc = 1; in cert_option_list()
126 opts->require_verify = 1; in cert_option_list()
135 if (opts->force_command != NULL) { in cert_option_list()
141 opts->force_command = command; in cert_option_list()
[all …]
/freebsd/contrib/ncurses/menu/
H A Dm_opts.c57 set_menu_opts(MENU *menu, Menu_Options opts) in MENU_EXPORT()
59 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)menu, opts)); in MENU_EXPORT()
61 opts &= ALL_MENU_OPTS; in MENU_EXPORT()
63 if (opts & ~ALL_MENU_OPTS) in MENU_EXPORT()
71 if ((opts & O_ROWMAJOR) != (menu->opt & O_ROWMAJOR)) in MENU_EXPORT()
83 menu->opt = opts; in MENU_EXPORT()
85 if (opts & O_ONEVALUE) in MENU_EXPORT()
94 if (opts & O_SHOWDESC) /* this also changes the geometry */ in MENU_EXPORT()
98 _nc_Default_Menu.opt = opts; in MENU_EXPORT()
117 menu_opts_off(MENU *menu, Menu_Options opts) in menu_opts_off() argument
[all …]
H A Dm_item_opt.c55 set_item_opts(ITEM *item, Item_Options opts) in MENU_EXPORT()
57 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts)); in MENU_EXPORT()
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()
72 if ((!(opts & O_SELECTABLE)) && item->value) in MENU_EXPORT()
83 _nc_Default_Item.opt = opts; in MENU_EXPORT()
98 item_opts_off(ITEM *item, Item_Options opts) in item_opts_off() argument
104 T((T_CALLED("item_opts_off(%p,%d)"), (void *)item, opts)); in item_opts_off()
[all …]
/freebsd/contrib/ncurses/form/
H A Dfrm_opts.c49 set_form_opts(FORM *form, Form_Options opts) in FORM_EXPORT()
51 T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, 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()
75 returnCode((Form_Options)((unsigned)Normalize_Form(form)->opts & ALL_FORM_OPTS)); in form_opts()
89 form_opts_on(FORM *form, Form_Options opts) in form_opts_on() argument
91 T((T_CALLED("form_opts_on(%p,%d)"), (void *)form, opts)); in form_opts_on()
93 opts &= (Form_Options)ALL_FORM_OPTS; in form_opts_on()
94 if ((unsigned)opts & ~ALL_FORM_OPTS) in form_opts_on()
[all …]
H A Dfld_opts.c55 set_field_opts(FIELD *field, Field_Options opts) in FORM_EXPORT()
59 T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts)); in FORM_EXPORT()
61 opts &= ALL_FIELD_OPTS; in FORM_EXPORT()
62 if (!(opts & ~ALL_FIELD_OPTS)) in FORM_EXPORT()
63 res = _nc_Synchronize_Options(Normalize_Field(field), opts); in FORM_EXPORT()
80 returnCode(ALL_FIELD_OPTS & Normalize_Field(field)->opts); in field_opts()
96 field_opts_on(FIELD *field, Field_Options opts) in field_opts_on() argument
100 T((T_CALLED("field_opts_on(%p,%d)"), (void *)field, opts)); in field_opts_on()
102 opts &= ALL_FIELD_OPTS; in field_opts_on()
103 if (!(opts & ~ALL_FIELD_OPTS)) in field_opts_on()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp99 namespace opts {
880 ExitOnErr(Builder.commit(opts::yaml2pdb::YamlPdbOutputFile, &IgnoredOutGuid)); in yamlToPdb()
915 bool opts::pretty::shouldDumpSymLevel(SymLevel Search) { in dumpBytes()
932 bool opts::pretty::compareFunctionSymbols( in getTypeLength()
935 assert(opts::pretty::SymbolOrder != opts::pretty::SymbolSortMode::None); in compareFunctionSymbols()
937 if (opts::pretty::SymbolOrder == opts::pretty::SymbolSortMode::Name) in compareFunctionSymbols()
945 bool opts::pretty::compareDataSymbols( in compareFunctionSymbols()
948 assert(opts in compareDataSymbols()
101 namespace opts { global() namespace
[all...]
/freebsd/sys/sys/
H A Dmutex.h92 int opts);
95 int _mtx_trylock_flags_int(struct mtx *m, int opts LOCK_FILE_LINE_ARG_DEF);
96 int _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file,
100 void __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
102 void __mtx_unlock_sleep(volatile uintptr_t *c, uintptr_t v, int opts,
112 void _mtx_lock_spin_cookie(volatile uintptr_t *c, uintptr_t v, int opts,
118 void __mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file,
120 void __mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file,
122 void __mtx_lock_spin_flags(volatile uintptr_t *c, int opts, const char *file,
124 int __mtx_trylock_spin_flags(volatile uintptr_t *c, int opts,
[all …]
/freebsd/tools/tools/mtxstat/
H A Dmtxstat.pl41 my %opts; # Command-line options
50 getopts("acgl:mrt", \%opts)
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'}) {
[all …]
/freebsd/usr.sbin/efibootmgr/
H A Defibootmgr.c131 static bmgr_opts_t opts; variable
211 opts.set_inactive = true; in parse_args()
214 opts.set_active = true; in parse_args()
217 opts.has_bootnum = true; in parse_args()
221 opts.bootnum = strtoul(arg, NULL, 16); in parse_args()
224 opts.delete = true; in parse_args()
227 opts.copy = true; in parse_args()
228 opts.cp_src = strtoul(optarg, NULL, 16); in parse_args()
232 opts.create = true; in parse_args()
235 opts.dry_run = true; in parse_args()
[all …]

12345678910>>...53