Searched refs:opt (Results 26 - 50 of 174) sorted by relevance

1234567

/osnet-11/usr/src/cmd/hal/tools/
H A Dhal_set_property.c131 const char *opt; local
156 opt = long_options[option_index].name;
158 if (strcmp (opt, "help") == 0) {
161 } else if (strcmp (opt, "key") == 0) {
163 } else if (strcmp (opt, "string") == 0) {
166 } else if (strcmp (opt, "int") == 0) {
169 } else if (strcmp (opt, "uint64") == 0) {
172 } else if (strcmp (opt, "double") == 0) {
175 } else if (strcmp (opt, "bool") == 0) {
185 } else if (strcmp (opt, "strlis
[all...]
H A Dhal_get_property.c103 const char *opt; local
121 opt = long_options[option_index].name;
123 if (strcmp (opt, "help") == 0) {
126 } else if (strcmp (opt, "hex") == 0) {
128 } else if (strcmp (opt, "verbose") == 0) {
130 } else if (strcmp (opt, "version") == 0) {
132 } else if (strcmp (opt, "key") == 0) {
134 } else if (strcmp (opt, "udi") == 0) {
H A Dhal-device.c90 } opt; variable in typeref:struct:__anon51
108 opt.list = 1;
113 opt.add = 1;
114 opt.list = 0;
115 opt.udi = optarg;
118 opt.remove = 1;
119 opt.list = 0;
120 opt.udi = optarg;
153 if (opt.list)
155 else if (opt
[all...]
/osnet-11/usr/src/lib/libsasl/lib/
H A Dconfig.c252 int opt; local
255 for (opt = 0; opt < gctx->nconfiglist; opt++) {
256 if (*key == clist[opt].key[0] &&
257 !strcmp(key, clist[opt].key))
258 return clist[opt].value;
265 int opt; local
267 for (opt = 0; opt < nconfiglis
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsclone.c125 } opt; variable in typeref:struct:__anon59
347 memset(&opt, 0, sizeof(opt));
352 if (opt.volume)
354 opt.volume = argv[optind-1];
357 opt.debug++;
360 opt.force++;
366 opt.metadata++;
369 opt.overwrite++;
371 if (opt
[all...]
H A Dntfsfix.c90 } opt; variable in typeref:struct:__anon62
142 memset(&opt, 0, sizeof(opt));
147 if (!opt.volume)
148 opt.volume = argv[optind - 1];
165 if (opt.volume == NULL) {
445 dev = ntfs_device_alloc(opt.volume, 0, &ntfs_device_default_io_ops,
488 if (!ntfs_check_if_mounted(opt.volume, &mnt_flags)) {
492 "mounted device %s.\n", opt.volume);
497 opt
[all...]
H A Dntfsresize.c146 } opt; variable in typeref:struct:__anon66
468 memset(&opt, 0, sizeof(opt));
469 opt.show_progress = 1;
474 if (!err && !opt.volume)
475 opt.volume = argv[optind-1];
480 opt.badsectors++;
483 opt.debug++;
486 opt.force++;
493 opt
[all...]
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_opt.h209 * @param opt is the option to add
212 int fuse_opt_add_opt(char **opts, const char *opt);
252 * @param opt is the option to match
255 int fuse_opt_match(const struct fuse_opt opts[], const char *opt);
/osnet-11/usr/src/lib/brand/solaris/zone/
H A Duninstall.ksh73 opt=`echo $OPT | sed 's/-\+//'`
75 echo $options_repeat | grep $opt >/dev/null
78 ( echo $options_seen | grep $opt >/dev/null ) &&
80 options_seen="${options_seen}${opt}"
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsafechown.c84 int opt; local
88 while ((opt = getopt(argc, argv, "m:u:")) != EOF) {
89 switch (opt) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/utils/
H A Dperlivp.PL59 use vars qw(%opt); # allow testing with older versions (do not use our)
61 @opt{ qw/? H h P p V v/ } = qw(0 0 0 0 0 0 0);
70 warn "$0: `$flag' flag already set\n" if $opt{$flag}++;
75 $opt{p}++ if $opt{P};
76 $opt{v}++ if $opt{V};
102 print "## Checking Perl binary via variable `\$perlpath' = $perlpath.\n" if $opt{'p'};
105 print "## Perl binary `$perlpath' appears executable.\n" if $opt{'v'};
117 print "## Checking Perl version via variable `\$]'.\n" if $opt{'
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A DLzmaEnc.c316 COptimal opt[kNumOpts]; member in struct:_CLzmaEnc
942 UInt32 posMem = p->opt[cur].posPrev;
943 UInt32 backMem = p->opt[cur].backPrev;
947 if (p->opt[cur].prev1IsChar)
949 MakeAsChar(&p->opt[posMem])
950 p->opt[posMem].posPrev = posMem - 1;
951 if (p->opt[cur].prev2)
953 p->opt[posMem - 1].prev1IsChar = False;
954 p->opt[posMem - 1].posPrev = p->opt[cu
995 const COptimal *opt = &p->opt[p->optimumCurrentIndex]; local
1120 COptimal *opt = &p->opt[repLen]; local
1142 COptimal *opt; local
1359 COptimal *opt; local
1396 COptimal *opt = &p->opt[cur + lenTest]; local
1438 COptimal *opt; local
1484 COptimal *opt; local
1528 COptimal *opt; local
[all...]
/osnet-11/usr/src/lib/libsctp/common/
H A Dsctp.c106 struct sctpopt opt; local
116 opt.sopt_aid = id;
117 opt.sopt_name = SCTP_GET_NPADDRS;
118 opt.sopt_val = (caddr_t)&naddrs;
119 opt.sopt_len = sizeof (naddrs);
120 if (ioctl(sock, SIOCSCTPGOPT, &opt) == -1) {
135 opt.sopt_name = SCTP_GET_PADDRS;
136 opt.sopt_val = *addrs;
137 opt.sopt_len = bufsz;
138 if (ioctl(sock, SIOCSCTPGOPT, &opt)
167 struct sctpopt opt; local
224 sctp_opt_info(int sock, sctp_assoc_t id, int opt, void *arg, socklen_t *len) argument
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drtime_tli.c111 tu_data.opt.len = 0;
112 tu_data.opt.maxlen = 0;
135 sndcall.opt.len = sndcall.opt.maxlen = 0;
/osnet-11/usr/src/lib/brand/solaris10/zone/
H A Dpostattach.ksh53 while getopts "a:c:d:nr:x:" opt; do
54 case $opt in
/osnet-11/usr/src/lib/libdscp/
H A Dlibdscp.c136 ipsec_req_t opt; local
147 (void) memset(&opt, 0, sizeof (opt));
148 opt.ipsr_ah_req = IPSEC_PREF_REQUIRED;
149 opt.ipsr_esp_req = IPSEC_PREF_NEVER;
150 opt.ipsr_self_encap_req = IPSEC_PREF_NEVER;
151 opt.ipsr_auth_alg = SADB_AALG_MD5HMAC;
157 if (setsockopt(sockfd, IPPROTO_IP, IP_SEC_OPT, (const char *)&opt,
158 sizeof (opt)) < 0) {
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dargp-parse.c304 const struct argp_option *opt;
307 for (opt = real; !__option_is_end (opt); opt++)
309 if (! (opt->flags & OPTION_ALIAS))
311 real = opt;
316 if (__option_is_short (opt))
319 *cvt->short_end++ = opt->key;
329 if (opt->name
330 && find_long_option (cvt->parser->long_opts, opt
298 const struct argp_option *opt; local
432 const struct argp_option *opt = argp->options; local
716 parser_parse_opt(struct parser *parser, int opt, char *val) argument
779 int opt; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DLint.pm337 my ($option, $opt, $arg);
339 for $opt (@default_checks) {
340 $check{$opt} = 1;
345 $opt = $1;
351 if ($opt eq "-" && $arg eq "-") {
354 } elsif ($opt eq "D") {
363 } elsif ($opt eq "u") {
368 foreach $opt (@default_checks, @options) {
369 $opt =~ tr/-/_/;
370 if ($opt e
[all...]
/osnet-11/usr/src/lib/libnls/common/
H A Dnlsenv.c142 call->opt.len = nlsenv(&call->opt, NLSOPT);
/osnet-11/usr/src/lib/libnsl/nsl/
H A D_conn_util.c82 creq->OPT_length = call->opt.len;
99 if (call->opt.len) {
100 if (_t_aligned_copy(ctlbufp, call->opt.len, size,
101 call->opt.buf, &creq->OPT_offset) < 0) {
258 if (_T_IS_TLI(api_semantics) || call->opt.maxlen > 0) {
260 call->opt.maxlen)) {
264 (void) memcpy(call->opt.buf,
267 call->opt.len = pptr->conn_con.OPT_length;
H A Dt_alloc.c60 struct t_optmgmt *opt; member in union:structptrs
137 if (_alloc_buf(&p.call->opt, optsize,
152 if ((p.opt = calloc(1, sizeof (struct t_optmgmt))) == NULL)
161 if (_alloc_buf(&p.opt->opt, optsize,
166 return (p.opt);
194 if (_alloc_buf(&p.udata->opt, optsize,
221 if (_alloc_buf(&p.uderr->opt, optsize,
H A Dt_rcvudata.c179 unitdata->opt.maxlen > 0) {
181 unitdata->opt.maxlen)) {
186 (void) memcpy(unitdata->opt.buf, ctlbuf.buf +
189 unitdata->opt.len =
230 unitdata->opt.len = 0;
/osnet-11/usr/src/grub/grub2/grub-core/net/
H A Dicmp6.c370 struct prefix_option *opt = (struct prefix_option *) ptr; local
372 if (!(opt->flags & FLAG_SLAAC)
373 || (grub_be_to_cpu64 (opt->prefix[0]) >> 48) == 0xfe80
374 || (grub_be_to_cpu32 (opt->prefered_lifetime)
375 > grub_be_to_cpu32 (opt->valid_lifetime))
376 || opt->prefixlen != 64)
379 !(opt->flags & FLAG_SLAAC),
380 (grub_be_to_cpu64 (opt->prefix[0]) >> 48) == 0xfe80,
381 (grub_be_to_cpu32 (opt->prefered_lifetime)
382 > grub_be_to_cpu32 (opt
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/
H A Dkdb_db2.c152 krb5_db2_get_db_opt(char *input, char **opt, char **val) argument
156 *opt = NULL;
162 *opt = malloc((pos - input) + 1);
164 if (!*opt || !*val) {
165 free(*opt);
166 *opt = NULL;
171 memcpy(*opt, input, pos - input);
172 (*opt)[pos - input] = '\0';
1303 char *opt = NULL, *val = NULL; local
1305 krb5_db2_get_db_opt(*t_ptr, &opt,
1377 char *opt = NULL, *val = NULL; local
1481 char *opt = NULL, *val = NULL; local
1595 char *opt = NULL, *val = NULL; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dmain.c135 int opt;
141 while ((opt = getopt_long (argc, argv, "r:d:m:vH:hV", options, 0)) != -1)
142 switch (opt)
133 int opt; local

Completed in 3186 milliseconds

1234567