Searched defs:opt (Results 26 - 50 of 337) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libwrap/
H A Dfix_options.c51 unsigned int opt; local
89 opt = cp[IPOPT_OPTVAL];
90 if (opt == IPOPT_LSRR || opt == IPOPT_SSRR) {
97 if (opt == IPOPT_EOL)
99 if (opt == IPOPT_NOP) {
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetopt.c103 * Determine if the specified string (opt) is present in the string
112 * opt The long option read from the command line
129 parselong(const char *optstring, const char *opt, char **longoptarg) argument
133 char *op; /* pointer into opt */
134 int match; /* nonzero if opt is matching part of optstring */
145 op = (char *)opt;
/illumos-gate/usr/src/cmd/userattr/
H A Duserattr.c74 int opt = 1; local
82 (strncmp(argv[opt], "-v", sizeof ("-v")) == 0)) {
84 opt++;
88 attr_name = argv[opt++];
91 user = argv[opt++];
94 if ((attr_name == NULL) || (opt < argc)) {
/illumos-gate/usr/src/cmd/modload/
H A Dmodinfo.c83 int opt; local
87 while ((opt = getopt(argc, argv, "i:wc")) != EOF) {
88 switch (opt) {
H A Dmodload.c56 int opt; local
64 while ((opt = getopt(argc, argv, "e:p")) != -1) {
65 switch (opt) {
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnscadm.c86 int opt, rc; local
94 while ((opt = getopt(argc, argv, "h")) != -1) {
95 switch (opt) {
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/
H A Dcreate.c39 int opt; local
49 while ((opt = getopt_av(argc, argv,
78 switch (opt) {
H A Duninstall.c45 int opt; local
58 while ((opt = getopt_av(argc, argv, "k:(keystore)")) != EOF) {
59 switch (opt) {
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Dview.c70 int error, err2, opt; local
88 while ((opt = getopt(argc, argv, STDPARAM_OPT)) != EOF) {
89 if (opt == '?')
91 error = smb_ctx_opt(ctx, opt, optarg);
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal_find_by_property.c96 const char *opt; local
113 opt = long_options[option_index].name;
115 if (strcmp (opt, "help") == 0) {
118 } else if (strcmp (opt, "verbose") == 0) {
120 } else if (strcmp (opt, "version") == 0) {
122 } else if (strcmp (opt, "key") == 0) {
124 } else if (strcmp (opt, "string") == 0) {
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) {
/illumos-gate/usr/src/cmd/head/
H A Dhead.c68 int opt; local
104 while ((opt = getopt(argc, argv, "qvn:c:")) != EOF) {
105 switch (opt) {
/illumos-gate/usr/src/uts/common/ktli/
H A Dt_kalloc.c76 struct t_optmgmt *opt; member in union:structptrs
104 _alloc_buf(&p.call->opt, tiptr->tp_info.options);
108 _alloc_buf(&p.call->opt, dsize);
114 p.opt = kmem_zalloc(sizeof (struct t_optmgmt), KM_SLEEP);
116 _alloc_buf(&p.opt->opt, tiptr->tp_info.options);
117 *ptr = ((char *)p.opt);
135 _alloc_buf(&p.udata->opt, tiptr->tp_info.options);
137 p.udata->opt.maxlen = p.udata->opt
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsharetab.c163 * Return the value after "=" for option "opt"
168 getshareopt(char *optlist, char *opt) argument
184 if (strcmp(opt, p) == 0) {
189 if (strcmp(opt, p) == 0) {
/illumos-gate/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...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_trace.c74 struct option *opt; local
79 for (opt = options; opt->name; opt++) {
80 if (strcasecmp(name, opt->name) == 0) {
81 switch (opt->type) {
84 *((char **)opt->address) = p;
91 *((int *)opt->address) = n;
102 *((int *)opt->address) = fd;
/illumos-gate/usr/src/lib/libsmbfs/
H A Dcflib.h61 int opt; /* command line option */ member in struct:opt_args
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_work.c60 int opt = _dtrace_sleeptab[i].dtslt_option; local
61 dtrace_optval_t interval = dtp->dt_options[opt];
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c61 struct t_optmgmt *opt; member in union:structptrs
138 if (_alloc_buf(&p.call->opt, optsize,
153 if ((p.opt = calloc(1, sizeof (struct t_optmgmt))) == NULL)
162 if (_alloc_buf(&p.opt->opt, optsize,
167 return ((char *)p.opt);
195 if (_alloc_buf(&p.udata->opt, optsize,
222 if (_alloc_buf(&p.uderr->opt, optsize,
H A Dt_optmgmt.c73 struct t_opthdr *opt, *next_opt; local
111 optlen = req->opt.len;
119 if (req->opt.buf == NULL ||
127 opt_start = (struct t_opthdr *)req->opt.buf;
133 * "opt.buf" at start of buffer and in combination with
136 * applies to output buffer "ret->opt.buf" is an "interesting
167 for (opt = opt_start; opt < opt_end; opt = next_opt) {
180 * 'opt
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmntent.c202 hasmntopt(struct mntent *mnt, char *opt) argument
216 if (strncmp(opt, f, strlen(opt)) == 0)
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c44 int opt; local
57 while ((opt = getopt(argc, argv, "Fl")) != EOF) {
58 switch (opt) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtrace.c32 static void print_opt(struct nd_opt_hdr *opt, int len);
38 struct nd_opt_hdr *opt; local
47 opt = (struct nd_opt_hdr *)&rs[1];
48 print_opt(opt, len);
55 struct nd_opt_hdr *opt; local
77 opt = (struct nd_opt_hdr *)&ra[1];
78 print_opt(opt, len);
82 print_opt(struct nd_opt_hdr *opt, int len) argument
92 optlen = opt->nd_opt_len * 8;
97 switch (opt
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c204 char *opt, *opts, *lasts; local
215 while ((opt = strtok_r(opts, ",", &lasts)) != NULL) {
217 while (isspace(*opt)) {
218 opt++;
220 if (strcmp(opt, "direct") == 0) {
222 } else if (strcmp(opt, "indirect") == 0) {
224 } else if (strcmp(opt, "ignore") != 0) {
225 if (strcmp(opt, "nest") == 0) {
231 (void) strcat(options, opt);
H A Dmount.c180 char *opt; local
191 while ((opt = strtok(opts, ",")) != NULL) {
193 while (isspace(*opt)) {
194 opt++;
196 if (strcmp(opt, "direct") == 0) {
198 } else if (strcmp(opt, "indirect") == 0) {
200 } else if ((strcmp(opt, "nest") != 0) &&
201 (strcmp(opt, "ignore") != 0)) {
205 (void) strcat(options, opt);

Completed in 161 milliseconds

1234567891011>>