/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/ |
H A D | chkargs.c | 110 if ((p = strchr(optarg, '=')) != NULL) 113 if (dtrace_setopt(dtp, optarg, p) != 0) { 115 "option -x %s: %s\n", g_progname, optarg,
|
/freebsd-11-stable/usr.sbin/chroot/ |
H A D | chroot.c | 77 user = optarg; 82 group = optarg; 87 grouplist = optarg;
|
/freebsd-11-stable/contrib/ofed/librdmacm/examples/ |
H A D | riostream.c | 602 dst_addr = optarg; 605 src_addr = optarg; 608 if (!strncasecmp("ip", optarg, 2)) { 610 } else if (!strncasecmp("gid", optarg, 3)) { 619 buffer_size = atoi(optarg); 622 inline_size = atoi(optarg); 626 iterations = atoi(optarg); 630 transfer_count = atoi(optarg); 633 if (!strncasecmp("all", optarg, 3)) { 637 transfer_size = atoi(optarg); [all...] |
H A D | rdma_xclient.c | 143 server = optarg; 146 strncpy(port, optarg, sizeof port - 1); 149 switch (tolower(optarg[0])) {
|
/freebsd-11-stable/usr.bin/brandelf/ |
H A D | brandelf.c | 77 type = atoi(optarg); 80 optarg); 95 strtype = optarg;
|
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | main.c | 79 control = optarg; 87 group = optarg; 91 user = optarg;
|
/freebsd-11-stable/usr.bin/fetch/ |
H A D | fetch.c | 924 B_size = (off_t)strtol(optarg, &end, 10); 925 if (*optarg == '\0' || *end != '\0') 926 errx(1, "invalid buffer size (%s)", optarg); 933 c_dirname = optarg; 942 f_filename = optarg; 949 h_hostname = optarg; 953 i_filename = optarg; 960 o_filename = optarg; 970 N_filename = optarg; 992 S_size = (off_t)strtol(optarg, [all...] |
/freebsd-11-stable/usr.sbin/spray/ |
H A D | spray.c | 77 count = atoi(optarg); 80 delay = atoi(optarg); 83 length = atoi(optarg);
|
/freebsd-11-stable/usr.sbin/pw/ |
H A D | pw_user.c | 752 cfg = optarg; 802 name = optarg; 805 id = pw_checkid(optarg, UID_MAX); 880 cfg = optarg; 886 name = optarg; 889 id = pw_checkid(optarg, UID_MAX); 895 nispasswd = optarg; 1223 cfg = optarg; 1229 name = pw_checkname(optarg, 0); 1232 userid = optarg; [all...] |
/freebsd-11-stable/contrib/amd/hlfsd/ |
H A D | hlfsd.c | 180 if (!optarg || optarg[0] != '/') { 182 am_get_progname(), optarg); 185 alt_spooldir = optarg; 189 if (!atoi(optarg)) { 191 am_get_progname(), optarg); 194 cache_interval = atoi(optarg); 206 hlfs_group = optarg; 210 if (!atoi(optarg)) { 212 am_get_progname(), optarg); [all...] |
/freebsd-11-stable/usr.sbin/spi/ |
H A D | spi.c | 189 if (optarg[0] == 'r') { 190 if (optarg[1] == 'w' && optarg[2] == 0) { 193 else if (optarg[1] == 0) { 197 else if (optarg[0] == 'w' && optarg[1] == 0) { 206 if (!optarg[0]) { /* unlikely */ 211 if (optarg[0] == '/') 212 strlcpy(dev_name, optarg, 216 "/dev/%s", optarg); [all...] |
/freebsd-11-stable/gnu/usr.bin/grep/ |
H A D | grep.c | 1360 extern char *optarg; 1436 context_length_arg (optarg, &out_after); 1440 context_length_arg (optarg, &out_before); 1446 context_length_arg (optarg, &default_context); 1450 if (strcmp (optarg, "read") == 0) 1452 else if (strcmp (optarg, "skip") == 0) 1507 setmatcher (optarg); 1523 if (strcmp (optarg, "read") == 0) 1525 else if (strcmp (optarg, "skip") == 0) 1527 else if (strcmp (optarg, "recurs [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/ |
H A D | h_gai.c | 112 extern char *optarg; 125 ai.ai_family = atoi(optarg); 128 ai.ai_protocol = atoi(optarg); 137 ai.ai_socktype = atoi(optarg);
|
/freebsd-11-stable/contrib/diff/lib/ |
H A D | getopt.h | 58 extern char *optarg; 99 a compiled-in constant, such as set a value from `optarg', set the 134 takes an argument, to be placed in `optarg'.
|
/freebsd-11-stable/contrib/elftoolchain/brandelf/ |
H A D | brandelf.c | 111 type = atoi(optarg); 114 "-f: %s", optarg); 132 if ((type = elftype(optarg)) == -1) { 133 warnx("ERROR: invalid ELF type '%s'", optarg);
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | getopt_int.h | 42 char *optarg; 41 char *optarg; member in struct:_getopt_data
|
/freebsd-11-stable/contrib/groff/src/roff/groff/ |
H A D | groff.cpp | 144 commands[SOELIM_INDEX].append_arg(buf, optarg); 146 commands[TROFF_INDEX].append_arg(buf, optarg); 149 Pargs += optarg; 230 if (strcmp(optarg, "html") == 0) { 234 if (strcmp(optarg, "Xps") == 0) { 240 device = optarg; 243 font::command_line_font_dir(optarg); 246 Fargs += optarg; 249 Fargs = optarg; 260 commands[TROFF_INDEX].append_arg(buf, optarg); [all...] |
/freebsd-11-stable/sbin/atm/atmconfig/ |
H A D | atmconfig.h | 93 void *optarg; member in struct:option
|
/freebsd-11-stable/sbin/mount_unionfs/ |
H A D | mount_unionfs.c | 149 p = strchr(optarg, '='); 154 if (strcmp(optarg, "gid") == 0) { 158 else if (strcmp(optarg, "uid") == 0) { 163 build_iovec(&iov, &iovlen, optarg, val, (size_t)-1);
|
/freebsd-11-stable/sbin/nvmecontrol/ |
H A D | power.c | 141 power_val = strtol(optarg, &end, 0); 143 fprintf(stderr, "Invalid power state number: %s\n", optarg); 148 workload = strtol(optarg, &end, 0); 150 fprintf(stderr, "Invalid workload hint: %s\n", optarg);
|
/freebsd-11-stable/share/examples/libusb20/ |
H A D | bulk.c | 165 in_ep = strtol(optarg, NULL, 0); 169 out_ep = strtol(optarg, NULL, 0); 173 pid = strtol(optarg, NULL, 0); 177 vid = strtol(optarg, NULL, 0);
|
/freebsd-11-stable/contrib/libxo/xopo/ |
H A D | xopo.c | 131 opt_input = optarg; 139 opt_output = optarg; 143 opt_options = optarg; 147 opt_simplify = optarg;
|
/freebsd-11-stable/contrib/netcat/ |
H A D | netcat.c | 183 if (strcasecmp(optarg, "connect") == 0) 185 else if (strcmp(optarg, "4") == 0) 187 else if (strcmp(optarg, "5") == 0) 197 ipsec_policy[ipsec_count++ % 2] = optarg; 217 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); 219 errx(1, "interval %s: %s", errstr, optarg); 237 Pflag = optarg; 240 pflag = optarg; 246 sflag = optarg; 257 rtableid = (int)strtonum(optarg, [all...] |
/freebsd-11-stable/usr.bin/limits/ |
H A D | limits.c | 295 optarg = NULL; 310 cls = optarg; 313 if ((pwd = getpwnam(optarg)) == NULL) { 314 if (!isdigit(*optarg) || 315 (pwd = getpwuid(atoi(optarg))) == NULL) { 316 warnx("invalid user `%s'", optarg); 331 if (!isdigit(*optarg) || (pid = atoi(optarg)) < 0) { 332 warnx("invalid pid `%s'", optarg); 340 if (optarg [all...] |
/freebsd-11-stable/usr.bin/iconv/ |
H A D | iconv.c | 190 if (optarg != NULL) 191 opt_f = optarg; 195 if (optarg != NULL) 196 opt_t = optarg;
|