Searched refs:optarg (Results 1 - 22 of 22) sorted by relevance

/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/
H A Dnewfs_msdos.c84 o.offset = argtooff(optarg, "offset");
90 o.bootstrap = optarg;
93 o.create_size = argtooff(optarg, "create size");
96 if (strcmp(optarg, "12") && strcmp(optarg, "16") &&
97 strcmp(optarg, "32"))
98 errx(1, "%s: bad FAT type", optarg);
99 o.fat_type = atoi(optarg);
102 o.volume_id = argto4(optarg, 0, "volume ID");
106 o.volume_label = optarg;
[all...]
/fuchsia/zircon/third_party/ulib/musl/include/
H A Dgetopt.h8 extern char* optarg;
H A Dunistd.h118 extern char* optarg;
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dgetopt.c9 char* optarg; variable
40 optarg = argv[optind++];
87 optarg = 0;
96 optarg = argv[optind++] + optpos;
H A Dgetopt_long.c57 optarg = 0;
91 optarg = opt + 1;
93 if (!(optarg = argv[optind])) {
/fuchsia/zircon/system/uapp/blktest/
H A Dmain.c20 blkdev = optarg;
/fuchsia/zircon/system/ulib/fs-test-utils/
H A Dperftest.cpp336 fixture_options->block_device_path = optarg;
344 fixture_options->ramdisk_block_size = atoi(optarg);
347 fixture_options->ramdisk_block_count = atoi(optarg);
353 fixture_options->fvm_slice_size = atoi(optarg);
356 if (strcmp(optarg, "minfs") == 0) {
358 } else if (strcmp(optarg, "blobfs") == 0) {
363 optarg);
368 performance_test_options->result_path = optarg;
371 performance_test_options->summary_path = optarg;
377 performance_test_options->sample_count = atoi(optarg);
[all...]
/fuchsia/zircon/system/uapp/channel-perf/
H A Dmain.cpp147 if (optarg) {
150 unsigned long long v = strtoull(optarg, &endptr, 10);
167 assert(optarg);
171 assert(optarg);
175 assert(optarg);
179 assert(optarg);
183 assert(optarg);
/fuchsia/zircon/system/dev/nand/broker/test/
H A Dmain.cpp120 config.path = optarg;
126 config.first_block = static_cast<uint32_t>(strtoul(optarg, NULL, 0));
129 config.num_blocks = static_cast<uint32_t>(strtoul(optarg, NULL, 0));
/fuchsia/zircon/system/uapp/xdc-test/
H A Dxdc-test.cpp122 if (sscanf(optarg, "%u", &stream_id) != 1) {
123 fprintf(stderr, "Failed to parse stream id: \"%s\"\n", optarg);
132 filename = optarg;
/fuchsia/zircon/system/uapp/clock/
H A Dclock.c123 set = strdup(optarg);
126 path = strdup(optarg);
/fuchsia/zircon/system/ulib/perftest/
H A Drunner.cpp384 dest->output_filename = optarg;
387 dest->filter_regex = optarg;
392 long val = strtol(optarg, &end, 0);
396 *optarg == '\0' || val == 0) {
398 optarg);
410 double val = strtod(optarg, &end);
411 if (*end != '\0' || *optarg == '\0') {
414 optarg);
/fuchsia/zircon/system/uapp/psutils/
H A Dkstats.c202 delay = ZX_SEC(atoi(optarg));
204 fprintf(stderr, "Bad -d value '%s'\n", optarg);
210 num_loops = atoi(optarg);
212 fprintf(stderr, "Bad -n value '%s'\n", optarg);
/fuchsia/zircon/system/ulib/runtests-utils/
H A Ddiscover-and-run-tests.cpp174 ParseTestNames(optarg, &basename_whitelist);
177 output_dir = optarg;
180 test_list_path = optarg;
184 const char* timeout_str = optarg;
/fuchsia/zircon/system/uapp/nand-util/
H A Dmain.cpp239 config->path = optarg;
261 config->page_num = static_cast<uint32_t>(strtoul(optarg, NULL, 0));
264 config->block_num = static_cast<uint32_t>(strtoul(optarg, NULL, 0));
267 config->abs_page = static_cast<uint32_t>(strtoul(optarg, NULL, 0));
270 config->count = static_cast<uint32_t>(strtoul(optarg, NULL, 0));
/fuchsia/zircon/system/uapp/fs-mkfs/
H A Dmain.c64 options->fvm_data_slices = strtoul(optarg, NULL, 0);
/fuchsia/zircon/system/host/netprotocol/
H A Dnetprotocol.c203 netboot_timeout = atoi(optarg);
209 tftp_block_size = atoi(optarg);
212 tftp_window_size = atoi(optarg);
/fuchsia/zircon/system/host/zbi/
H A Dzbi.cpp1846 outfile = optarg;
1863 depfile = optarg;
1872 if (Item::ParseTypeName(optarg, &input_type)) {
1875 fprintf(stderr, "unrecognized type: %s\n", optarg);
1883 prefix = optarg;
1890 if (prefix.empty() && optarg[0] != '\0') {
1901 filter.SetFilter(optarg);
1913 if (!strcmp(optarg, "x64")) {
1915 } else if (!strcmp(optarg, "arm64")) {
1953 new ManifestInputFileGenerator(FileContents(optarg, fals
[all...]
/fuchsia/zircon/system/uapp/kstress/
H A Dmain.cpp98 long t = atol(optarg);
/fuchsia/zircon/system/uapp/gpt/
H A Dgpt.c582 long val = strtol(optarg, &end, 10);
583 if (*end != 0 || optarg[0] == 0) {
594 long val = strtol(optarg, &end, 10);
595 if (*end != 0 || optarg[0] == 0) {
606 if (!strncmp(optarg, "0", 2)) {
608 } else if (!strncmp(optarg, "1", 2)) {
/fuchsia/zircon/system/ulib/fs-host/
H A Dcommon.cpp245 offset_ = atoll(optarg);
248 length_ = atoll(optarg);
/fuchsia/zircon/system/uapp/minfs/
H A Dmain.cpp143 options.fvm_data_slices = static_cast<uint32_t>(strtoul(optarg, NULL, 0));

Completed in 81 milliseconds