/haiku/src/bin/pkgman/ |
H A D | CommonOptions.cpp | 33 fDebugLevel = strtol(optarg, &end, 0); 34 if (end == optarg) {
|
/haiku/src/bin/network/telnet/ |
H A D | main.c | 198 if ((tos = parsetos(optarg, "tcp")) < 0) 201 optarg, 205 ultmp = strtoul(optarg, &ep, 0); 206 if (*ep || ep == optarg || ultmp > MAXTOS) 209 optarg, 218 auth_disable_name(optarg); 235 set_escape_char(optarg); 286 (void)strncpy(dest_realm, optarg, dst_realm_sz); 305 user = optarg; 308 SetNetTrace(optarg); [all...] |
/haiku/src/bin/ |
H A D | mkindex.cpp | 113 device = dev_for_path(optarg); 116 kProgramName, optarg); 121 copyFromDevice = dev_for_path(optarg); 124 kProgramName, optarg); 132 indexTypeName = optarg; 133 if (strncmp("int", optarg, 3) == 0) 135 else if (strncmp("llong", optarg, 5) == 0) 137 else if (strncmp("string", optarg, 6) == 0) 139 else if (strncmp("float", optarg, 5) == 0) 141 else if (strncmp("double", optarg, [all...] |
H A D | logger.cpp | 149 tag = optarg; 153 facility = get_facility(optarg); 154 priority = get_priority(optarg);
|
H A D | vmstat.cpp | 53 rate = atoi(optarg) * 1000LL; 56 kProgramName, optarg);
|
H A D | findpaths.cpp | 174 architecture = optarg; 178 separator = optarg; 182 dependency = optarg; 202 referencePath = optarg; 206 resolvable = optarg;
|
H A D | watch.c | 111 if (optarg) 123 interval = strtol(optarg, &str, 10); 124 if (!*optarg || *str)
|
/haiku/src/tools/ |
H A D | create_image.cpp | 63 imageSize = strtoull(optarg, NULL, 10); 64 if (strchr(optarg, 'G') || strchr(optarg, 'g')) 66 else if (strchr(optarg, 'M') || strchr(optarg, 'm')) 68 else if (strchr(optarg, 'K') || strchr(optarg, 'k')) 73 file = optarg;
|
/haiku/src/system/libroot/posix/glibc/extensions/ |
H A D | getopt1.c | 142 if (optarg) 143 printf (" with arg %s", optarg); 172 printf ("option c with value `%s'\n", optarg); 176 printf ("option d with value `%s'\n", optarg);
|
H A D | getopt.h | 47 extern char *optarg; 88 a compiled-in constant, such as set a value from `optarg', set the 127 takes an argument, to be placed in `optarg'.
|
H A D | getopt.c | 124 char *optarg; 488 ARGV-element, is returned in `optarg'. Two colons mean an option that 490 it is returned in `optarg', otherwise `optarg' is set to zero. 535 optarg = NULL; 623 optarg = argv[optind++]; 730 optarg = nameend + 1; 790 optarg = argv[optind++]; 955 optarg = nextchar; 994 optarg 123 char *optarg; variable [all...] |
/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/tools/vmdkimage/ |
H A D | vmdkimage.cpp | 189 headerSize = strtoull(optarg, NULL, 10); 190 if (strchr(optarg, 'G') || strchr(optarg, 'g')) 192 else if (strchr(optarg, 'M') || strchr(optarg, 'm')) 194 else if (strchr(optarg, 'K') || strchr(optarg, 'k')) 199 imageSize = strtoull(optarg, NULL, 10); 200 if (strchr(optarg, 'G') || strchr(optarg, ' [all...] |
/haiku/src/bin/addattr/ |
H A D | main.cpp | 179 status_t status = file.SetTo(optarg, B_READ_ONLY); 182 optarg, strerror(status)); 214 if (typeForString(optarg, &attrType) != B_OK) 215 invalidAttrType(optarg); 218 if (strlen(optarg) == 4) { 221 strncpy(code + 1, optarg, 4); 225 invalidTypeCode(optarg);
|
/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/multiuser/ |
H A D | useradd.cpp | 92 home = optarg; 96 expiration = parsedate(optarg, time(NULL)) / (3600 * 24); 100 inactive = atoi(optarg); 105 group = optarg; 114 realName = optarg; 118 shell = optarg;
|
/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);
|
/haiku/src/bin/network/ping/ |
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/telnetd/ |
H A D | telnetd.c | 178 if (strcmp(optarg, "debug") == 0) { 181 } else if (strcasecmp(optarg, "none") == 0) { 183 } else if (strcasecmp(optarg, "other") == 0) { 185 } else if (strcasecmp(optarg, "user") == 0) { 187 } else if (strcasecmp(optarg, "valid") == 0) { 189 } else if (strcasecmp(optarg, "off") == 0) { 207 if (strcmp(optarg, "ebug") == 0) { 220 if (!strcmp(optarg, "report")) { 222 } else if (!strcmp(optarg, "exercise")) { 224 } else if (!strcmp(optarg, "netdat [all...] |
/haiku/src/bin/debug/time_stats/ |
H A D | time_stats.cpp | 70 bufferSize = atol(optarg); 82 outputFile = optarg;
|
/haiku/src/bin/mkfs/ |
H A D | main.cpp | 105 fsType = optarg; 114 fsOptions = optarg;
|
/haiku/src/tests/kits/support/ |
H A D | compression_test.cpp | 103 if (strcmp(optarg, "zlib") == 0) { 105 } else if (strcmp(optarg, "gzip") == 0) { 107 } else if (strcmp(optarg, "zstd") == 0) { 111 "\"%s\"\n", optarg);
|
/haiku/src/tests/kits/media/playsound/ |
H A D | playsound.cpp | 78 gain = atoi(optarg); 82 pan = atoi(optarg);
|
/haiku/src/tools/opd_to_package_info/ |
H A D | opd_to_package_info.cpp | 191 architecture = optarg; 195 description = optarg; 203 packager = optarg; 207 summary = optarg; 211 version = optarg; 215 vendor = optarg;
|
/haiku/src/bin/fwcontrol/ |
H A D | fwcontrol.c | 819 priority_budget = strtol(optarg, NULL, 0); 821 errx(EX_USAGE, "%s: priority_budget out of range: %s", __func__, optarg); 827 crom_string = malloc(strlen(optarg) + 1); 830 strcpy(crom_string, optarg); 840 crom_string_hex = malloc(strlen(optarg) + 1); 843 strcpy(crom_string_hex, optarg); 851 set_root_node = strtol(optarg, NULL, 0); 859 set_gap_count = strtol(optarg, NULL, 0); 868 load_crom(optarg, crom_buf); 878 if (eui64_hostton(optarg, [all...] |