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

12

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Doptind.c31 char *optarg; variable
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dopt_data.c42 char *optarg = 0; variable
/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/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/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/sgs/liblddbg/common/
H A Dargs.c31 Dbg_args_option(Lm_list *lml, int ndx, int c, char *optarg) argument
36 if (optarg)
37 dbg_print(lml, MSG_INTL(MSG_ARG_OPTARG), ndx, c, optarg);
/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/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/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/test/zfs-tests/cmd/mkholes/
H A Dmkholes.c84 push_segment(list_t *seg_list, seg_type_t seg_type, char *optarg) argument
91 off_str = strtok(optarg, ":");
126 push_segment(&seg_list, SEG_DATA, optarg);
129 push_segment(&seg_list, SEG_HOLE, optarg);
/illumos-gate/usr/src/common/cmdparse/
H A Dcmdparse.h64 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.c116 char *optarg = NULL;
487 ARGV-element, is returned in `optarg'. Two colons mean an option that
489 it is returned in `optarg', otherwise `optarg' is set to zero.
527 optarg = NULL;
615 optarg = argv[optind++];
701 optarg = nameend + 1;
726 optarg = argv[optind++];
813 optarg = nextchar;
836 optarg
115 char *optarg = NULL; variable
[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/mpathadm/
H A Dcmdparse.h67 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/cmd/iscsiadm/
H A Dcmdparse.h68 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/cmd/isns/isnsadm/
H A Dcmdparse.h64 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/cmd/logadm/
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/sgs/elfedit/common/
H A Dutil.c504 elfedit_cmd_optarg_t *optarg; local
548 for (optarg = state->go_optarg; optarg->oa_name != NULL; ) {
550 (optarg->oa_flags & ELFEDIT_CMDOA_F_INHERIT) &&
551 (optarg->oa_name == ELFEDIT_STDOA_OPT_O);
554 elfedit_next_optarg(&optarg, &item);
657 for (optarg = state->go_optarg; optarg->oa_name != NULL; ) {
658 elfedit_next_optarg(&optarg, &item);
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
/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/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/sgs/libld/common/
H A Dargs.c704 * Decompose the string pointed by optarg into argv[][] so that argv[][] can be
723 if (optarg[2] == '3')
726 if (optarg[2] == '6')
730 p0 = &optarg[5];
762 if ((p0 = (char *)strdup(&optarg[5])) == NULL)
833 * optarg - option string to be processed. This will either be a NULL
842 guidance_parse(Ofl_desc *ofl, char *optarg) argument
869 optarg += MSG_ARG_GUIDE_SIZE;
870 if (*optarg == '=') {
871 optarg
932 assdeflib_parse(Ofl_desc *ofl, char *optarg) argument
[all...]
/illumos-gate/usr/src/lib/libxcurses/h/
H A Dmks.h664 char *optarg; /* Argument */ member in struct:getopt_state
/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...]

Completed in 71 milliseconds

12