Searched refs:optarg (Results 76 - 100 of 748) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/gdb/gdb/
H A Dmain.c336 symarg = optarg;
337 execarg = optarg;
340 cdarg = optarg;
344 annotation_level = atoi (optarg);
373 symarg = optarg;
376 execarg = optarg;
379 corearg = optarg;
383 corearg = optarg;
386 cmdarg[ncmd++] = optarg;
398 if (!gdbtk_test (optarg))
[all...]
/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dipsend.c34 extern char *optarg;
229 do_icmp(ip, optarg);
237 if (!strcmp(optarg, "-"))
239 else if (!(langfile = fopen(optarg, "r"))) {
241 optarg);
257 if ((p = getprotobyname(optarg)))
261 optarg);
291 ip->ip_off = strtol(optarg, NULL, 0);
295 gateway = optarg;
299 dev = optarg;
[all...]
H A Diptest.c35 extern char *optarg;
120 dev = optarg;
123 gateway = optarg;
126 mtu = atoi(optarg);
134 pointtest = atoi(optarg);
137 src = optarg;
/freebsd-10.0-release/contrib/gperf/src/
H A Doptions.cc761 _delimiters = /*getopt*/optarg;
773 _initializer_suffix = /*getopt*/optarg;
790 _hash_name = /*getopt*/optarg;
795 if ((_initial_asso_value = atoi (/*getopt*/optarg)) < 0)
808 if ((_jump = atoi (/*getopt*/optarg)) < 0)
824 PositionStringParser sparser (/*getopt*/optarg, 1, Positions::MAX_KEY_POS, Positions::LASTCHAR, BAD_VALUE, EOS);
826 if (/*getopt*/optarg [0] == '*') /* Use all the characters for hashing!!!! */
882 _slot_name = /*getopt*/optarg;
893 set_language (/*getopt*/optarg);
898 if ((_asso_iterations = atoi (/*getopt*/optarg)) <
[all...]
/freebsd-10.0-release/tools/tools/mcgrab/
H A Dmcgrab.cc158 extern char* optarg; ///< option argument
171 if (inet_pton(AF_INET, optarg, group) < 1)
173 optarg);
176 interface = optarg;
179 number = atoi(optarg);
/freebsd-10.0-release/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c70 if (!bt_aton(optarg, &bdaddr)) {
73 if ((he = bt_gethostbyname(optarg)) == NULL)
74 errx(1, "%s: %s", optarg, hstrerror(h_errno));
81 config_file = optarg;
85 hids_file = optarg;
/freebsd-10.0-release/usr.sbin/kgzip/
H A Dkgzip.c87 if (!strcmp(optarg, "aout"))
89 else if (!strcmp(optarg, "elf"))
92 errx(1, "%s: Unknown format", optarg);
95 loader = optarg;
98 output = optarg;
/freebsd-10.0-release/contrib/apr/misc/unix/
H A Dgetopt.c72 char *optch, const char **optarg)
110 *optarg = NULL;
116 *optarg = os->place;
132 *optarg = os->argv[os->ind];
202 int *optch, const char **optarg)
253 *optarg = p + len + 1;
258 *optarg = os->argv[os->ind++];
261 *optarg = NULL;
294 *optarg = p;
299 *optarg
[all...]
/freebsd-10.0-release/usr.sbin/boot98cfg/
H A Dboot98cfg.c112 menubakpath = optarg;
115 iplbakpath = optarg;
118 iplpath = optarg;
121 menupath = optarg;
124 secsize = strtol(optarg, &endptr, 0);
125 if (errno || *optarg == '\0' || *endptr)
127 optarg);
135 errx(1, "%s: unsupported sector size", optarg);
141 version = strtol(optarg, &endptr, 0);
142 if (errno || *optarg
[all...]
/freebsd-10.0-release/contrib/libpcap/tests/
H A Dfiltertest.c59 extern char *optarg;
197 infile = optarg;
207 addr = inet_addr(optarg);
209 error("invalid netmask %s", optarg);
217 snaplen = strtol(optarg, &end, 0);
218 if (optarg == end || *end != '\0'
220 error("invalid snaplen %s", optarg);
H A Dopentest.c47 extern char *optarg;
75 device = optarg;
90 snaplen = strtol(optarg, &end, 0);
91 if (optarg == end || *end != '\0'
93 error("invalid snaplen %s", optarg);
100 bufsize = atoi(optarg)*1024;
102 error("invalid packet buffer size %s", optarg);
/freebsd-10.0-release/usr.sbin/bluetooth/bthidd/
H A Dbthidd.c79 if (!bt_aton(optarg, &srv.bdaddr)) {
82 if ((he = bt_gethostbyname(optarg)) == NULL)
83 errx(1, "%s: %s", optarg, hstrerror(h_errno));
90 config_file = optarg;
98 hids_file = optarg;
102 pid_file = optarg;
106 tval = strtol(optarg, (char **) &ep, 10);
/freebsd-10.0-release/usr.sbin/smbmsg/
H A Dsmbmsg.c233 fmt = optarg;
237 if ((cflag = getnum(optarg)) == -1)
238 errx(EX_USAGE, "Invalid number: %s", optarg);
246 dev = optarg;
250 if ((iflag = getnum(optarg)) == -1)
251 errx(EX_USAGE, "Invalid number: %s", optarg);
259 if ((oflag = getnum(optarg)) == -1)
260 errx(EX_USAGE, "Invalid number: %s", optarg);
272 if ((slave = getnum(optarg)) == -1)
273 errx(EX_USAGE, "Invalid number: %s", optarg);
[all...]
/freebsd-10.0-release/contrib/tcpdump/
H A Dtcpdump.c380 extern char *optarg;
774 Bflag = atoi(optarg)*1024;
776 error("invalid packet buffer size %s", optarg);
781 cnt = atoi(optarg);
783 error("invalid packet count %s", optarg);
787 Cflag = atoi(optarg) * 1000000;
789 error("invalid file size %s", optarg);
824 gndo->ndo_espsecret = optarg;
832 infile = optarg;
836 Gflag = atoi(optarg);
[all...]
/freebsd-10.0-release/crypto/openssh/
H A Dssh.c249 extern char *optarg;
363 logfile = xstrdup(optarg);
378 if (strcmp(optarg, "check") == 0)
380 else if (strcmp(optarg, "forward") == 0)
382 else if (strcmp(optarg, "exit") == 0)
384 else if (strcmp(optarg, "stop") == 0)
386 else if (strcmp(optarg, "cancel") == 0)
396 if (strcasecmp(optarg, "cipher") == 0)
398 else if (strcasecmp(optarg, "mac") == 0)
400 else if (strcasecmp(optarg, "ke
[all...]
/freebsd-10.0-release/contrib/apr-util/
H A Dbuildconf33 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
34 *) optarg= ;;
39 apr_src_dir=$optarg
/freebsd-10.0-release/tools/tools/net80211/wlaninject/
H A Dwlaninject.c555 iface = optarg;
559 chan = atoi(optarg);
563 wh->i_fc[0] |= atoi(optarg)& IEEE80211_FC0_VERSION_MASK;
567 wh->i_fc[0] |= str2type(optarg) <<
572 wh->i_fc[0] |= str2subtype(optarg) <<
611 *(uint16_t*)wh->i_dur = htole16(atoi(optarg));
615 str2mac(wh->i_addr1, optarg);
619 str2mac(wh->i_addr2, optarg);
623 str2mac(wh->i_addr3, optarg);
627 str2mac(body, optarg);
[all...]
/freebsd-10.0-release/usr.bin/chpass/
H A Dchpass.c102 arg = optarg;
106 arg = optarg;
110 arg = optarg;
114 arg = optarg;
118 yp_domain = optarg;
121 yp_host = optarg;
/freebsd-10.0-release/sbin/mount/
H A Dmount_fs.c97 getmntopts(optarg, mopts, &mntflags, 0);
98 p = strchr(optarg, '=');
104 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
/freebsd-10.0-release/contrib/flex/
H A Dscanopt.h114 * optarg - Return argument, may be NULL.
127 (scanopt_t * scanner, char **optarg,
/freebsd-10.0-release/contrib/gcclibs/include/
H A Dgetopt.h36 extern char *optarg;
76 a compiled-in constant, such as set a value from `optarg', set the
/freebsd-10.0-release/contrib/gdb/gdb/mi/
H A Dmi-cmd-env.c121 char *optarg; local
145 &optind, &optarg);
193 char *optarg; local
217 &optind, &optarg);
H A Dmi-cmd-file.c37 char *optarg; local
/freebsd-10.0-release/contrib/gdb/include/
H A Dgetopt.h36 extern char *optarg;
76 a compiled-in constant, such as set a value from `optarg', set the
/freebsd-10.0-release/sbin/mdmfs/
H A Dmdmfs.c135 argappend(&newfs_arg, "-a %s", optarg);
138 argappend(&newfs_arg, "-b %s", optarg);
144 argappend(&newfs_arg, "-c %s", optarg);
150 argappend(&newfs_arg, "-d %s", optarg);
153 path_mdconfig = optarg;
156 argappend(&newfs_arg, "-e %s", optarg);
163 argappend(&mdconfig_arg, "-f %s", optarg);
166 argappend(&newfs_arg, "-f %s", optarg);
172 argappend(&newfs_arg, "-i %s", optarg);
187 argappend(&newfs_arg, "-m %s", optarg);
[all...]

Completed in 576 milliseconds

1234567891011>>