/external/vboot_reference/cgpt/ |
D | cmd_add.c | 53 params.drive_size = strtoull(optarg, &e, 0); in cmd_add() 54 if (!*optarg || (e && *e)) in cmd_add() 56 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_add() 61 params.partition = (uint32_t)strtoul(optarg, &e, 0); in cmd_add() 62 if (!*optarg || (e && *e)) in cmd_add() 64 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_add() 70 params.begin = strtoull(optarg, &e, 0); in cmd_add() 71 if (!*optarg || (e && *e)) in cmd_add() 73 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_add() 79 params.size = strtoull(optarg, &e, 0); in cmd_add() [all …]
|
D | cmd_find.c | 82 params.drive_size = strtoull(optarg, &e, 0); in cmd_find() 83 if (!*optarg || (e && *e)) in cmd_find() 85 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_find() 100 params.label = optarg; in cmd_find() 104 if (CGPT_OK != SupportedType(optarg, ¶ms.type_guid) && in cmd_find() 105 CGPT_OK != StrToGuid(optarg, ¶ms.type_guid)) { in cmd_find() 106 Error("invalid argument to -%c: %s\n", c, optarg); in cmd_find() 112 if (CGPT_OK != StrToGuid(optarg, ¶ms.unique_guid)) { in cmd_find() 113 Error("invalid argument to -%c: %s\n", c, optarg); in cmd_find() 118 params.matchbuf = ReadFile(optarg, ¶ms.matchlen); in cmd_find() [all …]
|
D | cmd_prioritize.c | 54 params.drive_size = strtoull(optarg, &e, 0); in cmd_prioritize() 55 if (!*optarg || (e && *e)) in cmd_prioritize() 57 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_prioritize() 62 params.set_partition = (uint32_t)strtoul(optarg, &e, 0); in cmd_prioritize() 63 if (!*optarg || (e && *e)) in cmd_prioritize() 65 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_prioritize() 73 params.max_priority = (int)strtol(optarg, &e, 0); in cmd_prioritize() 74 if (!*optarg || (e && *e)) in cmd_prioritize() 76 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_prioritize()
|
D | cmd_boot.c | 45 params.drive_size = strtoull(optarg, &e, 0); in cmd_boot() 46 if (!*optarg || (e && *e)) in cmd_boot() 48 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_boot() 53 params.partition = (uint32_t)strtoul(optarg, &e, 0); in cmd_boot() 54 if (!*optarg || (e && *e)) in cmd_boot() 56 Error("invalid argument to -%c: \"%s\"\n", c, optarg); in cmd_boot() 61 params.bootfile = optarg; in cmd_boot()
|
/external/libnl/src/ |
D | nf-ct-list.c | 107 case 'f': params.dp_type = nl_cli_parse_dumptype(optarg); break; in main() 110 case 'i': nl_cli_ct_parse_id(ct, optarg); break; in main() 111 case 'p': nl_cli_ct_parse_protocol(ct, optarg); break; in main() 112 case ARG_TCP_STATE: nl_cli_ct_parse_tcp_state(ct, optarg); break; in main() 113 case ARG_ORIG_SRC: nl_cli_ct_parse_src(ct, 0, optarg); break; in main() 114 case ARG_ORIG_SPORT: nl_cli_ct_parse_src_port(ct, 0, optarg); break; in main() 115 case ARG_ORIG_DST: nl_cli_ct_parse_dst(ct, 0, optarg); break; in main() 116 case ARG_ORIG_DPORT: nl_cli_ct_parse_dst_port(ct, 0, optarg); break; in main() 117 case ARG_REPLY_SRC: nl_cli_ct_parse_src(ct, 1, optarg); break; in main() 118 case ARG_REPLY_SPORT: nl_cli_ct_parse_src_port(ct, 1, optarg); break; in main() [all …]
|
D | nl-route-list.c | 105 case 'f': params.dp_type = nl_cli_parse_dumptype(optarg); break; in main() 108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main() 109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 110 case 't': nl_cli_route_parse_table(route, optarg); break; in main() 111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main() 112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main() 113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main() 115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main() 116 case ARG_PRIORITY: nl_cli_route_parse_prio(route, optarg); break; in main() [all …]
|
D | nl-route-add.c | 108 case 'd': nl_cli_route_parse_dst(route, optarg); break; in main() 109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 110 case 't': nl_cli_route_parse_table(route, optarg); break; in main() 111 case ARG_FAMILY: nl_cli_route_parse_family(route, optarg); break; in main() 112 case ARG_SRC: nl_cli_route_parse_src(route, optarg); break; in main() 113 case ARG_IIF: nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 114 case ARG_PREF_SRC: nl_cli_route_parse_pref_src(route, optarg); break; in main() 115 case ARG_METRICS: nl_cli_route_parse_metric(route, optarg); break; in main() 116 case ARG_PRIORITY: nl_cli_route_parse_prio(route, optarg); break; in main() 117 case ARG_SCOPE: nl_cli_route_parse_scope(route, optarg); break; in main() [all …]
|
D | nl-route-delete.c | 141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main() 142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main() 144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main() 145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main() 146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 147 case ARG_PREF_SRC: nf++; nl_cli_route_parse_pref_src(route, optarg); break; in main() 148 case ARG_METRICS: nf++; nl_cli_route_parse_metric(route, optarg); break; in main() 149 case ARG_PRIORITY: nf++; nl_cli_route_parse_prio(route, optarg); break; in main() 150 case ARG_SCOPE: nf++; nl_cli_route_parse_scope(route, optarg); break; in main() [all …]
|
D | nl-addr-add.c | 98 case 'a': nl_cli_addr_parse_local(addr, optarg); break; in main() 99 case 'd': nl_cli_addr_parse_dev(addr, link_cache, optarg); break; in main() 100 case ARG_FAMILY: nl_cli_addr_parse_family(addr, optarg); break; in main() 101 case ARG_LABEL: nl_cli_addr_parse_label(addr, optarg); break; in main() 102 case ARG_PEER: nl_cli_addr_parse_peer(addr, optarg); break; in main() 103 case ARG_SCOPE: nl_cli_addr_parse_scope(addr, optarg); break; in main() 104 case ARG_BROADCAST: nl_cli_addr_parse_broadcast(addr, optarg); break; in main() 105 case ARG_PREFERRED: nl_cli_addr_parse_preferred(addr, optarg); break; in main() 106 case ARG_VALID: nl_cli_addr_parse_valid(addr, optarg); break; in main()
|
D | nl-addr-delete.c | 122 case 'a': nl_cli_addr_parse_local(addr, optarg); break; in main() 123 case 'd': nl_cli_addr_parse_dev(addr, link_cache, optarg); break; in main() 124 case ARG_FAMILY: nl_cli_addr_parse_family(addr, optarg); break; in main() 125 case ARG_LABEL: nl_cli_addr_parse_label(addr, optarg); break; in main() 126 case ARG_PEER: nl_cli_addr_parse_peer(addr, optarg); break; in main() 127 case ARG_SCOPE: nl_cli_addr_parse_scope(addr, optarg); break; in main() 128 case ARG_BROADCAST: nl_cli_addr_parse_broadcast(addr, optarg); break; in main() 129 case ARG_PREFERRED: nl_cli_addr_parse_preferred(addr, optarg); break; in main() 130 case ARG_VALID: nl_cli_addr_parse_valid(addr, optarg); break; in main()
|
D | nl-link-list.c | 91 case 'f': params.dp_type = nl_cli_parse_dumptype(optarg); break; in main() 94 case 'n': nl_cli_link_parse_name(link, optarg); break; in main() 95 case 'i': nl_cli_link_parse_ifindex(link, optarg); break; in main() 96 case ARG_FAMILY: nl_cli_link_parse_family(link, optarg); break; in main() 97 case ARG_MTU: nl_cli_link_parse_mtu(link, optarg); break; in main() 98 case ARG_TXQLEN: nl_cli_link_parse_txqlen(link, optarg); break; in main() 99 case ARG_WEIGHT: nl_cli_link_parse_weight(link, optarg); break; in main()
|
/external/blktrace/btt/ |
D | args.c | 297 bno_dump_name = optarg; in handle_args() 300 sscanf(optarg, "%lf", &range_delta); in handle_args() 303 devices = optarg; in handle_args() 306 exes = optarg; in handle_args() 312 input_name = optarg; in handle_args() 315 d2c_name = optarg; in handle_args() 318 plat_freq = atof(optarg); in handle_args() 321 iostat_name = strdup(optarg); in handle_args() 324 sps_name = optarg; in handle_args() 327 if (dev_map_read(optarg)) in handle_args() [all …]
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format_main.c | 51 config.heap = atoi(optarg); in f2fs_parse_options() 56 config.dbg_lv = atoi(optarg); in f2fs_parse_options() 60 config.extension_list = strdup(optarg); in f2fs_parse_options() 64 if (strlen(optarg) > 512) { in f2fs_parse_options() 69 config.vol_label = optarg; in f2fs_parse_options() 73 config.overprovision = atoi(optarg); in f2fs_parse_options() 75 atoi(optarg)); in f2fs_parse_options() 78 config.segs_per_sec = atoi(optarg); in f2fs_parse_options() 80 atoi(optarg)); in f2fs_parse_options() 83 config.secs_per_zone = atoi(optarg); in f2fs_parse_options() [all …]
|
/external/lldb/tools/lldb-platform/ |
D | lldb-platform.cpp | 133 if (optarg && optarg[0]) in main() 135 if ((strcasecmp(optarg, "stdout") == 0) || (strcmp(optarg, "/dev/stdout") == 0)) in main() 139 … else if ((strcasecmp(optarg, "stderr") == 0) || (strcmp(optarg, "/dev/stderr") == 0)) in main() 145 FILE *log_file = fopen(optarg, "w"); in main() 154 …tf (stderr, "Failed to open log file '%s' for writing: errno = %i (%s)", optarg, errno, errno_str … in main() 163 if (optarg && optarg[0]) in main() 164 log_args.AppendArgument(optarg); in main() 168 listen_host_port.append (optarg); in main()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | main.c | 183 iface->bridge_ifname = optarg; in main() 189 iface->confname = optarg; in main() 192 iface->ctrl_interface = optarg; in main() 195 iface->driver = optarg; in main() 208 params.entropy_file = optarg; in main() 212 params.wpa_debug_file_path = optarg; in main() 216 params.ctrl_interface = optarg; in main() 219 params.ctrl_interface_group = optarg; in main() 226 iface->ifname = optarg; in main() 229 iface->confanother = optarg; in main() [all …]
|
/external/vboot_reference/futility/ |
D | cmd_vbutil_kernel.c | 286 filename = optarg; in do_vbutil_kernel() 291 if ((!strncasecmp(optarg, "x86", 3)) || in do_vbutil_kernel() 292 (!strcasecmp(optarg, "amd64"))) in do_vbutil_kernel() 294 else if ((!strcasecmp(optarg, "arm")) || in do_vbutil_kernel() 295 (!strcasecmp(optarg, "aarch64"))) in do_vbutil_kernel() 297 else if (!strcasecmp(optarg, "mips")) in do_vbutil_kernel() 302 optarg); in do_vbutil_kernel() 308 oldfile = optarg; in do_vbutil_kernel() 312 kernel_body_load_address = strtoul(optarg, &e, 0); in do_vbutil_kernel() 313 if (!*optarg || (e && *e)) { in do_vbutil_kernel() [all …]
|
D | cmd_sign.c | 719 option.signprivate = PrivateKeyRead(optarg); in do_sign() 721 fprintf(stderr, "Error reading %s\n", optarg); in do_sign() 726 option.keyblock = KeyBlockRead(optarg); in do_sign() 728 fprintf(stderr, "Error reading %s\n", optarg); in do_sign() 733 option.kernel_subkey = PublicKeyRead(optarg); in do_sign() 735 fprintf(stderr, "Error reading %s\n", optarg); in do_sign() 740 option.devsignprivate = PrivateKeyRead(optarg); in do_sign() 742 fprintf(stderr, "Error reading %s\n", optarg); in do_sign() 747 option.devkeyblock = KeyBlockRead(optarg); in do_sign() 749 fprintf(stderr, "Error reading %s\n", optarg); in do_sign() [all …]
|
/external/lldb/tools/debugserver/source/ |
D | debugserver.cpp | 887 optarg ? optarg : ""); in main() 894 if (optarg && optarg[0]) in main() 895 arch_name.assign(optarg); in main() 899 if (optarg && optarg[0]) in main() 901 if (isdigit(optarg[0])) in main() 904 attach_pid = strtoul(optarg, &end, 0); in main() 907 RNBLogSTDERR ("error: invalid pid option '%s'\n", optarg); in main() 913 attach_pid_name = optarg; in main() 921 if (optarg && optarg[0]) in main() 923 waitfor_pid_name = optarg; in main() [all …]
|
/external/netperf/ |
D | netsh.c | 467 extern char *optarg; /* pointer to option string */ in scan_cmd_line() 495 break_args(optarg,arg1,arg2); in scan_cmd_line() 504 break_args(optarg,arg1,arg2); in scan_cmd_line() 556 libfmt = *optarg; in scan_cmd_line() 560 strcpy(fill_file,optarg); in scan_cmd_line() 564 break_args(optarg,arg1,arg2); in scan_cmd_line() 583 break_args(optarg,arg1,arg2); in scan_cmd_line() 605 break_args(optarg,arg1,arg2); in scan_cmd_line() 619 break_args(optarg,arg1,arg2); in scan_cmd_line() 631 shell_num_cpus = atoi(optarg); in scan_cmd_line() [all …]
|
/external/bison/src/ |
D | getargs.c | 615 char* name = optarg; in getargs() 616 char* value = mbschr (optarg, '='); in getargs() 627 include = AS_FILE_NAME (optarg); in getargs() 631 language_argmatch (optarg, command_line_prio, in getargs() 636 skeleton_arg (AS_FILE_NAME (optarg), command_line_prio, in getargs() 641 FLAGS_ARGMATCH (trace, optarg); in getargs() 649 FLAGS_ARGMATCH (feature, optarg); in getargs() 653 FLAGS_ARGMATCH (warnings, optarg); in getargs() 657 spec_file_prefix = AS_FILE_NAME (optarg); in getargs() 663 if (optarg) in getargs() [all …]
|
/external/lldb/tools/darwin-debug/ |
D | darwin-debug.cpp | 197 if (optarg) in main() 199 if (streq (optarg, "i386")) in main() 201 else if (streq (optarg, "x86_64")) in main() 203 else if (strstr (optarg, "arm") == optarg) in main() 207 ::fprintf (stderr, "error: unsupported cpu type '%s'\n", optarg); in main() 227 const char *equal_pos = strchr (optarg, '='); in main() 230 name.assign (optarg, equal_pos - optarg); in main() 235 name = optarg; in main() 248 unix_socket_name.assign (optarg); in main() 254 if (stat (optarg, &working_dir_stat) == 0) in main() [all …]
|
/external/selinux/secilc/ |
D | secilc.c | 124 if (!strcmp(optarg, "selinux")) { in main() 126 } else if (!strcmp(optarg, "xen")) { in main() 129 fprintf(stderr, "Unknown target: %s\n", optarg); in main() 134 if (!strcasecmp(optarg, "true") || !strcasecmp(optarg, "1")) { in main() 136 } else if (!strcasecmp(optarg, "false") || !strcasecmp(optarg, "0")) { in main() 145 policyvers = strtol(optarg, &endptr, 10); in main() 146 if (errno != 0 || endptr == optarg || *endptr != '\0') { in main() 147 fprintf(stderr, "Bad policy version: %s\n", optarg); in main() 158 if (!strcasecmp(optarg, "deny")) { in main() 160 } else if (!strcasecmp(optarg, "allow")) { in main() [all …]
|
/external/libmtp/examples/ |
D | connect.c | 128 printf("Delete %s\n",optarg); in main() 129 delfile_function(optarg); in main() 133 printf("Send file %s\n",optarg); in main() 134 split_arg(optarg,&arg1,&arg2); in main() 139 printf("Get file %s\n",optarg); in main() 140 split_arg(optarg,&arg1,&arg2); in main() 145 printf("New folder %s\n",optarg); in main() 146 newfolder_function(optarg); in main() 150 printf("Send track %s\n",optarg); in main() 151 split_arg(optarg,&arg1,&arg2); in main()
|
/external/tcpdump/ |
D | tcpdump.c | 375 extern char *optarg; 769 Bflag = atoi(optarg)*1024; in main() 771 error("invalid packet buffer size %s", optarg); in main() 776 cnt = atoi(optarg); in main() 778 error("invalid packet count %s", optarg); in main() 782 Cflag = atoi(optarg) * 1000000; in main() 784 error("invalid file size %s", optarg); in main() 819 gndo->ndo_espsecret = optarg; in main() 827 infile = optarg; in main() 831 Gflag = atoi(optarg); in main() [all …]
|
/external/fio/lib/ |
D | getopt_long.c | 19 char *optarg = NULL; variable 49 optarg = NULL; in getopt_long_only() 98 optarg = (char *)opt_end+1; in getopt_long_only() 102 if (!(optarg = argv[optind])) in getopt_long_only() 127 optarg = (char *)pvt.optptr; in getopt_long_only() 134 optarg = (char *)argv[optind+1]; in getopt_long_only() 137 optarg = NULL; in getopt_long_only() 142 optarg = (char *)argv[optind+1]; in getopt_long_only()
|