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/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/cmd/mdb/common/libstand/
H A Dgetopt.c32 char *optarg = NULL; variable
43 optarg = NULL;
75 optarg = &argv[optind++][_sp+1];
82 optarg = NULL;
85 optarg = argv[optind++];
92 optarg = NULL;
/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/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/common/cmdparse/
H A Dcmdparse.h64 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/illumos-gate/usr/src/cmd/mpathadm/
H A Dcmdparse.h67 char optarg[MAXOPTARGLEN + 1]; member in struct:_cmdOptions
/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/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/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/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/sgs/libld/common/
H A Dargs.c744 * Decompose the string pointed by optarg into argv[][] so that argv[][] can be
763 if (optarg[2] == '3')
766 if (optarg[2] == '6')
770 p0 = &optarg[5];
802 if ((p0 = (char *)strdup(&optarg[5])) == NULL)
873 * optarg - option string to be processed. This will either be a NULL
882 guidance_parse(Ofl_desc *ofl, char *optarg) argument
909 optarg += MSG_ARG_GUIDE_SIZE;
910 if (*optarg == '=') {
911 optarg
972 assdeflib_parse(Ofl_desc *ofl, char *optarg) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c69 extern char *optarg;
273 for (sopt = optarg; sopt != NULL; sopt = nextopt) {
283 /* undo changes to optarg */
420 char *equals, *optarg; local
431 optarg = equals + 1;
433 optarg = NULL;
463 * None of these take an optarg.
465 if (optarg != NULL)
498 val = strtol(optarg, &p, 10);
511 val = strtol(optarg,
[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/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...]

Completed in 223 milliseconds

12