Home
last modified time | relevance | path

Searched refs:opt (Results 76 – 100 of 760) sorted by relevance

12345678910>>...31

/titanic_53/usr/src/cmd/hal/tools/
H A Dhal_get_property.c103 const char *opt; in main() local
121 opt = long_options[option_index].name; in main()
123 if (strcmp (opt, "help") == 0) { in main()
126 } else if (strcmp (opt, "hex") == 0) { in main()
128 } else if (strcmp (opt, "verbose") == 0) { in main()
130 } else if (strcmp (opt, "version") == 0) { in main()
132 } else if (strcmp (opt, "key") == 0) { in main()
134 } else if (strcmp (opt, "udi") == 0) { in main()
H A Dhal_find_by_capability.c91 const char *opt; in main() local
107 opt = long_options[option_index].name; in main()
109 if (strcmp (opt, "help") == 0) { in main()
112 } else if (strcmp (opt, "verbose") == 0) { in main()
114 } else if (strcmp (opt, "version") == 0) { in main()
116 } else if (strcmp (opt, "capability") == 0) { in main()
/titanic_53/usr/src/uts/common/ktli/
H A Dt_ksndudat.c144 unitdata->opt.len, fp->f_cred, NOPID))) { in t_ksndudata()
145 if (strwaitbuf(msgsz + unitdata->addr.len + unitdata->opt.len, in t_ksndudata()
165 udreq->OPT_length = unitdata->opt.len; in t_ksndudata()
166 if (unitdata->opt.len) { in t_ksndudata()
167 bcopy(unitdata->opt.buf, bp->b_wptr + msgsz, unitdata->opt.len); in t_ksndudata()
169 msgsz += unitdata->opt.len; in t_ksndudata()
/titanic_53/usr/src/lib/libnsl/rpc/
H A Dsvc_dg.c171 su->su_tudata.opt.buf = (char *)su->opts; in svc_dg_create_private()
173 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz; in svc_dg_create_private()
260 su->su_tudata.opt.buf = (char *)su->opts; in svc_dg_xprtcopy()
262 su->su_tudata.opt.maxlen = MAX_OPT_WORDS * sizeof (int) + ucred_sz; in svc_dg_xprtcopy()
286 const struct T_opthdr *opt; in extract_cred() local
289 while (len >= sizeof (*opt)) { in extract_cred()
291 opt = (const struct T_opthdr *)cp; in extract_cred()
292 olen = opt->len; in extract_cred()
293 if (olen > len || olen < sizeof (*opt) || in extract_cred()
296 if (opt->level == SOL_SOCKET && opt->name == SCM_UCRED) { in extract_cred()
[all …]
/titanic_53/usr/src/cmd/vgrind/
H A Dvgrind.ksh53 while getopts ":2d:fh:l:no:P:s:tT:wWx" opt ; do
54 case "$opt" in
56 /usr/bin/printf "`/usr/bin/gettext TEXT_DOMAIN 'vgrind: bad option %s'`\n" "+$opt" >&2
72 …/printf "`/usr/bin/gettext TEXT_DOMAIN 'vgrind: -%s %s: file not readable'`\n" "$opt" "$OPTARG" >&2
87 args="$args -$opt"
119 troffopts="$troffopts -$opt"
123 if [ "$opt" = ":" ] ; then
/titanic_53/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c204 char *opt, *opts, *lasts; in process_opts() local
215 while ((opt = strtok_r(opts, ",", &lasts)) != NULL) { in process_opts()
217 while (isspace(*opt)) { in process_opts()
218 opt++; in process_opts()
220 if (strcmp(opt, "direct") == 0) { in process_opts()
222 } else if (strcmp(opt, "indirect") == 0) { in process_opts()
224 } else if (strcmp(opt, "ignore") != 0) { in process_opts()
225 if (strcmp(opt, "nest") == 0) { in process_opts()
231 (void) strcat(options, opt); in process_opts()
/titanic_53/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_005_neg.ksh84 for opt in $opts; do
86 $ZFS get $opt -- $prop $dst > /dev/null 2>&1
89 log_fail "$ZFS get $opt -- $prop " \
109 for opt in $opts; do
111 $ZFS get $opt -- $prop $dst > /dev/null 2>&1
114 log_fail "$ZFS get $opt -- $prop " \
/titanic_53/usr/src/boot/sys/boot/common/
H A Drbx.h56 #define OPT_SET(opt) (1 << (opt)) argument
57 #define OPT_CHECK(opt) ((opts) & OPT_SET(opt)) argument
/titanic_53/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c156 krb5_db2_get_db_opt(char *input, char **opt, char **val) in krb5_db2_get_db_opt() argument
160 *opt = NULL; in krb5_db2_get_db_opt()
166 *opt = malloc((pos - input) + 1); in krb5_db2_get_db_opt()
168 if (!*opt || !*val) { in krb5_db2_get_db_opt()
171 memcpy(*opt, input, pos - input); in krb5_db2_get_db_opt()
172 (*opt)[pos - input] = '\0'; in krb5_db2_get_db_opt()
1390 char *opt = NULL, *val = NULL; in krb5_db2_db_iterate() local
1392 krb5_db2_get_db_opt(*t_ptr, &opt, &val); in krb5_db2_db_iterate()
1403 free(opt); in krb5_db2_db_iterate()
1408 free(opt); in krb5_db2_db_iterate()
[all …]
/titanic_53/usr/src/cmd/abi/appcert/scripts/
H A Dappcert.pl104 my %opt;
106 getopts('?hnLBSw:f:', \%opt) || (show_usage() && exiter(2));
108 if (exists($opt{'?'}) || exists($opt{'h'})) {
113 if (exists($opt{'f'})) {
114 $file_list = $opt{'f'};
119 if (exists($opt{'w'})) {
120 $working_dir = $opt{'w'};
134 if (defined($opt{'B'})) {
140 if (defined($opt{'n'})) {
146 if (defined($opt{'L'})) {
[all …]
/titanic_53/usr/src/lib/libdscp/
H A Dlibdscp.c138 ipsec_req_t opt; in dscpSecure() local
149 (void) memset(&opt, 0, sizeof (opt)); in dscpSecure()
150 opt.ipsr_ah_req = IPSEC_PREF_REQUIRED; in dscpSecure()
151 opt.ipsr_esp_req = IPSEC_PREF_NEVER; in dscpSecure()
152 opt.ipsr_self_encap_req = IPSEC_PREF_NEVER; in dscpSecure()
153 opt.ipsr_auth_alg = SADB_AALG_MD5HMAC; in dscpSecure()
159 if (setsockopt(sockfd, IPPROTO_IP, IP_SEC_OPT, (const char *)&opt, in dscpSecure()
160 sizeof (opt)) < 0) { in dscpSecure()
/titanic_53/usr/src/lib/libnsl/nsl/
H A D_conn_util.c82 creq->OPT_length = call->opt.len; in _t_snd_conn_req()
99 if (call->opt.len) { in _t_snd_conn_req()
100 if (_t_aligned_copy(ctlbufp, call->opt.len, size, in _t_snd_conn_req()
101 call->opt.buf, &creq->OPT_offset) < 0) { in _t_snd_conn_req()
258 if (_T_IS_TLI(api_semantics) || call->opt.maxlen > 0) { in _t_rcv_conn_con()
260 call->opt.maxlen)) { in _t_rcv_conn_con()
264 (void) memcpy(call->opt.buf, in _t_rcv_conn_con()
267 call->opt.len = pptr->conn_con.OPT_length; in _t_rcv_conn_con()
/titanic_53/usr/src/tools/scripts/
H A Dinterface_cmp.pl52 use vars qw(%opt);
96 if ($opt{e}) {
97 $file = $opt{e};
546 next if !($opt{d} && $old_top && !$new_top);
600 next if !$opt{d};
634 if ((getopts('c:de:ot', \%opt) == 0) || (scalar(@ARGV) != ($opt{t} ? 1 : 2))) {
657 if ($opt{c}) {
658 require "$opt{c}";
674 if ($opt{t}) {
/titanic_53/usr/src/cmd/hotplug/
H A Dhotplug.c250 int opt; in cmd_list() local
254 while ((opt = getopt_clip(argc, argv, "lv", list_opts, NULL)) != -1) { in cmd_list()
255 switch (opt) { in cmd_list()
263 bad_option(opt, optopt, usage_str); in cmd_list()
791 int opt, rv; in cmd_changestate() local
795 while ((opt = getopt_clip(argc, argv, "fqs:", changestate_opts, in cmd_changestate()
797 switch (opt) { in cmd_changestate()
811 bad_option(opt, optopt, usage_str); in cmd_changestate()
862 int opt; in parse_common() local
869 while ((opt = getopt_clip(argc, argv, "?V", common_opts, NULL)) != -1) { in parse_common()
[all …]
/titanic_53/usr/src/cmd/sgs/liblddbg/common/
H A Dargs.c43 Dbg_args_str2chr(Lm_list *lml, int ndx, const char *opt, int c) in Dbg_args_str2chr() argument
48 dbg_print(lml, MSG_INTL(MSG_ARG_STR2CHR), ndx, opt, c); in Dbg_args_str2chr()
52 Dbg_args_Wldel(Lm_list *lml, int ndx, const char *opt) in Dbg_args_Wldel() argument
57 dbg_print(lml, MSG_INTL(MSG_ARG_WLDEL), ndx, opt); in Dbg_args_Wldel()
H A Ddebug.c108 DBG_options *opt; in process_options() local
110 for (opt = optarr; opt->o_name != NULL; opt++) { in process_options()
111 if (strcmp(name, opt->o_name) != 0) in process_options()
115 if (opt->o_class) in process_options()
116 dbp->d_class |= opt->o_class; in process_options()
117 if (opt->o_extra) in process_options()
118 dbp->d_extra |= opt->o_extra; in process_options()
120 if (opt->o_class) in process_options()
121 dbp->d_class &= ~(opt->o_class); in process_options()
122 if (opt->o_extra) in process_options()
[all …]
/titanic_53/usr/src/cmd/mdb/common/mdb/
H A Dmdb_set.c185 char *opt, *arg; in mdb_set_options() local
188 for (opt = strtok(buf, ","); opt != NULL; opt = strtok(NULL, ",")) { in mdb_set_options()
189 if ((arg = strchr(opt, '=')) != NULL) in mdb_set_options()
193 if (strcmp(opt, opp->opt_name) == 0) { in mdb_set_options()
196 "argument -- %s\n", opt); in mdb_set_options()
200 "-- %s\n", opt); in mdb_set_options()
205 "%s -- %s\n", opt, arg); in mdb_set_options()
213 mdb_warn("invalid debugger option -- %s\n", opt); in mdb_set_options()
/titanic_53/usr/src/contrib/ast/src/cmd/INIT/
H A Dmprobe.sh21 opt=
24 -d) opt=-d ;;
30 mamprobe $opt - "$1"
/titanic_53/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c290 struct opthdr *opt; in nfslib_bindit() local
422 opt = (struct opthdr *)reqbuf; in nfslib_bindit()
423 opt->level = IPPROTO_TCP; in nfslib_bindit()
424 opt->name = TCP_NODELAY; in nfslib_bindit()
425 opt->len = sizeof (int); in nfslib_bindit()
428 *(int *)((char *)opt + sizeof (*opt)) = 1; in nfslib_bindit()
431 req.opt.len = sizeof (*opt) + opt->len; in nfslib_bindit()
432 req.opt.buf = (char *)opt; in nfslib_bindit()
434 resp.opt.buf = reqbuf; in nfslib_bindit()
435 resp.opt.maxlen = sizeof (reqbuf); in nfslib_bindit()
[all …]
/titanic_53/usr/src/cmd/diff/
H A Ddiff.c240 opt = D_IFDEF; in main()
252 opt = D_CONTEXT; in main()
267 opt = D_CONTEXT; in main()
276 opt = D_EDIT; in main()
280 opt = D_REVERSE; in main()
296 opt = D_NREVERSE; in main()
335 if (opt != D_CONTEXT && uflag) in main()
345 if (opt) { in main()
434 if (opt == D_IFDEF) { in main()
499 if (opt == D_CONTEXT && anychange == 0) in main()
[all …]
/titanic_53/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_find_001_pos.ksh57 typeset opt=$1 # -ls or -acl
61 if [[ $opt == "ls" ]]; then
108 for opt in "ls" "acl"
110 log_must find_ls_acl $opt $obj
/titanic_53/usr/src/lib/brand/solaris10/zone/
H A Duninstall.ksh59 opt=`echo $OPT | sed 's/-\+//'`
61 echo $options_repeat | grep $opt >/dev/null
64 ( echo $options_seen | grep $opt >/dev/null ) &&
66 options_seen="${options_seen}${opt}"
/titanic_53/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/
H A Dzfs_unmount_all_001_pos.ksh167 typeset opt
168 for opt in "-a" "-fa"; do
173 if [[ $opt == "-fa" ]]; then
180 log_must $ZFS unmount $opt
183 if [[ $opt == "-fa" ]]; then
/titanic_53/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dlogin.c119 int err, opt; in cmd_login() local
122 while ((opt = getopt(argc, argv, "c")) != EOF) { in cmd_login()
123 switch (opt) { in cmd_login()
194 int err, opt; in cmd_logout() local
196 while ((opt = getopt(argc, argv, "a")) != EOF) { in cmd_logout()
197 switch (opt) { in cmd_logout()
/titanic_53/usr/src/cmd/acpihpd/
H A Dnotify.c85 char *opt; in plat_opt_str_alloc() local
92 if ((opt = malloc(len)) != NULL) { in plat_opt_str_alloc()
93 (void) snprintf(opt, len, "%s %s=%s", in plat_opt_str_alloc()
97 debug_print(2, "plat_opt_str_alloc = '%s'", opt); in plat_opt_str_alloc()
104 if ((opt = malloc(len)) != NULL) { in plat_opt_str_alloc()
105 (void) snprintf(opt, len, "platform='%s %s=%s'", in plat_opt_str_alloc()
109 debug_print(2, "plat_opt_str_alloc = '%s'", opt); in plat_opt_str_alloc()
113 return (opt); in plat_opt_str_alloc()

12345678910>>...31