Searched refs:optarg (Results 1 - 25 of 71) sorted by last modified time

123

/haiku/src/bin/network/ping/
H A Dmain.c131 if (inet_pton(AF_INET, optarg, &a) == 1)
135 if (inet_pton(AF_INET6, optarg, &a6) == 1)
H A Dping6.c338 if (optarg != NULL) {
339 DOT = optarg;
340 DOTlen = strlen(optarg);
352 for (cp = optarg; *cp != '\0'; cp++) {
393 lsockbufsize = strtoul(optarg, &e, 10);
395 if (errno || !*optarg || *e ||
404 pcp = strtol(optarg, &e, 10);
405 if (*optarg == '\0' || *e != '\0')
406 errx(1, "illegal vlan pcp %s", optarg);
408 errx(1, "illegal vlan pcp -- %s", optarg);
[all...]
H A Dping.c288 if (optarg != NULL) {
289 DOT = optarg;
290 DOTlen = strlen(optarg);
305 ltmp = strtonum(optarg, -1, 7, &errstr);
307 errx(EX_USAGE, "invalid PCP: `%s'", optarg);
314 ltmp = strtonum(optarg, 1, LONG_MAX, &errstr);
318 optarg);
338 ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
341 optarg);
352 ltmp = strtonum(optarg,
[all...]
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c359 extern char *optarg;
599 as_server = optarg;
622 first_ttl = str2val(optarg, "first ttl", 1, 255);
636 getaddr(gwlist + lsrr, optarg);
641 device = optarg;
649 max_ttl = str2val(optarg, "max ttl", 1, 255);
657 proto = setproto(optarg);
661 requestPort = (u_short)str2val(optarg, "port",
666 nprobes = str2val(optarg, "nprobes", 1, -1);
678 source = optarg;
[all...]
/haiku/src/bin/pkgman/
H A Dcommand_search.cpp199 if (strcmp(optarg, "name") == 0)
201 else if (strcmp(optarg, "full") == 0)
205 optarg);
/haiku/src/apps/debugger/
H A DDebugger.cpp163 options.coreFilePath = optarg;
175 options.reportPath = optarg;
181 options.team = strtol(optarg, NULL, 0);
192 options.thread = strtol(optarg, NULL, 0);
/haiku/src/bin/filteredquery/
H A Dquery.cpp151 strncpy(volumePath, optarg, B_FILE_NAME_LENGTH);
155 strncpy(directoryPath, optarg, B_PATH_NAME_LENGTH);
/haiku/src/tests/system/kernel/scheduler/
H A Dmain.cpp363 runTime *= strtol(optarg, 0, NULL);
370 cpuCount = strtol(optarg, 0, NULL);
/haiku/src/bin/
H A Dbadblocks.cpp112 blockSize = atoi(optarg);
116 group = atoi(optarg);
H A Dfstrim.cpp169 if (!ParseUint64(optarg, &offset)) {
175 if (!ParseUint64(optarg, &length)) {
H A Dramdisk.cpp143 const char* sizeString = optarg;
/haiku/src/system/libroot/stubbed/
H A Dlibroot_stubs_legacy.c102 int optarg; variable
H A Dlibroot_stubs.c74 int optarg; variable
/haiku/headers/posix/
H A Dunistd.h485 extern char *optarg;
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dmkdos.cpp699 fat = strtol(optarg, NULL, 10);
/haiku/src/bin/acpi_call/
H A Dacpi_call.cpp142 strlcpy(dev_path, optarg, MAXPATHLEN);
145 strlcpy(method_path, optarg, MAX_ACPI_PATH);
160 args[i].Integer.Value = strtol(optarg, NULL, 10);
164 args[i].String.Length = strlen(optarg);
165 args[i].String.Pointer = optarg;
168 if (parse_buffer(&args[i], optarg))
170 fprintf(stderr, "Unable to parse hexstring to buffer: %s\n", optarg);
178 output_format = optarg[0];
179 switch (optarg[0])
187 fprintf(stderr, "Incorrect output format: %c\n", optarg[
[all...]
/haiku/src/bin/package/
H A Dcommand_create.cpp78 changeToDirectory = optarg;
86 packageInfoFileName = optarg;
90 installPath = optarg;
94 compression = parse_compression_argument(optarg);
H A Dcommand_recompress.cpp83 compression = parse_compression_argument(optarg);
/haiku/src/bin/network/ftpd/
H A Dftpd.c321 bindname = optarg;
365 pid_file = optarg;
369 bindport = optarg;
385 timeout = atoi(optarg);
391 maxtimeout = atoi(optarg);
400 val = strtol(optarg, &optarg, 8);
401 if (*optarg != '\0' || val < 0)
/haiku/src/bin/cddb_lookup/
H A Dcddb_lookup.cpp375 category = optarg;
378 serverAddress = optarg;
/haiku/src/bin/keymap/
H A Dmain.cpp117 output = optarg;
121 input = optarg;
126 input = optarg;
130 input = optarg;
137 input = optarg;
141 input = optarg;
/haiku/src/apps/pulse/
H A DPulseApp.cpp70 uint32 rgb = strtoul(optarg, NULL, 0);
89 fPrefs->deskbar_icon_width = atoi(optarg);
/haiku/src/tools/
H A Delf2aout.c292 if ((fd = open(optarg, O_CREAT|O_RDWR, 0644)) < 0)
293 err(1, "%s", optarg);
/haiku/src/bin/debug/profile/
H A Dprofile.cpp1041 gOptions.interval = atol(optarg);
1050 outputFile = optarg;
1056 stackDepth = atol(optarg);
1062 gOptions.callgrind_directory = optarg;
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c79 extern char *optarg;

Completed in 266 milliseconds

123