/freebsd-11-stable/usr.sbin/fifolog/fifolog_writer/ |
H A D | fifolog_writer.c | 68 w_opt = strtoul(optarg, NULL, 0); 71 s_opt = strtoul(optarg, NULL, 0); 74 z_opt = strtoul(optarg, NULL, 0);
|
/freebsd-11-stable/usr.sbin/fifolog/fifolog_create/ |
H A D | fifolog_create.c | 66 if (expand_number(optarg, &recsize)) 70 if (expand_number(optarg, &reccnt)) 74 if (expand_number(optarg, &size))
|
/freebsd-11-stable/usr.bin/stdbuf/ |
H A D | stdbuf.c | 61 ebuf = optarg; 64 ibuf = optarg; 67 obuf = optarg;
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | main.c | 336 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-11-stable/sbin/mdconfig/ |
H A D | mdconfig.c | 150 tflag = optarg; 151 if (!strcmp(optarg, "malloc")) { 154 } else if (!strcmp(optarg, "vnode")) { 157 } else if (!strcmp(optarg, "swap")) { 160 } else if (!strcmp(optarg, "null")) { 164 errx(1, "unknown type: %s", optarg); 169 fflag = realpath(optarg, NULL); 174 if (!strcmp(optarg, "async")) 176 else if (!strcmp(optarg, "noasync")) 178 else if (!strcmp(optarg, "cluste [all...] |
/freebsd-11-stable/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 30 extern char *optarg; 205 do_icmp(ip, optarg); 213 if (!strcmp(optarg, "-")) 215 else if (!(langfile = fopen(optarg, "r"))) { 217 optarg); 233 if ((p = getprotobyname(optarg))) 237 optarg); 267 ip->ip_off = strtol(optarg, NULL, 0); 271 gateway = optarg; 275 dev = optarg; [all...] |
H A D | iptest.c | 30 extern char *optarg; 99 dev = optarg; 102 gateway = optarg; 105 mtu = atoi(optarg); 113 pointtest = atoi(optarg); 116 src = optarg;
|
/freebsd-11-stable/contrib/gperf/src/ |
H A D | options.cc | 763 _delimiters = /*getopt*/optarg; 775 _initializer_suffix = /*getopt*/optarg; 792 _hash_name = /*getopt*/optarg; 797 if ((_initial_asso_value = atoi (/*getopt*/optarg)) < 0) 810 if ((_jump = atoi (/*getopt*/optarg)) < 0) 826 PositionStringParser sparser (/*getopt*/optarg, 1, Positions::MAX_KEY_POS, Positions::LASTCHAR, BAD_VALUE, EOS); 828 if (/*getopt*/optarg [0] == '*') /* Use all the characters for hashing!!!! */ 884 _slot_name = /*getopt*/optarg; 895 set_language (/*getopt*/optarg); 900 if ((_asso_iterations = atoi (/*getopt*/optarg)) < [all...] |
/freebsd-11-stable/tools/tools/mcgrab/ |
H A D | mcgrab.cc | 160 extern char* optarg; ///< option argument 174 if (inet_pton(AF_INET, optarg, group) < 1) 176 optarg); 179 interface = optarg; 182 number = atoi(optarg);
|
/freebsd-11-stable/usr.sbin/kgzip/ |
H A D | kgzip.c | 89 if (!strcmp(optarg, "aout")) 91 else if (!strcmp(optarg, "elf")) 94 errx(1, "%s: Unknown format", optarg); 97 loader = optarg; 100 output = optarg;
|
/freebsd-11-stable/contrib/apr/misc/unix/ |
H A D | getopt.c | 72 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-11-stable/usr.sbin/boot98cfg/ |
H A D | boot98cfg.c | 112 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-11-stable/contrib/mdocml/ |
H A D | mandocd.c | 136 if (strncmp(optarg, "os=", 3) == 0) 137 defos = optarg + 3; 139 warnx("-I %s: Bad argument", optarg); 144 if (strcmp(optarg, "ascii") == 0) 146 else if (strcmp(optarg, "utf8") == 0) 148 else if (strcmp(optarg, "html") == 0) 151 warnx("-T %s: Bad argument", optarg);
|
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/ |
H A D | bthidd.c | 82 if (!bt_aton(optarg, &srv.bdaddr)) { 85 if ((he = bt_gethostbyname(optarg)) == NULL) 86 errx(1, "%s: %s", optarg, hstrerror(h_errno)); 93 config_file = optarg; 101 hids_file = optarg; 105 pid_file = optarg; 109 tval = strtol(optarg, (char **) &ep, 10);
|
/freebsd-11-stable/usr.bin/grep/ |
H A D | grep.c | 445 if (optarg == NULL) { 454 l = strtoll(optarg, &ep, 10); 482 if (strcasecmp(optarg, "skip") == 0) 484 else if (strcasecmp(optarg, "read") == 0) 490 if (strcasecmp("recurse", optarg) == 0) { 493 } else if (strcasecmp("skip", optarg) == 0) 495 else if (strcasecmp("read", optarg) == 0) 506 char *string = optarg; 517 read_patterns(optarg); 556 mlimit = mcount = strtoll(optarg, [all...] |
/freebsd-11-stable/sbin/mdmfs/ |
H A D | mdmfs.c | 148 argappend(&newfs_arg, "-a %s", optarg); 151 argappend(&newfs_arg, "-b %s", optarg); 157 argappend(&newfs_arg, "-c %s", optarg); 163 argappend(&newfs_arg, "-d %s", optarg); 166 path_mdconfig = optarg; 169 argappend(&newfs_arg, "-e %s", optarg); 176 argappend(&mdconfig_arg, "-f %s", optarg); 179 argappend(&newfs_arg, "-f %s", optarg); 185 argappend(&newfs_arg, "-i %s", optarg); 188 skel = optarg; [all...] |
/freebsd-11-stable/usr.sbin/smbmsg/ |
H A D | smbmsg.c | 234 fmt = optarg; 238 if ((cflag = getnum(optarg)) == -1) 239 errx(EX_USAGE, "Invalid number: %s", optarg); 247 dev = optarg; 251 if ((iflag = getnum(optarg)) == -1) 252 errx(EX_USAGE, "Invalid number: %s", optarg); 260 if ((oflag = getnum(optarg)) == -1) 261 errx(EX_USAGE, "Invalid number: %s", optarg); 273 if ((slave = getnum(optarg)) == -1) 274 errx(EX_USAGE, "Invalid number: %s", optarg); [all...] |
/freebsd-11-stable/contrib/elftoolchain/strings/ |
H A D | strings.c | 118 if (*optarg == 's') { 120 } else if (*optarg == 'S') { 122 } else if (*optarg == 'b') { 125 } else if (*optarg == 'B') { 128 } else if (*optarg == 'l') { 131 } else if (*optarg == 'L') { 142 min_len = strtoimax(optarg, (char**)NULL, 10); 153 if (*optarg == 'd') 155 else if (*optarg == 'o') 157 else if (*optarg [all...] |
/freebsd-11-stable/usr.bin/diff/ |
H A D | diff.c | 142 if (optarg != NULL) { 143 l = strtol(optarg, &ep, 10); 154 ifdefname = optarg; 172 push_ignore_pats(optarg); 179 label[0] = optarg; 181 label[1] = optarg; 209 start = optarg; 223 if (optarg != NULL) { 224 l = strtol(optarg, &ep, 10); 234 read_excludes_file(optarg); [all...] |
/freebsd-11-stable/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 555 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-11-stable/usr.bin/chpass/ |
H A D | chpass.c | 102 arg = optarg; 106 arg = optarg; 110 arg = optarg; 114 arg = optarg; 118 yp_domain = optarg; 121 yp_host = optarg;
|
/freebsd-11-stable/usr.bin/numactl/ |
H A D | numactl.c | 180 cpu_domain = atoi(optarg); 186 if (parse_policy(&vd, optarg) != 0) { 188 "Could not parse policy: '%s'\n", optarg); 199 vd.domain = atoi(optarg); 202 pid = atoi(optarg); 208 tid = atoi(optarg);
|
/freebsd-11-stable/contrib/libpcap/testprogs/ |
H A D | opentest.c | 84 device = optarg; 99 snaplen = strtol(optarg, &end, 0); 100 if (optarg == end || *end != '\0' 102 error("invalid snaplen %s", optarg); 109 bufsize = atoi(optarg)*1024; 111 error("invalid packet buffer size %s", optarg);
|
/freebsd-11-stable/usr.bin/env/ |
H A D | env.c | 106 login_name = optarg; 109 altpath = strdup(optarg); 116 split_spaces(optarg, &optind, &argc, &argv); 120 fprintf(stderr, "#env unset:\t%s\n", optarg); 121 rtrn = unsetenv(optarg); 123 err(EXIT_FAILURE, "unsetenv %s", optarg);
|
/freebsd-11-stable/contrib/apr-util/ |
H A D | buildconf | 33 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 34 *) optarg= ;; 39 apr_src_dir=$optarg
|