/haiku/src/bin/network/ping/ |
H A D | main.c | 131 if (inet_pton(AF_INET, optarg, &a) == 1) 135 if (inet_pton(AF_INET6, optarg, &a6) == 1)
|
H A D | ping6.c | 338 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 D | ping.c | 288 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 D | traceroute.c | 359 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 D | command_search.cpp | 199 if (strcmp(optarg, "name") == 0) 201 else if (strcmp(optarg, "full") == 0) 205 optarg);
|
/haiku/src/apps/debugger/ |
H A D | Debugger.cpp | 163 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 D | query.cpp | 151 strncpy(volumePath, optarg, B_FILE_NAME_LENGTH); 155 strncpy(directoryPath, optarg, B_PATH_NAME_LENGTH);
|
/haiku/src/tests/system/kernel/scheduler/ |
H A D | main.cpp | 363 runTime *= strtol(optarg, 0, NULL); 370 cpuCount = strtol(optarg, 0, NULL);
|
/haiku/src/bin/ |
H A D | badblocks.cpp | 112 blockSize = atoi(optarg); 116 group = atoi(optarg);
|
H A D | fstrim.cpp | 169 if (!ParseUint64(optarg, &offset)) { 175 if (!ParseUint64(optarg, &length)) {
|
H A D | ramdisk.cpp | 143 const char* sizeString = optarg;
|
/haiku/src/system/libroot/stubbed/ |
H A D | libroot_stubs_legacy.c | 102 int optarg; variable
|
H A D | libroot_stubs.c | 74 int optarg; variable
|
/haiku/headers/posix/ |
H A D | unistd.h | 485 extern char *optarg;
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | mkdos.cpp | 699 fat = strtol(optarg, NULL, 10);
|
/haiku/src/bin/acpi_call/ |
H A D | acpi_call.cpp | 142 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 D | command_create.cpp | 78 changeToDirectory = optarg; 86 packageInfoFileName = optarg; 90 installPath = optarg; 94 compression = parse_compression_argument(optarg);
|
H A D | command_recompress.cpp | 83 compression = parse_compression_argument(optarg);
|
/haiku/src/bin/network/ftpd/ |
H A D | ftpd.c | 321 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 D | cddb_lookup.cpp | 375 category = optarg; 378 serverAddress = optarg;
|
/haiku/src/bin/keymap/ |
H A D | main.cpp | 117 output = optarg; 121 input = optarg; 126 input = optarg; 130 input = optarg; 137 input = optarg; 141 input = optarg;
|
/haiku/src/apps/pulse/ |
H A D | PulseApp.cpp | 70 uint32 rgb = strtoul(optarg, NULL, 0); 89 fPrefs->deskbar_icon_width = atoi(optarg);
|
/haiku/src/tools/ |
H A D | elf2aout.c | 292 if ((fd = open(optarg, O_CREAT|O_RDWR, 0644)) < 0) 293 err(1, "%s", optarg);
|
/haiku/src/bin/debug/profile/ |
H A D | profile.cpp | 1041 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 D | mkntfs.c | 79 extern char *optarg;
|