/illumos-gate/usr/src/cmd/drd/ |
H A D | drd.c | 74 int opt; local 83 while ((opt = getopt(argc, argv, "ds")) != EOF) { 85 switch (opt) {
|
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 161 * Determine if the specified string (opt) is present in the string 171 * @param opt the long option read from the command line 185 parselong(String optstring, String opt, StringRef longoptarg) argument 191 int op; // index into opt 192 char oc; // opt char 193 int ol; // opt length 194 boolean match; // true if opt is matching part of optstring 199 ol = opt.length(); 215 oc = opt.charAt(op++); 221 opt [all...] |
/illumos-gate/usr/src/cmd/acpihpd/ |
H A D | notify.c | 85 char *opt; local 92 if ((opt = malloc(len)) != NULL) { 93 (void) snprintf(opt, len, "%s %s=%s", 97 debug_print(2, "plat_opt_str_alloc = '%s'", opt); 104 if ((opt = malloc(len)) != NULL) { 105 (void) snprintf(opt, len, "platform='%s %s=%s'", 109 debug_print(2, "plat_opt_str_alloc = '%s'", opt); 113 return (opt);
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | genkey.c | 361 int opt; local 381 while ((opt = getopt_av(argc, argv, 387 switch (opt) {
|
H A D | genkeypair.c | 321 int opt; local 341 while ((opt = getopt_av(argc, argv, 347 if (opt != 'i' && opt != 'E' && EMPTYSTRING(optarg_av)) 350 switch (opt) {
|
H A D | setpin.c | 237 int opt; local 250 while ((opt = getopt_av(argc, argv, 253 switch (opt) {
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mount/ |
H A D | mount.c | 65 append_opt(char *str, int strsz, char *opt) argument 70 return (strlcat(str, opt, strsz) < strsz);
|
/illumos-gate/usr/src/cmd/gcore/ |
H A D | gcore.c | 152 int opt; local 167 while ((opt = getopt(argc, argv, "o:Fgpc:")) != EOF) { 168 switch (opt) {
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal_set_property.c | 131 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...] |
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd.c | 94 int opt; local 111 while ((opt = getopt_clip(argc, argv, "dV?", lopts, NULL)) != -1) { 112 switch (opt) {
|
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | debug.c | 108 DBG_options *opt; local 110 for (opt = optarr; opt->o_name != NULL; opt++) { 111 if (strcmp(name, opt->o_name) != 0) 115 if (opt->o_class) 116 dbp->d_class |= opt->o_class; 117 if (opt->o_extra) 118 dbp->d_extra |= opt->o_extra; 120 if (opt [all...] |
/illumos-gate/usr/src/cmd/sgs/mcs/common/ |
H A D | main.c | 53 const char *opt; local 76 opt = "a:cdn:pVz?"; 79 opt = "lxV?"; 110 while ((c = getopt(argc, argv, (char *)opt)) != EOF) {
|
/illumos-gate/usr/src/cmd/split/ |
H A D | split.c | 81 int opt; local 137 while ((opt = getopt(argc, argv, "a:b:l:")) != EOF) { 138 switch (opt) {
|
/illumos-gate/usr/src/cmd/logger/ |
H A D | logger.c | 128 int opt; local 145 while ((opt = getopt(argc, argv, "it:p:f:")) != EOF) 146 switch (opt) {
|
/illumos-gate/usr/src/cmd/lp/model/netpr/ |
H A D | netpr.c | 163 int opt; local 200 while ((opt = getopt(argc, argv, "f:I:p:d:T:P:t:U:c:b")) != EOF) 201 switch (opt) {
|
/illumos-gate/usr/src/lib/libdisasm/common/ |
H A D | dis_sparc.c | 119 char *opt = NULL; local 139 opt = getenv("_LIBDISASM_DEBUG"); 140 if (opt == NULL) 143 opt2 = strdup(opt);
|
/illumos-gate/usr/src/cmd/ptools/psecflags/ |
H A D | psecflags.c | 132 int opt; local 141 while ((opt = getopt(argc, argv, "eFi:ls:")) != -1) { 142 switch (opt) {
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gic_opt.c | 5 init_common(krb5_get_init_creds_opt *opt) argument 7 opt->flags |= KRB5_GET_INIT_CREDS_OPT_CHG_PWD_PRMPT; 11 krb5_get_init_creds_opt_init(krb5_get_init_creds_opt *opt) argument 13 opt->flags = 0; 14 init_common(opt); 18 krb5_get_init_creds_opt_set_tkt_life(krb5_get_init_creds_opt *opt, krb5_deltat tkt_life) argument 20 opt->flags |= KRB5_GET_INIT_CREDS_OPT_TKT_LIFE; 21 opt->tkt_life = tkt_life; 25 krb5_get_init_creds_opt_set_renew_life(krb5_get_init_creds_opt *opt, krb5_deltat renew_life) argument 27 opt 32 krb5_get_init_creds_opt_set_forwardable(krb5_get_init_creds_opt *opt, int forwardable) argument 39 krb5_get_init_creds_opt_set_proxiable(krb5_get_init_creds_opt *opt, int proxiable) argument 46 krb5_get_init_creds_opt_set_etype_list(krb5_get_init_creds_opt *opt, krb5_enctype *etype_list, int etype_list_length) argument 54 krb5_get_init_creds_opt_set_address_list(krb5_get_init_creds_opt *opt, krb5_address **addresses) argument 61 krb5_get_init_creds_opt_set_preauth_list(krb5_get_init_creds_opt *opt, krb5_preauthtype *preauth_list, int preauth_list_length) argument 69 krb5_get_init_creds_opt_set_salt(krb5_get_init_creds_opt *opt, krb5_data *salt) argument 76 krb5_get_init_creds_opt_set_change_password_prompt(krb5_get_init_creds_opt *opt, int prompt) argument 167 krb5_get_init_creds_opt_alloc(krb5_context context, krb5_get_init_creds_opt **opt) argument 189 krb5_get_init_creds_opt_free(krb5_context context, krb5_get_init_creds_opt *opt) argument 209 krb5int_gic_opte_copy(krb5_context context, krb5_get_init_creds_opt *opt, krb5_gic_opt_ext **opte) argument 248 krb5int_gic_opt_to_opte(krb5_context context, krb5_get_init_creds_opt *opt, krb5_gic_opt_ext **opte, unsigned int force, const char *where) argument 333 krb5_get_init_creds_opt_set_pa(krb5_context context, krb5_get_init_creds_opt *opt, const char *attr, const char *value) argument 369 krb5_get_init_creds_opt_get_pa(krb5_context context, krb5_get_init_creds_opt *opt, int *num_preauth_data, krb5_gic_opt_pa_data **preauth_data) argument [all...] |
/illumos-gate/usr/src/lib/libsctp/common/ |
H A D | sctp.c | 109 struct sctpopt opt; local 119 opt.sopt_aid = id; 120 opt.sopt_name = SCTP_GET_NPADDRS; 121 opt.sopt_val = (caddr_t)&naddrs; 122 opt.sopt_len = sizeof (naddrs); 123 if (ioctl(sock, SIOCSCTPGOPT, &opt) == -1) { 138 opt.sopt_name = SCTP_GET_PADDRS; 139 opt.sopt_val = *addrs; 140 opt.sopt_len = bufsz; 141 if (ioctl(sock, SIOCSCTPGOPT, &opt) 170 struct sctpopt opt; local 227 sctp_opt_info(int sock, sctp_assoc_t id, int opt, void *arg, socklen_t *len) argument [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | plugin.c | 348 * sa_proto_valid_prop(handle, proto, prop, opt) 355 sa_optionset_t opt) 361 ret = ops->sa_valid_prop(handle, prop, opt); 354 sa_proto_valid_prop(sa_handle_t handle, char *proto, sa_property_t prop, sa_optionset_t opt) argument
|
/illumos-gate/usr/src/lib/libshell/common/bltins/ |
H A D | enum.c | 196 Optdisc_t opt; member in struct:__anon3944 265 optdisc.opt.infof = enuminfo; 267 nv_addtype(tp, enum_type, &optdisc.opt, sizeof(optdisc));
|
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | bash.c | 194 Shopt_t newflags=shp->options, opt; local 197 memset(&opt,0,sizeof(opt)); 240 opt=newflags; 243 opt.v[n]=~newflags.v[n]; 245 memset(&opt,0xff,sizeof(opt)); 253 && (is_option(&opt,SH_INTERACTIVE) 254 || is_option(&opt,SH_RESTRICTED) 255 || is_option(&opt,SH_RESTRICTED [all...] |
/illumos-gate/usr/src/lib/libdscp/ |
H A D | libdscp.c | 138 ipsec_req_t opt; local 149 (void) memset(&opt, 0, sizeof (opt)); 150 opt.ipsr_ah_req = IPSEC_PREF_REQUIRED; 151 opt.ipsr_esp_req = IPSEC_PREF_NEVER; 152 opt.ipsr_self_encap_req = IPSEC_PREF_NEVER; 153 opt.ipsr_auth_alg = SADB_AALG_MD5HMAC; 159 if (setsockopt(sockfd, IPPROTO_IP, IP_SEC_OPT, (const char *)&opt, 160 sizeof (opt)) < 0) {
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pragma.c | 350 char *opt, *val; local 362 opt = strdupa(dnp->dn_string); 364 if ((val = strchr(opt, '=')) != NULL) 367 if (dtrace_setopt(dtp, opt, val) == -1) { 370 "failed to set option '%s': %s\n", opt, 375 opt, val, dtrace_errmsg(dtp, dtrace_errno(dtp)));
|
/illumos-gate/usr/src/lib/libexacct/demo/ |
H A D | exdump.c | 515 int opt; local 517 while ((opt = getopt(argc, argv, "v")) != EOF) { 518 switch (opt) {
|