/freebsd-9.3-release/usr.sbin/pkg_install/create/ |
H A D | main.c | 107 Prefix = optarg; 111 SrcDir = optarg; 115 BaseDir = optarg; 119 Contents = optarg; 123 Conflicts = optarg; 127 Comment = optarg; 131 Desc = optarg; 135 Install = optarg; 139 PostInstall = optarg; 143 DeInstall = optarg; [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/mi/ |
H A D | mi-getopt.c | 30 int *optind, char **optarg) 45 *optarg = NULL; 51 *optarg = NULL; 61 /* A non-simple optarg option. */ 64 *optarg = argv[(*optind) + 1]; 70 *optarg = NULL; 82 char *optarg; local 88 if (mi_getopt (prefix, argc, argv, opts, &optind, &optarg) == -1) 27 mi_getopt(const char *prefix, int argc, char **argv, struct mi_opt *opts, int *optind, char **optarg) argument
|
H A D | mi-getopt.h | 46 struct mi_opt *opt, int *optind, char **optarg);
|
H A D | mi-cmd-disas.c | 76 char *optarg; local 95 &optind, &optarg); 101 file_string = xstrdup (optarg); 105 line_num = atoi (optarg); 109 how_many = atoi (optarg); 113 low = parse_and_eval_address (optarg); 117 high = parse_and_eval_address (optarg);
|
/freebsd-9.3-release/usr.bin/tset/ |
H A D | tset.c | 105 add_mapping("arpanet", optarg); 108 add_mapping("dialup", optarg); 111 erasech = optarg[0] == '^' && optarg[1] != '\0' ? 112 optarg[1] == '?' ? '\177' : CTRL(optarg[1]) : 113 optarg[0]; 119 intrchar = optarg[0] == '^' && optarg[1] != '\0' ? 120 optarg[ [all...] |
/freebsd-9.3-release/usr.sbin/bluetooth/btpand/ |
H A D | btpand.c | 86 if (!bt_aton(optarg, &remote_bdaddr)) { 89 if ((he = bt_gethostbyname(optarg)) == NULL) 91 optarg, hstrerror(h_errno)); 100 control_path = optarg; 104 if (!bt_devaddr(optarg, &local_bdaddr)) { 107 if ((he = bt_gethostbyname(optarg)) == NULL) 109 optarg, hstrerror(h_errno)); 117 if (strchr(optarg, '/') == NULL) { 118 asprintf(&ep, "/dev/%s", optarg); 121 interface_name = optarg; [all...] |
/freebsd-9.3-release/contrib/libreadline/examples/ |
H A D | rl.c | 52 extern char *optarg; 106 prompt = optarg; 109 fd = atoi(optarg); 112 fprintf (stderr, "%s: bad file descriptor `%s'\n", progname, optarg); 117 deftext = optarg; 120 nch = atoi(optarg); 123 fprintf (stderr, "%s: bad value for -n: `%s'\n", progname, optarg);
|
/freebsd-9.3-release/usr.sbin/makefs/ |
H A D | makefs.c | 120 if (strcmp(optarg, "be") == 0 || 121 strcmp(optarg, "4321") == 0 || 122 strcmp(optarg, "big") == 0) { 126 } else if (strcmp(optarg, "le") == 0 || 127 strcmp(optarg, "1234") == 0 || 128 strcmp(optarg, "little") == 0) { 133 warnx("Invalid endian `%s'.", optarg); 139 len = strlen(optarg) - 1; 140 if (optarg[len] == '%') { 141 optarg[le [all...] |
/freebsd-9.3-release/sbin/nvmecontrol/ |
H A D | perftest.c | 95 if (!strcmp(optarg, "refthread")) 99 if (!strcmp(optarg, "bio") || 100 !strcmp(optarg, "wait")) 102 else if (!strcmp(optarg, "io") || 103 !strcmp(optarg, "intr")) 108 io_test.num_threads = strtoul(optarg, &p, 0); 112 optarg); 118 optarg); 124 if (!strcmp(optarg, "read") || !strcmp(optarg, "REA [all...] |
/freebsd-9.3-release/contrib/mtree/ |
H A D | mtree.c | 112 parsetags(&excludetags, optarg); 119 spec1 = fopen(optarg, "r"); 121 mtree_err("%s: %s", optarg, 124 spec2 = fopen(optarg, "r"); 126 mtree_err("%s: %s", optarg, 133 if (strcmp(optarg, flavors[i].name) == 0) { 144 parsetags(&includetags, optarg); 151 while ((p = strsep(&optarg, " \t,")) != NULL) 156 while ((p = strsep(&optarg, " \t,")) != NULL) 177 if (! setup_getid(optarg)) [all...] |
/freebsd-9.3-release/lib/libstand/ |
H A D | getopt.c | 44 char *optarg; /* argument associated with option */ variable 87 optarg = NULL; 93 optarg = place; 103 optarg = nargv[optind];
|
/freebsd-9.3-release/sys/contrib/rdma/krping/ |
H A D | getopt.h | 19 char **optopt, char **optarg, unsigned long *value);
|
/freebsd-9.3-release/contrib/bmake/ |
H A D | getopt.c | 57 char *optarg; /* argument associated with option */ variable 111 optarg = NULL; 117 optarg = place; 129 optarg = nargv[optind]; 155 if (optarg) 156 printf("--%s ", optarg); 162 if (optarg) 163 printf("-%c %s ", c, optarg);
|
/freebsd-9.3-release/usr.bin/getopt/ |
H A D | getopt.c | 26 if (optarg != NULL) 27 printf(" -%c %s", c, optarg);
|
/freebsd-9.3-release/contrib/ofed/management/opensm/osmtest/ |
H A D | main.c | 362 if (strlen(optarg) > OSMTEST_FILE_PATH_MAX) 366 strcpy(opt.file_name, optarg); 375 if (strlen(optarg) > OSMTEST_FILE_PATH_MAX) 379 strcpy(flow_name, optarg); 381 if (!strcmp("c", optarg)) { 384 } else if (!strcmp("v", optarg)) { 387 } else if (!strcmp("s", optarg)) { 390 } else if (!strcmp("e", optarg)) { 393 } else if (!strcmp("f", optarg)) { 396 } else if (!strcmp("m", optarg)) { [all...] |
/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | t-memstat.c | 25 extern char *optarg; 57 l = strtol(optarg, NULL, 0); 61 sz = strtol(optarg, NULL, 0); 65 resource = strdup(optarg); 69 optarg); 75 slp = strtol(optarg, NULL, 0);
|
/freebsd-9.3-release/usr.bin/hexdump/ |
H A D | hexsyntax.c | 84 add(optarg); 87 addfile(optarg); 90 if ((length = atoi(optarg)) < 0) 91 errx(1, "%s: bad length value", optarg); 98 if ((skip = strtoll(optarg, &p, 0)) < 0) 99 errx(1, "%s: bad skip value", optarg);
|
/freebsd-9.3-release/contrib/telnet/telnet/ |
H A D | main.c | 189 if ((tos = parsetos(optarg, "tcp")) < 0) 192 optarg, 196 ultmp = strtoul(optarg, &ep, 0); 197 if (*ep || ep == optarg || ultmp > MAXTOS) 200 optarg, 208 auth_disable_name(optarg); 225 set_escape_char(optarg); 276 (void)strncpy(dest_realm, optarg, dst_realm_sz); 295 user = optarg; 298 SetNetTrace(optarg); [all...] |
/freebsd-9.3-release/sbin/newfs/ |
H A D | newfs.c | 154 volumelabel = optarg; 170 if ((Oflag = atoi(optarg)) < 1 || Oflag > 2) 172 optarg); 178 rval = expand_number_int(optarg, §orsize); 180 errx(1, "%s: bad sector size", optarg); 183 disktype = optarg; 195 rval = expand_number_int(optarg, &maxcontig); 198 optarg); 201 rval = expand_number_int(optarg, &bsize); 204 optarg); [all...] |
/freebsd-9.3-release/tools/tools/netrate/tcpp/ |
H A D | tcpp.c | 119 ll = strtoll(optarg, &dummy, 10); 127 if (inet_aton(optarg, &remoteip.sin_addr) != 1) 128 err(-1, "inet_aton: %s", optarg); 137 if (inet_aton(optarg, &localipbase.sin_addr) != 1) 138 err(-1, "inet_aton: %s", optarg); 142 ll = strtoll(optarg, &dummy, 10); 149 ll = strtoll(optarg, &dummy, 10); 156 ll = strtol(optarg, &dummy, 10); 167 ll = strtoll(optarg, &dummy, 10); 174 ll = strtoll(optarg, [all...] |
/freebsd-9.3-release/usr.sbin/mtree/ |
H A D | mtree.c | 88 spec1 = fopen(optarg, "r"); 90 err(1, "%s", optarg); 92 spec2 = fopen(optarg, "r"); 94 err(1, "%s", optarg); 102 while ((p = strsep(&optarg, " \t,")) != NULL) 108 while ((p = strsep(&optarg, " \t,")) != NULL) 124 dir = optarg; 134 crc_total = ~strtoul(optarg, &p, 0); 136 errx(1, "illegal seed value -- %s", optarg); 152 read_excludes_file(optarg); [all...] |
/freebsd-9.3-release/usr.bin/nl/ |
H A D | nl.c | 151 parse_numbering(optarg, BODY); 154 clen = mbrlen(optarg, MB_CUR_MAX, NULL); 158 memcpy(delim1, optarg, delim1len = clen); 159 clen = mbrlen(optarg + delim1len, 165 memcpy(delim2, optarg + delim1len, 167 if (optarg[delim1len + clen] != '\0') 170 optarg); 175 parse_numbering(optarg, FOOTER); 178 parse_numbering(optarg, HEADER); 182 val = strtol(optarg, [all...] |
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/ |
H A D | main.c | 623 printf("Reloading config from `%s`:\n", optarg); 624 if (osm_subn_parse_conf_file(optarg, &opt)) { 633 conf_template = optarg; 657 opt.port_prof_ignore_file = optarg; 666 opt.guid = cl_hton64(strtoull(optarg, NULL, 16)); 677 val = strtol(optarg, NULL, 0); 690 opt.transaction_timeout = strtol(optarg, NULL, 0); 696 opt.max_wire_smps = strtol(optarg, NULL, 0); 706 if (strcmp(optarg, OSM_DISABLE_CONSOLE) == 0 707 || strcmp(optarg, OSM_LOCAL_CONSOL [all...] |
/freebsd-9.3-release/tools/regression/environ/ |
H A D | envctl.c | 143 blank_env(optarg); 147 switch (atoi(optarg)) { 172 value = getenv(arg == 'g' ? optarg : NULL); 177 print_rtrn_errno(putenv(optarg), eol); 185 print_rtrn_errno(setenv(NULL, optarg, 191 print_rtrn_errno(setenv(optarg, argv[optind], 202 print_rtrn_errno(unsetenv(arg == 'u' ? optarg : NULL),
|
/freebsd-9.3-release/usr.sbin/fifolog/fifolog_reader/ |
H A D | fifolog_reader.c | 106 opt_B = strtoul(optarg, NULL, 0); 109 opt_B = get_date(optarg); 111 errx(1, "Didn't understand \"%s\"", optarg); 114 opt_E = strtoul(optarg, NULL, 0); 117 opt_E = get_date(optarg); 119 errx(1, "Didn't understand \"%s\"", optarg); 122 opt_o = optarg; 125 opt_R = optarg; 131 opt_T = optarg;
|