Home
last modified time | relevance | path

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

12345678910>>...20

/dragonfly/usr.sbin/usbconfig/
H A Dusbconfig.c305 if (opt->buffer) in reset_options()
307 memset(opt, 0, sizeof(*opt)); in reset_options()
333 opt->got_any--; in flush_command()
337 opt->got_any--; in flush_command()
341 opt->got_any--; in flush_command()
343 opt->vid, opt->pid, opt->lo_rev, opt->hi_rev, opt->quirkname); in flush_command()
346 opt->got_any--; in flush_command()
348 opt->vid, opt->pid, opt->lo_rev, opt->hi_rev, opt->quirkname); in flush_command()
351 opt->got_any--; in flush_command()
358 opt->got_any--; in flush_command()
[all …]
/dragonfly/sys/dev/disk/iscsi/initiator/
H A Disc_subr.c91 sp->opt.maxRecvDataSegmentLength = opt->maxRecvDataSegmentLength; in i_setopt()
96 sp->opt.maxXmitDataSegmentLength = opt->maxXmitDataSegmentLength; in i_setopt()
100 sp->opt.maxBurstLength = opt->maxBurstLength; in i_setopt()
107 sp->opt.targetAddress = i_strdupin(opt->targetAddress, 128); in i_setopt()
113 sp->opt.targetName = i_strdupin(opt->targetName, 128); in i_setopt()
119 sp->opt.initiatorName = i_strdupin(opt->initiatorName, 128); in i_setopt()
123 if(opt->maxluns > 0) { in i_setopt()
126 sp->opt.maxluns = opt->maxluns; in i_setopt()
154 i_freeopt(isc_opt_t *opt) in i_freeopt() argument
158 opt->targetAddress = NULL; in i_freeopt()
[all …]
/dragonfly/usr.bin/indent/
H A Dargs.c102 {"br", PRO_BOOL, true, ON, &opt.btype_2},
105 {"cd", PRO_INT, 0, 0, &opt.decl_com_ind},
110 {"c", PRO_INT, 33, 0, &opt.com_ind},
111 {"di", PRO_INT, 16, 0, &opt.decl_indent},
115 {"ei", PRO_BOOL, true, ON, &opt.else_if},
120 {"i", PRO_INT, 8, 0, &opt.ind_size},
125 {"l", PRO_INT, 78, 0, &opt.max_col},
158 {"ts", PRO_INT, 8, 0, &opt.tabsize},
217 if (opt.verbose) in scan_profile()
248 opt.case_indent = 0.0; /* -cli0.0 */ in set_defaults()
[all …]
H A Dindent.c259 opt.block_comment_max_col = opt.max_col; in main()
261 opt.local_decl_indent = opt.decl_indent; in main()
263 opt.decl_com_ind = opt.ljust_decl ? (opt.com_ind <= 10 ? 2 : opt.com_ind - 8) : opt.com_ind; in main()
265 opt.continuation_indent = opt.ind_size; in main()
277 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1; in main()
970 dec_ind = opt.decl_indent > 0 ? opt.decl_indent : i; in main()
971 tabs_to_var = (opt.use_tabs ? opt.decl_indent > 0 : 0); in main()
1057 opt.max_col - opt.tabsize)) in main()
1273 if ((ps.ind_level * opt.ind_size) % opt.tabsize != 0) { in indent_declaration()
1274 pos += (ps.ind_level * opt.ind_size) % opt.tabsize; in indent_declaration()
[all …]
H A Dpr_comment.c87 adj_max_col = opt.max_col; in pr_comment()
121 ps.com_col = (ps.ind_level - opt.unindent_displace) * opt.ind_size + 1; in pr_comment()
122 adj_max_col = opt.block_comment_max_col; in pr_comment()
124 ps.com_col = 1 + !opt.format_col1_comments; in pr_comment()
136 ps.com_col = ps.decl_on_line || ps.ind_level == 0 ? opt.decl_com_ind : opt.com_ind; in pr_comment()
138 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()
191 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
207 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
233 if (opt.star_comment_cont) in pr_comment()
237 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
[all …]
H A Dio.c85 if (opt.swallow_optional_blanklines) { in dump_line()
165 com_st++, target += opt.tabsize; in dump_line()
170 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1; in dump_line()
227 if (!opt.lineup_to_parens) in compute_code_target()
228 target_col += opt.continuation_indent * in compute_code_target()
229 (2 * opt.continuation_indent == opt.ind_size ? 1 : ps.paren_level); in compute_code_target()
230 else if (opt.lineup_to_parens_always) in compute_code_target()
246 target_col += opt.continuation_indent; in compute_code_target()
404 if (opt.use_tabs) { in pad_output()
407 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) { in pad_output()
[all …]
/dragonfly/libexec/telnetd/
H A Ddefs.h184 #define my_state_is_do(opt) (options[opt]&MY_STATE_DO) argument
185 #define my_state_is_will(opt) (options[opt]&MY_STATE_WILL) argument
186 #define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO) argument
189 #define my_state_is_dont(opt) (!my_state_is_do(opt)) argument
190 #define my_state_is_wont(opt) (!my_state_is_will(opt)) argument
191 #define my_want_state_is_dont(opt) (!my_want_state_is_do(opt)) argument
192 #define my_want_state_is_wont(opt) (!my_want_state_is_will(opt)) argument
194 #define set_my_state_do(opt) (options[opt] |= MY_STATE_DO) argument
195 #define set_my_state_will(opt) (options[opt] |= MY_STATE_WILL) argument
199 #define set_my_state_dont(opt) (options[opt] &= ~MY_STATE_DO) argument
[all …]
/dragonfly/contrib/dhcpcd/src/
H A Ddhcp-common.c151 i++, opt++) in vivso_find()
153 return opt; in vivso_find()
156 i++, opt++) in vivso_find()
158 return opt; in vivso_find()
210 for (i = 0, opt = odopts; i < odopts_len; i++, opt++) { in make_option_mask()
211 if (opt->var == NULL || opt->option == 0) in make_option_mask()
225 for (i = 0, opt = dopts; i < dopts_len; i++, opt++) { in make_option_mask()
886 if (opt->embopts_len == 0 && opt->encopts_len == 0) { in dhcp_envoption()
897 prefix, opt->var, ++opt->index) == -1) in dhcp_envoption()
995 opt->index = 0; in dhcp_zero_index()
[all …]
/dragonfly/sbin/newfs_hammer2/
H A Dnewfs_hammer2.c53 hammer2_mkfs_options_t opt; in main() local
60 hammer2_mkfs_init(&opt); in main()
83 opt.Hammer2Version); in main()
91 if (opt.NLabels >= MAXLABELS) { in main()
105 opt.Label[opt.NLabels++] = strdup(optarg); in main()
108 parse_fs_size(&opt, optarg); in main()
111 opt.DebugOpt = 1; in main()
146 hammer2_mkfs(ac, av, &opt); in main()
151 hammer2_mkfs_cleanup(&opt); in main()
162 opt->NFileSystemSizes = 0; in parse_fs_size()
[all …]
H A Dmkfs_hammer2.c94 memset(opt, 0, sizeof(*opt)); in hammer2_mkfs_init()
97 opt->Label[opt->NLabels++] = strdup("LOCAL"); in hammer2_mkfs_init()
123 free(opt->Label[i]); in hammer2_mkfs_cleanup()
134 opt->Label[opt->NLabels++] = strdup("BOOT"); in adjust_options()
137 opt->Label[opt->NLabels++] = strdup("ROOT"); in adjust_options()
140 opt->Label[opt->NLabels++] = strdup("DATA"); in adjust_options()
373 opt->CompType); in format_hammer2_inode()
375 opt->CheckType); in format_hammer2_inode()
761 adjust_options(&fso, opt); in hammer2_mkfs()
787 fso.free_size = fso.total_size - reserved_size - opt->BootAreaSize - opt->AuxAreaSize; in hammer2_mkfs()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dopts-global.c135 const char *opt; in print_ignored_options() local
151 if (opt[1] == 'W' && opt[2] == 'n' && opt[3] == 'o' && opt[4] == '-' in unknown_option_callback()
331 cl_deferred_option *opt; in handle_common_deferred_options() local
345 FOR_EACH_VEC_ELT (v, i, opt) in handle_common_deferred_options()
347 switch (opt->opt_index) in handle_common_deferred_options()
381 opt->arg); in handle_common_deferred_options()
387 enable_pass (opt->arg); in handle_common_deferred_options()
389 disable_pass (opt->arg); in handle_common_deferred_options()
399 add_new_plugin (opt->arg); in handle_common_deferred_options()
415 if (!opt->value) in handle_common_deferred_options()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
H A Dopts-global.c135 const char *opt; in print_ignored_options() local
149 const char *opt = decoded->arg; in unknown_option_callback() local
151 if (opt[1] == 'W' && opt[2] == 'n' && opt[3] == 'o' && opt[4] == '-' in unknown_option_callback()
318 cl_deferred_option *opt; in handle_common_deferred_options() local
327 switch (opt->opt_index) in handle_common_deferred_options()
357 enable_pass (opt->arg); in handle_common_deferred_options()
359 disable_pass (opt->arg); in handle_common_deferred_options()
369 add_new_plugin (opt->arg); in handle_common_deferred_options()
385 if (!opt->value) in handle_common_deferred_options()
390 set_random_seed (opt->arg); in handle_common_deferred_options()
[all …]
H A Dgenmultilib163 echo ${initial}${opt}/
184 for opt in $@; do
185 case "$opt" in
193 *) echo ${opt};;
211 if [ "$1" != "${opt}" ]; then
259 if [ "$1" != "${opt}" ]; then
308 optout="${optout} !${opt}"
360 for opt in ${setopts}; do
362 optout="${optout} ${opt}"
364 optout="${optout} !${opt}"
[all …]
/dragonfly/usr.bin/telnet/
H A Dexterns.h148 #define my_state_is_do(opt) (options[opt]&MY_STATE_DO) argument
149 #define my_state_is_will(opt) (options[opt]&MY_STATE_WILL) argument
150 #define my_want_state_is_do(opt) (options[opt]&MY_WANT_STATE_DO) argument
153 #define my_state_is_dont(opt) (!my_state_is_do(opt)) argument
154 #define my_state_is_wont(opt) (!my_state_is_will(opt)) argument
155 #define my_want_state_is_dont(opt) (!my_want_state_is_do(opt)) argument
156 #define my_want_state_is_wont(opt) (!my_want_state_is_will(opt)) argument
158 #define set_my_state_do(opt) {options[opt] |= MY_STATE_DO;} argument
159 #define set_my_state_will(opt) {options[opt] |= MY_STATE_WILL;} argument
163 #define set_my_state_dont(opt) {options[opt] &= ~MY_STATE_DO;} argument
[all …]
/dragonfly/contrib/tcpdump/
H A Dprint-mptcp.c283 opt += 4; in mp_dss_print()
296 opt += 8; in mp_dss_print()
302 opt += 4; in mp_dss_print()
321 opt += 8; in mp_dss_print()
327 opt += 4; in mp_dss_print()
333 opt += 4; in mp_dss_print()
337 ND_PRINT(" len %u", GET_BE_U_2(opt)); in mp_dss_print()
338 opt += 2; in mp_dss_print()
436 ND_PRINT(" seq %" PRIu64, GET_BE_U_8(opt + 4)); in mp_fail_print()
470 const struct mptcp_option *opt; in mptcp_print() local
[all …]
/dragonfly/usr.sbin/ppp/
H A Dlcp.c668 struct fsm_opt *opt, nak; in LcpDecodeConfig() local
678 opt->hdr.len); in LcpDecodeConfig()
680 switch (opt->hdr.id) { in LcpDecodeConfig()
713 fsm_rej(dec, opt); in LcpDecodeConfig()
771 fsm_ack(dec, opt); in LcpDecodeConfig()
802 fsm_ack(dec, opt); in LcpDecodeConfig()
815 chap_type = opt->hdr.len == 5 ? opt->data[2] : 0; in LcpDecodeConfig()
938 fsm_rej(dec, opt); in LcpDecodeConfig()
1190 mp_Enddisc(opt->data[0], opt->data + 1, opt->hdr.len - 3)); in LcpDecodeConfig()
1204 memcpy(p->dl->peer.enddisc.address, opt->data + 1, opt->hdr.len - 3); in LcpDecodeConfig()
[all …]
/dragonfly/crypto/libressl/apps/openssl/
H A Dsmime.c265 .opt.argvfunc = smime_opt_cipher,
271 .opt.argvfunc = smime_opt_cipher,
277 .opt.argvfunc = smime_opt_cipher,
339 .opt.arg = &smime_config.CAfile,
346 .opt.arg = &smime_config.CApath,
395 .opt.arg = &smime_config.from,
402 .opt.arg = &smime_config.infile,
423 .opt.argfunc = smime_opt_inkey,
437 .opt.argfunc = smime_opt_md,
563 .opt.argfunc = smime_opt_signer,
[all …]
H A Dcms.c542 .opt.arg = &cms_config.CAfile,
549 .opt.arg = &cms_config.CApath,
675 .opt.arg = &cms_config.from,
682 .opt.arg = &cms_config.infile,
703 .opt.argfunc = cms_opt_inkey,
724 .opt.argfunc = cms_opt_keyopt,
731 .opt.argfunc = cms_opt_md,
800 .opt.flag = &cms_config.noout,
848 .opt.func = cms_opt_print,
903 .opt.argfunc = cms_opt_recip,
[all …]
H A Ds_client.c422 .opt.value = &s_client_config.af,
429 .opt.value = &s_client_config.af,
444 .opt.flag = &s_client_config.bugs,
492 .opt.flag = &s_client_config.crlf,
536 .opt.arg = &s_client_config.host,
581 .opt.value = &s_client_config.off,
588 .opt.flag = &s_client_config.msg,
596 .opt.argfunc = s_client_opt_mtu,
718 .opt.argfunc = s_client_opt_port,
737 .opt.func = s_client_opt_quiet,
[all …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_options.c120 mod = opt = val = NULL; in _archive_set_options()
177 opt = *s; in parse_option()
180 p = strchr(opt, ','); in parse_option()
187 if (0 == strlen(opt)) { in parse_option()
195 p = strchr(opt, ':'); in parse_option()
198 mod = opt; in parse_option()
199 opt = ++p; in parse_option()
202 p = strchr(opt, '='); in parse_option()
206 } else if (opt[0] == '!') { in parse_option()
207 ++opt; in parse_option()
[all …]
/dragonfly/sys/netbt/
H A Dl2cap_signal.c416 l2cap_cfg_opt_t opt; in l2cap_recv_config_req() local
470 m_copydata(m, 0, sizeof(opt), &opt); in l2cap_recv_config_req()
472 left -= sizeof(opt); in l2cap_recv_config_req()
499 memcpy(buf + len, &opt, sizeof(opt)); in l2cap_recv_config_req()
564 memcpy(buf + len, &opt, sizeof(opt)); in l2cap_recv_config_req()
565 len += sizeof(opt); in l2cap_recv_config_req()
592 left -= opt.length; in l2cap_recv_config_req()
626 l2cap_cfg_opt_t opt; in l2cap_recv_config_rsp() local
708 m_copydata(m, 0, sizeof(opt), &opt); in l2cap_recv_config_rsp()
773 m_copydata(m, 0, sizeof(opt), &opt); in l2cap_recv_config_rsp()
[all …]
/dragonfly/contrib/smbfs/smbutil/
H A Dlogin.c56 int error, opt, setprimary = 0, level; in cmd_login() local
67 switch(opt){ in cmd_login()
69 error = smb_ctx_opt(ctx, opt, optarg); in cmd_login()
100 opt = SMBV_PERMANENT; in cmd_login()
103 opt = SMBS_PERMANENT; in cmd_login()
109 error = smb_ctx_setflags(ctx, level, opt, opt); in cmd_login()
124 int error, opt, level; in cmd_logout() local
135 switch (opt) { in cmd_logout()
137 error = smb_ctx_opt(ctx, opt, optarg); in cmd_logout()
177 opt = SMBV_PERMANENT; in cmd_logout()
[all …]
/dragonfly/contrib/smbfs/mount_smbfs/
H A Dgetmntopts.c53 char *opt, *optbuf, *p; in getmntopts() local
60 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in getmntopts()
62 if (opt[0] == 'n' && opt[1] == 'o') { in getmntopts()
64 opt += 2; in getmntopts()
72 p = strchr(opt, '='); in getmntopts()
79 if (strncasecmp(opt, m->m_option, len) == 0) in getmntopts()
94 errx(1, "-o %s: option not supported", opt); in getmntopts()
/dragonfly/lib/libutil/
H A Dgetmntopts.c51 char *opt, *optbuf, *p; in getmntopts() local
58 for (opt = optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) { in getmntopts()
60 if (opt[0] == 'n' && opt[1] == 'o') { in getmntopts()
62 opt += 2; in getmntopts()
70 p = strchr(opt, '='); in getmntopts()
76 if (strcasecmp(opt, m->m_option) == 0) in getmntopts()
88 errx(1, "-o %s: option not supported", opt); in getmntopts()
/dragonfly/contrib/bmake/
H A DFILES442 unit-tests/opt-chdir.mk
494 unit-tests/opt-debug.mk
497 unit-tests/opt-env.exp
498 unit-tests/opt-env.mk
499 unit-tests/opt-file.exp
500 unit-tests/opt-file.mk
510 unit-tests/opt-jobs.mk
529 unit-tests/opt-raw.exp
530 unit-tests/opt-raw.mk
551 unit-tests/opt.exp
[all …]

12345678910>>...20