Searched defs:optarg (Results 1 - 25 of 46) sorted by path

12

/illumos-gate/usr/src/boot/lib/libstand/
H A Dgetopt.c44 char *optarg; /* argument associated with option */ variable
87 optarg = NULL;
93 optarg = place;
103 optarg = nargv[optind];
/illumos-gate/usr/src/cmd/auditreduce/
H A Doption.c120 extern char *optarg; /* in getopt() - holds arg to flag */
145 f_outfile = optarg;
149 f_machine = optarg;
158 f_root = optarg;
161 f_server = optarg;
167 f_outfile = optarg;
172 if (proc_date(optarg, opt))
176 if (proc_subject(optarg))
180 if (proc_type(optarg))
184 if (proc_object(optarg))
287 proc_subject(char *optarg) argument
299 proc_sid(char *optarg) argument
311 proc_object(char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dgetopt.c45 char *optarg; variable
75 optarg = &argv[optind++][sp+1];
82 optarg = argv[optind++];
85 optarg = argv[optind++];
86 if (*optarg == '-') {
99 optarg = NULL;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecalgs.c1010 try_int(char *optarg, const char *what) argument
1012 int rc = atoi(optarg);
1073 alg_names_string = optarg;
1078 block_sizes_string = optarg;
1083 proto_name = optarg;
1088 proto_number = try_int(optarg,
1094 exec_mode_string = optarg;
1105 increment = try_int(optarg,
1111 key_sizes_string = optarg;
1116 default_keylen = try_int(optarg,
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Ddcs.c107 static void dcs_log_bad_alg(char optopt, char *optarg);
222 usr_debug = strtol(optarg, &err_str, 0);
230 optarg, "exiting");
247 usr_ses = strtol(optarg, &err_str, 0);
258 optarg, behavior_str);
268 optarg, &alg_ec);
271 optarg, &alg_ec);
274 dcs_log_bad_alg(optopt, optarg);
282 esp_encr_alg = dcs_get_alg(esp_algs_array, optarg,
286 dcs_log_bad_alg(optopt, optarg);
436 dcs_log_bad_alg(char optopt, char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dshareutil.c40 * add_opt(optlist, optarg, security?)
46 add_opt(struct options **optlistp, char *optarg, int unset) argument
58 optname = optarg;
/illumos-gate/usr/src/cmd/dtrace/test/cmd/jdtrace/
H A DGetopt.java51 private String optarg = null; field in class:Getopt
252 return optarg;
372 optarg = null;
395 * of optarg as follows:
398 * argv, then optarg contains the next element of argv, and
403 * 2. Otherwise, optarg points to the string following the
418 optarg = args[optind++].substring(_sp + 1);
425 optarg = longoptarg.get();
430 optarg = null;
433 optarg
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c69 extern char *optarg;
264 for (sopt = optarg; sopt != NULL; sopt = nextopt) {
274 /* undo changes to optarg */
411 char *equals, *optarg; local
422 optarg = equals + 1;
424 optarg = NULL;
454 * None of these take an optarg.
456 if (optarg != NULL)
489 val = strtol(optarg, &p, 10);
502 val = strtol(optarg,
[all...]
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c88 static void map_name_type_append(char *optarg);
287 extern char *optarg;
302 cmd_opt.disassemble = optarg;
305 cmd_opt.interpreter = optarg;
314 prog_path_expand(optarg);
319 optarg);
323 p = basename(optarg);
325 *(cmd_opt.cpp_opt + 0) = strdup_vital(optarg);
331 if (cpp_opt_append(optarg, NULL)) {
336 if (cpp_opt_append("-I", optarg)) {
636 map_name_type_append(char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dcmdparse.h68 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
H A Discsiadm_main.c233 static int modifyConfiguredSessions(IMA_OID targetOid, char *optarg);
1076 setLoginParameter(IMA_OID oid, int optval, char *optarg) argument
1096 if (strcasecmp(optarg, "yes") == 0) {
1098 } else if (strcasecmp(optarg, "no") == 0) {
1104 optarg);
1111 uintValue = strtoul(optarg, &endptr, 0);
1116 optarg);
1131 uintValue = strtoul(optarg, &endptr, 0);
1136 optarg);
1148 uintValue = strtoul(optarg,
1400 setLoginParameters(IMA_OID oid, char *optarg) argument
3251 modifyTargetBidirAuthFlag(IMA_OID targetOid, char *optarg, int *funcRet) argument
3277 modifyConfiguredSessions(IMA_OID targetOid, char *optarg) argument
3433 modifyNodeAuthMethod(IMA_OID oid, char *optarg, int *funcRet) argument
3488 modifyTargetAuthMethod(IMA_OID oid, char *optarg, int *funcRet) argument
3549 modifyNodeRadiusConfig(IMA_OID oid, char *optarg, int *funcRet) argument
3585 modifyNodeRadiusAccess(IMA_OID oid, char *optarg, int *funcRet) argument
5558 setTunableParameters(IMA_OID oid, char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/isns/isnsadm/
H A Dcmdparse.h64 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapsearch.c52 static void options_callback( int option, char *optarg );
57 static char **get_effectiverights_attrlist(char * optarg);
361 options_callback( int option, char *optarg )
407 if ( strncasecmp( optarg, "base", 4 ) == 0 ) {
409 } else if ( strncasecmp( optarg, "one", 3 ) == 0 ) {
411 } else if ( strncasecmp( optarg, "sub", 3 ) == 0 ) {
420 if ( strncasecmp( optarg, "never", 5 ) == 0 ) {
422 } else if ( strncasecmp( optarg, "search", 5 ) == 0 ) {
424 } else if ( strncasecmp( optarg, "find", 4 ) == 0 ) {
426 } else if ( strncasecmp( optarg, "alway
1392 get_effectiverights_attrlist(char * optarg) argument
[all...]
/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c608 conf_set(const char *entry, char *o, const char *optarg) argument
623 (void) opts_set(cp->cf_opts, o, optarg);
H A Dopts.c55 static off_t opts_parse_ctime(const char *o, const char *optarg);
56 static off_t opts_parse_bytes(const char *o, const char *optarg);
57 static off_t opts_parse_atopi(const char *o, const char *optarg);
58 static off_t opts_parse_seconds(const char *o, const char *optarg);
216 opts_set(struct opts *opts, const char *o, const char *optarg) argument
222 opts->op_raw = lut_add(opts->op_raw, o, (void *)optarg);
225 *rval = (*info->oi_parser)(o, optarg);
258 * opts_optarg -- return the optarg for the given option, NULL if not set
317 * opts_parse_ctime -- parse a ctime format optarg
320 opts_parse_ctime(const char *o, const char *optarg) argument
340 opts_parse_atopi(const char *o, const char *optarg) argument
358 opts_parse_bytes(const char *o, const char *optarg) argument
393 opts_parse_seconds(const char *o, const char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tsol_separator.c69 char *optarg; /* Used by getopt */ variable
408 ArgDebugLevel = atoi(optarg);
411 ArgLogFile = fopen(optarg, "a");
415 optarg);
434 ArgDebugLevel = atoi(optarg);
446 ArgSeparatorPS = optarg;
449 ArgBannerPS = optarg;
452 ArgTrailerPS = optarg;
455 ArgPSLib = optarg;
/illumos-gate/usr/src/cmd/mdb/common/libstand/
H A Dgetopt.c34 char *optarg = NULL; variable
45 optarg = NULL;
77 optarg = &argv[optind++][_sp+1];
84 optarg = NULL;
87 optarg = argv[optind++];
94 optarg = NULL;
/illumos-gate/usr/src/cmd/mdb/tools/setdynflag/common/
H A Dsetdynflag.c142 parse_flag(char *optarg) argument
148 for (arg = strtok(optarg, ","); arg != NULL; arg = strtok(NULL, ",")) {
169 if ((flval = strtoul(optarg, NULL, 0)) == 0 &&
170 (flval = parse_flag(optarg)) == 0)
/illumos-gate/usr/src/cmd/mpathadm/
H A Dcmdparse.h67 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool_ui.c77 static void print_bad_option(char *argv[], int optopt, char *optarg);
119 extern char *optarg; /* Current commandline string. */
191 print_bad_option(argv, optopt, optarg);
219 if (parse_nexus_opts(optarg, &parsed_args->flags,
239 if (parse_device_opts(optarg, &parsed_args->flags,
262 if (parse_ino_opts(optarg, &parsed_args->flags,
283 if (parse_msi_opts(optarg, &parsed_args->flags,
302 if (optarg[0] == '-') {
312 if (parse_probeone_opts(optarg, &parsed_args->flags,
376 if (get_value64(optarg,
782 print_bad_option(char *argv[], int optopt, char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/ppgsz/
H A Dppgsz.c87 atosz(char *optarg) argument
92 if (optarg == NULL || optarg[0] == '\0')
95 sz = strtoll(optarg, &endptr, 0);
140 cnvpgsz(char *optarg) argument
142 size_t pgsz = atosz(optarg);
158 if (optarg != NULL) {
161 command, optarg);
209 options = optarg;
/illumos-gate/usr/src/cmd/ptools/pmadvise/
H A Dpmadvise.c327 get_advice(char *optarg) argument
335 if (strcmp(optarg, "access_default") == 0)
337 else if (strcmp(optarg, "access_many") == 0)
339 else if (strcmp(optarg, "access_lwp") == 0)
341 else if (strcmp(optarg, "sequential") == 0)
343 else if (strcmp(optarg, "willneed") == 0)
345 else if (strcmp(optarg, "dontneed") == 0)
347 else if (strcmp(optarg, "random") == 0)
349 else if (strcmp(optarg, "normal") == 0)
351 else if (strcmp(optarg, "fre
368 atosz(char *optarg, char **endptr) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dconf.c2995 extern char *optarg;
3000 char *optarg = NULL; /* argument associated with option */ local
3042 optarg = NULL;
3046 if (*place) optarg = place; /* no white space */
3051 else optarg = nargv[optind]; /* white space */
/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit.c695 * by optarg, and advance the pointer to the next item.
698 * optarg - Address of pointer to argument or option array
703 * the next item in the optarg array. *optarg has been advanced
707 elfedit_next_optarg(elfedit_cmd_optarg_t **optarg, elfedit_optarg_item_t *item) argument
740 oa = (*optarg)++;
757 (*optarg)++;
836 * Used by usage_optarg() to insert an optarg item string into the output
870 * optarg - Options list
877 elfedit_cmd_optarg_t *optarg, in
876 usage_optarg(size_t main_buf_n, char **buf, size_t *buf_n, size_t *buf_cur_col, elfedit_cmd_optarg_t *optarg, int isopt, const char *wrap_str) argument
1074 elfedit_cmd_optarg_t *optarg; local
1555 validate_optarg(elfedit_cmd_optarg_t *optarg, int isopt, MODLIST_T *moddef, const char *mod_name, const char *cmd_name, void *dl_hdl, const char *dl_path) argument
3136 elfedit_cmd_optarg_t *optarg; local
[all...]
H A Dsys.c204 elfedit_cmd_optarg_t *optarg)
212 for (cnt = 0; optarg->oa_name != NULL; cnt++) {
213 elfedit_next_optarg(&optarg, &item);
203 write_optarg(elfeditGC_module_t *mod, const char *title, elfedit_cmd_optarg_t *optarg) argument

Completed in 230 milliseconds

12