/illumos-gate/usr/src/lib/libwrap/ |
H A D | fix_options.c | 51 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 D | getopt.c | 103 * 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 D | userattr.c | 74 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 D | modinfo.c | 83 int opt; local 87 while ((opt = getopt(argc, argv, "i:wc")) != EOF) { 88 switch (opt) {
|
H A D | modload.c | 56 int opt; local 64 while ((opt = getopt(argc, argv, "e:p")) != -1) { 65 switch (opt) {
|
/illumos-gate/usr/src/cmd/avs/nsctl/ |
H A D | nscadm.c | 86 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 D | create.c | 39 int opt; local 49 while ((opt = getopt_av(argc, argv, 78 switch (opt) {
|
H A D | uninstall.c | 45 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 D | view.c | 70 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 D | hal_find_by_property.c | 96 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 D | hal_get_property.c | 103 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 D | head.c | 68 int opt; local 104 while ((opt = getopt(argc, argv, "qvn:c:")) != EOF) { 105 switch (opt) {
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 76 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 D | sharetab.c | 163 * 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 D | config.c | 252 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 D | ns_trace.c | 74 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 D | cflib.h | 61 int opt; /* command line option */ member in struct:opt_args
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_work.c | 60 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 D | t_alloc.c | 61 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 D | t_optmgmt.c | 73 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 D | mntent.c | 202 hasmntopt(struct mntent *mnt, char *opt) argument 216 if (strncmp(opt, f, strlen(opt)) == 0)
|
/illumos-gate/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 44 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 D | trace.c | 32 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 D | autod_autofs.c | 204 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 D | mount.c | 180 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);
|