Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 1828) sorted by relevance

12345678910>>...74

/freebsd/usr.sbin/usbconfig/
H A Dusbconfig.c307 reset_options(struct options *opt) in reset_options() argument
309 if (opt->buffer) in reset_options()
310 free(opt->buffer); in reset_options()
311 memset(opt, 0, sizeof(*opt)); in reset_options()
315 flush_command(struct libusb20_backend *pbe, struct options *opt) in flush_command() argument
322 if ((opt->got_suspend + in flush_command()
323 opt->got_resume + in flush_command()
324 opt->got_reset + in flush_command()
325 opt in flush_command()
547 struct options *opt = &options; main() local
[all...]
/freebsd/sbin/nvmecontrol/
H A Dpassthru.c68 } opt = { variable
99 #define ARG(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc } argument
102 ARG("opcode", 'o', arg_uint8, opt, opcode,
104 ARG("cdw2", '2', arg_uint32, opt, cdw2,
106 ARG("cdw3", '3', arg_uint32, opt, cdw3,
108 ARG("cdw10", '4', arg_uint32, opt, cdw10,
110 ARG("cdw11", '5', arg_uint32, opt, cdw11,
112 ARG("cdw12", '6', arg_uint32, opt, cdw12,
114 ARG("cdw13", '7', arg_uint32, opt, cdw13,
116 ARG("cdw14", '8', arg_uint32, opt, cdw14,
[all …]
H A Dperftest.c60 } opt = { variable
73 #define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc } argument
74 OPT("perthread", 'p', arg_none, opt, perthread,
76 OPT("threads", 'n', arg_uint32, opt, threads,
78 OPT("size", 's', arg_uint32, opt, size,
80 OPT("time", 't', arg_uint32, opt, time,
82 OPT("operation", 'o', arg_string, opt, op,
84 OPT("interrupt", 'i', arg_string, opt, intr,
86 OPT("flags", 'f', arg_string, opt, flags,
93 { arg_string, &opt.dev, "namespace-id" },
[all …]
H A Dfirmware.c61 } opt = { variable
69 #define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc } argument
70 OPT("activate", 'a', arg_none, opt, activate,
72 OPT("slot", 's', arg_uint32, opt, slot,
74 OPT("firmware", 'f', arg_path, opt, fw_img,
81 { arg_string, &opt.dev, "controller-id|namespace-id" },
89 .ctx_size = sizeof(opt),
243 if (opt.slot == 0) { in firmware()
248 } else if (opt in firmware()
[all...]
H A Dsanitize.c57 } opt = { variable
69 #define OPT(l, s, t, opt, addr, desc) { l, s, t, &opt.addr, desc } argument
70 OPT("ause", 'U', arg_none, opt, ause,
72 OPT("ndas", 'd', arg_none, opt, ndas,
74 OPT("oipbp", 'I', arg_none, opt, oipbp,
76 OPT("reportonly", 'r', arg_none, opt, reportonly,
78 OPT("owpass", 'c', arg_uint8, opt, owpass,
80 OPT("ovrpat", 'p', arg_uint32, opt, ovrpat,
82 OPT("sanact", 'a', arg_string, opt, sanact,
89 { arg_string, &opt.dev, "controller-id" },
[all …]
H A Dconnect.c39 } opt = { variable
57 params->tcp.header_digests = opt.header_digests; in tcp_association_params()
58 params->tcp.data_digests = opt.data_digests; in tcp_association_params()
73 aparams.sq_flow_control = opt.flow_control; in connect_nvm_controller()
83 io = calloc(opt.num_io_queues, sizeof(*io)); in connect_nvm_controller()
85 cntlid, subnqn, opt.hostnqn, opt.kato * 1000, &admin, io, in connect_nvm_controller()
86 opt.num_io_queues, opt.queue_size, &cdata); in connect_nvm_controller()
92 error = nvmf_handoff_host(admin, opt.num_io_queues, io, &cdata); in connect_nvm_controller()
167 qp = connect_discovery_adminq(trtype, address, port, opt.hostnqn); in discover_controllers()
186 if (opt.num_io_queues <= 0) in connect_fn()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h80 extern llvm::cl::opt<bool> Compilands;
81 extern llvm::cl::opt<bool> Symbols;
82 extern llvm::cl::opt<bool> Globals;
83 extern llvm::cl::opt<bool> Classes;
84 extern llvm::cl::opt<bool> Enums;
85 extern llvm::cl::opt<bool> Funcsigs;
86 extern llvm::cl::opt<bool> Arrays;
87 extern llvm::cl::opt<bool> Typedefs;
88 extern llvm::cl::opt<bool> Pointers;
89 extern llvm::cl::opt<boo
[all...]
/freebsd/crypto/heimdal/lib/krb5/
H A Dinit_creds.c57 krb5_get_init_creds_opt **opt) in krb5_get_init_creds_opt_alloc() argument
61 *opt = NULL; in krb5_get_init_creds_opt_alloc()
77 *opt = o; in krb5_get_init_creds_opt_alloc()
89 krb5_get_init_creds_opt *opt) in krb5_get_init_creds_opt_free() argument
91 if (opt == NULL || opt->opt_private == NULL) in krb5_get_init_creds_opt_free()
93 if (opt->opt_private->refcount < 1) /* abort ? */ in krb5_get_init_creds_opt_free()
95 if (--opt->opt_private->refcount == 0) { in krb5_get_init_creds_opt_free()
96 _krb5_get_init_creds_opt_free_pkinit(opt); in krb5_get_init_creds_opt_free()
97 free(opt->opt_private); in krb5_get_init_creds_opt_free()
99 memset(opt, 0, sizeof(*opt)); in krb5_get_init_creds_opt_free()
[all …]
H A Dverify_user.c92 krb5_verify_opt_init(krb5_verify_opt *opt) in krb5_verify_opt_init() argument
94 memset(opt, 0, sizeof(*opt)); in krb5_verify_opt_init()
95 opt->secure = TRUE; in krb5_verify_opt_init()
96 opt->service = "host"; in krb5_verify_opt_init()
100 krb5_verify_opt_alloc(krb5_context context, krb5_verify_opt **opt) in krb5_verify_opt_alloc() argument
102 *opt = calloc(1, sizeof(**opt)); in krb5_verify_opt_alloc()
103 if ((*opt) == NULL) { in krb5_verify_opt_alloc()
108 krb5_verify_opt_init(*opt); in krb5_verify_opt_alloc()
113 krb5_verify_opt_free(krb5_verify_opt *opt) in krb5_verify_opt_free() argument
115 free(opt); in krb5_verify_opt_free()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DCommonArgs.h31 const llvm::opt::ArgList &Args,
32 llvm::opt::ArgStringList &CmdArgs, const JobAction &JA);
35 const llvm::opt::ArgList &Args,
36 llvm::opt::ArgStringList &CmdArgs);
38 void claimNoWarnArgs(const llvm::opt::ArgList &Args);
40 bool addSanitizerRuntimes(const ToolChain &TC, const llvm::opt::ArgList &Args,
41 llvm::opt::ArgStringList &CmdArgs);
44 const llvm::opt::ArgList &Args,
45 llvm::opt::ArgStringList &CmdArgs);
47 bool addXRayRuntime(const ToolChain &TC, const llvm::opt::ArgList &Args,
[all …]
H A DClang.h34 static const char *getBaseInputName(const llvm::opt::ArgList &Args,
36 static const char *getBaseInputStem(const llvm::opt::ArgList &Args,
38 static const char *getDependencyFileName(const llvm::opt::ArgList &Args,
43 const Driver &D, const llvm::opt::ArgList &Args,
44 llvm::opt::ArgStringList &CmdArgs,
49 const llvm::opt::ArgList &Args, bool KernelOrKext,
50 llvm::opt::ArgStringList &CmdArgs) const;
52 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args,
53 llvm::opt::ArgStringList &CmdArgs) const;
55 const llvm::opt::ArgList &Args,
[all …]
H A DDarwin.h33 const llvm::opt::ArgList &Args);
39 void AddMachOArch(const llvm::opt::ArgList &Args,
40 llvm::opt::ArgStringList &CmdArgs) const;
60 const llvm::opt::ArgList &TCArgs,
66 void AddLinkArgs(Compilation &C, const llvm::opt::ArgList &Args,
67 llvm::opt::ArgStringList &CmdArgs,
79 const llvm::opt::ArgList &TCArgs,
93 const llvm::opt::ArgList &TCArgs,
105 const llvm::opt::ArgList &TCArgs,
119 const llvm::opt::ArgList &TCArgs,
[all …]
H A DFlang.h32 void addFortranDialectOptions(const llvm::opt::ArgList &Args,
33 llvm::opt::ArgStringList &CmdArgs) const;
40 void addPreprocessingOptions(const llvm::opt::ArgList &Args,
41 llvm::opt::ArgStringList &CmdArgs) const;
48 void addPicOptions(const llvm::opt::ArgList &Args,
49 llvm::opt::ArgStringList &CmdArgs) const;
56 void addTargetOptions(const llvm::opt::ArgList &Args,
57 llvm::opt::ArgStringList &CmdArgs) const;
63 void AddAArch64TargetArgs(const llvm::opt::ArgList &Args,
64 llvm::opt::ArgStringList &CmdArgs) const;
[all …]
/freebsd/usr.bin/indent/
H A Dargs.c97 {"bacc", PRO_BOOL, false, ON, &opt.blanklines_around_conditional_compilation},
98 {"badp", PRO_BOOL, false, ON, &opt.blanklines_after_declarations_at_proctop},
99 {"bad", PRO_BOOL, false, ON, &opt.blanklines_after_declarations},
100 {"bap", PRO_BOOL, false, ON, &opt.blanklines_after_procs},
101 {"bbb", PRO_BOOL, false, ON, &opt.blanklines_before_blockcomments},
102 {"bc", PRO_BOOL, true, OFF, &opt.leave_comma},
103 {"bl", PRO_BOOL, true, OFF, &opt.btype_2},
104 {"br", PRO_BOOL, true, ON, &opt.btype_2},
105 {"bs", PRO_BOOL, false, ON, &opt.Bill_Shannon},
106 {"cdb", PRO_BOOL, true, ON, &opt.comment_delimiter_on_blankline},
[all …]
/freebsd/contrib/ofed/opensm/opensm/
H A Dmain.c476 if (p_osm->subn.opt.daemon) in get_port_guid()
599 #define SET_STR_OPT(opt, val) do { \ argument
600 opt = val ? strdup(val) : NULL ; \
606 osm_subn_opt_t opt; in main() local
732 osm_subn_set_default_opt(&opt); in main()
734 if (osm_subn_parse_conf_file(config_file, &opt) < 0) in main()
764 opt.reassign_lids = TRUE; in main()
772 SET_STR_OPT(opt.port_prof_ignore_file, optarg); in main()
774 opt.port_prof_ignore_file); in main()
778 SET_STR_OPT(opt.hop_weights_file, optarg); in main()
[all …]
/freebsd/contrib/bsddialog/utility/
H A Dutil_cli.c278 printf(" bsddialog [--<opt>] --<dialog> <text> <rows> <cols> " in usage()
279 "[<arg>] [--<opt>]\n"); in usage()
356 struct options *opt) in parseargs() argument
365 memset(opt, 0, sizeof(struct options)); in parseargs()
366 opt->theme = -1; in parseargs()
367 opt->output_fd = STDERR_FILENO; in parseargs()
368 opt->max_input_form = 2048; in parseargs()
369 opt->mandatory_dialog = true; in parseargs()
383 opt->screen_mode = "smcup"; in parseargs()
386 if (opt in parseargs()
[all...]
H A Dbsddialog.c46 static void custom_text(struct options *opt, char *text, char *buf);
157 struct options opt; in main() local
178 parsed = parseargs(argc, argv, &conf, &opt); in main()
184 if (opt.mandatory_dialog && opt.dialogbuilder == NULL) in main()
187 if (opt.dialogbuilder == NULL && argc > 0) in main()
191 if (opt.mandatory_dialog == false && opt.clearscreen == false && in main()
192 opt.savethemefile == NULL && opt in main()
283 custom_text(struct options * opt,char * text,char * buf) custom_text() argument
[all...]
H A Dutil_builders.c47 error_args(opt->name, argc, argv); in infobox_builder()
55 error_args(opt->name, argc, argv); in msgbox_builder()
63 error_args(opt->name, argc, argv); in yesno_builder()
72 error_args(opt->name, argc, argv); in textbox_builder()
88 error_args(opt->name, argc - 1, argv + 1); in gauge_builder()
104 exit_error(true, "%s missing <mainperc>", opt->name); in mixedgauge_builder()
107 "bad %s pair number [<minilabel> <miniperc>]", opt->name); in mixedgauge_builder()
139 error_args(opt->name, argc - 1, argv + 1); in pause_builder()
168 dprintf(opt->output_fd, "%d", value); in rangebox_builder()
189 error_args(opt in date()
292 get_menu_items(int argc,char ** argv,bool setprefix,bool setdepth,bool setname,bool setdesc,bool setstatus,bool sethelp,unsigned int * nitems,struct bsddialog_menuitem ** items,int * focusitem,struct options * opt) get_menu_items() argument
342 print_menu_items(int output,int nitems,struct bsddialog_menuitem * items,int focusitem,struct options * opt) print_menu_items() argument
537 print_form_items(int output,int nitems,struct bsddialog_formitem * items,int focusitem,struct options * opt) print_form_items() argument
[all...]
/freebsd/crypto/heimdal/appl/telnet/telnetd/
H A Ddefs.h125 #define my_state_is_do(opt) (options[opt]&MY_STATE_DO) argument
126 #define my_state_is_will(opt) (options[opt]&MY_STATE_WILL) argument
127 #define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO) argument
128 #define my_want_state_is_will(opt) (options[opt]&MY_WANT_STATE_WILL) argument
130 #define my_state_is_dont(opt) (!my_state_is_do(opt)) argument
131 #define my_state_is_wont(opt) (!my_state_is_will(opt)) argument
132 #define my_want_state_is_dont(opt) (!my_want_state_is_do(opt)) argument
133 #define my_want_state_is_wont(opt) (!my_want_state_is_will(opt)) argument
135 #define set_my_state_do(opt) (options[opt] |= MY_STATE_DO) argument
136 #define set_my_state_will(opt) (options[opt] |= MY_STATE_WILL) argument
[all …]
/freebsd/contrib/unbound/util/
H A Dconfig_file.c468 #define S_NUMBER_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
471 #define S_NUMBER_NONZERO(str, var) if(strcmp(opt, str) == 0) \
474 #define S_UNSIGNED_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
477 #define S_SIZET_OR_ZERO(str, var) if(strcmp(opt, str) == 0) \
480 #define S_SIZET_NONZERO(str, var) if(strcmp(opt, str) == 0) \
483 #define S_YNO(str, var) if(strcmp(opt, str) == 0) \
486 #define S_MEMSIZE(str, var) if(strcmp(opt, str)==0) \
489 #define S_POW2(str, var) if(strcmp(opt, str)==0) \
492 #define S_STR(str, var) if(strcmp(opt, str)==0) \
495 #define S_STRLIST(str, var) if(strcmp(opt, str)==0) \
[all …]
/freebsd/tools/build/options/
H A Dmakeman57 opt=${var#MK_}
58 if [ $opt = "$prev_opt" ]; then
59 echo "$target: ignoring duplicate option $opt" >&2
62 prev_opt=$opt
65 echo ${opt} ${target}
68 echo ${opt}
93 while read opt targets ; do
95 echo "WITHOUT_${opt}"
97 echo "WITH_${opt}"
99 echo "WITHOUT_${opt}"
[all...]
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h37 namespace opt {
142 const llvm::opt::ArgList &Args;
145 const llvm::opt::Arg *const CachedRTTIArg;
204 const llvm::opt::ArgList &Args);
218 virtual std::string buildCompilerRTBasename(const llvm::opt::ArgList &Args,
230 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs,
231 llvm::opt::ArgStringList &CC1Args,
233 static void addExternCSystemInclude(const llvm::opt::ArgList &DriverArgs,
234 llvm::opt::ArgStringList &CC1Args,
237 addExternCSystemIncludeIfExists(const llvm::opt::ArgList &DriverArgs,
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dhxtool.c179 cms_verify_sd(struct cms_verify_sd_options *opt, int argc, char **argv) in cms_verify_sd() argument
193 if (opt->missing_revoke_flag) in cms_verify_sd()
197 lock_strings(lock, &opt->pass_strings); in cms_verify_sd()
210 certs_strings(context, "anchors", anchors, lock, &opt->anchors_strings); in cms_verify_sd()
211 certs_strings(context, "store", store, lock, &opt->certificate_strings); in cms_verify_sd()
213 if (opt->pem_flag) { in cms_verify_sd()
229 if (pd.detached_data && opt->signed_content_string == NULL) { in cms_verify_sd()
253 if (opt->signed_content_string) { in cms_verify_sd()
254 ret = _hx509_map_file_os(opt->signed_content_string, &signeddata); in cms_verify_sd()
256 errx(1, "map_file: %s: %d", opt->signed_content_string, ret); in cms_verify_sd()
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Dsh-flags.mk18 opt-ignerr.yes= -i
19 opt-jobs.yes= -j1
20 opt-loud.no= -d0 # side effect: make stdout unbuffered
21 opt-loud.yes= -dl # side effect: make stdout unbuffered
22 opt-no-action.yes= -n
23 opt-silent.yes= -s
24 opt-xtrace.yes= -dx
41 .for opt-ignerr in no yes
42 .for opt-jobs in no yes
43 .for opt-loud in no yes
[all …]
/freebsd/crypto/heimdal/admin/
H A Dadd.c49 kt_add(struct add_options *opt, int argc, char **argv) in kt_add() argument
61 if(opt->principal_string == NULL) { in kt_add()
64 opt->principal_string = buf; in kt_add()
66 ret = krb5_parse_name(context, opt->principal_string, &entry.principal); in kt_add()
68 krb5_warn(context, ret, "%s", opt->principal_string); in kt_add()
71 if(opt->enctype_string == NULL) { in kt_add()
76 opt->enctype_string = buf; in kt_add()
78 ret = krb5_string_to_enctype(context, opt->enctype_string, &enctype); in kt_add()
81 if(sscanf(opt->enctype_string, "%d", &t) == 1) in kt_add()
84 krb5_warn(context, ret, "%s", opt->enctype_string); in kt_add()
[all …]

12345678910>>...74