Home
last modified time | relevance | path

Searched refs:optarg (Results 1 – 25 of 321) sorted by relevance

12345678910>>...13

/external/vboot_reference/cgpt/
Dcmd_add.c53 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 …]
Dcmd_find.c82 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, &params.type_guid) && in cmd_find()
105 CGPT_OK != StrToGuid(optarg, &params.type_guid)) { in cmd_find()
106 Error("invalid argument to -%c: %s\n", c, optarg); in cmd_find()
112 if (CGPT_OK != StrToGuid(optarg, &params.unique_guid)) { in cmd_find()
113 Error("invalid argument to -%c: %s\n", c, optarg); in cmd_find()
118 params.matchbuf = ReadFile(optarg, &params.matchlen); in cmd_find()
[all …]
Dcmd_prioritize.c54 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()
Dcmd_boot.c45 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/
Dnf-ct-list.c107 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 …]
Dnl-route-list.c105 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 …]
Dnl-route-add.c108 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 …]
Dnl-route-delete.c141 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 …]
Dnl-addr-add.c98 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()
Dnl-addr-delete.c122 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()
Dnl-link-list.c91 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/
Dargs.c297 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/
Df2fs_format_main.c51 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/vboot_reference/futility/
Dcmd_vbutil_kernel.c286 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 …]
Dcmd_sign.c719 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/wpa_supplicant_8/wpa_supplicant/
Dmain.c209 iface->bridge_ifname = optarg; in main()
215 iface->confname = optarg; in main()
218 iface->ctrl_interface = optarg; in main()
221 iface->driver = optarg; in main()
234 params.entropy_file = optarg; in main()
238 params.wpa_debug_file_path = optarg; in main()
242 params.ctrl_interface = optarg; in main()
245 params.ctrl_interface_group = optarg; in main()
252 iface->ifname = optarg; in main()
255 iface->confanother = optarg; in main()
[all …]
/external/minijail/
Dminijail0.c175 set_user(j, optarg); in parse_args()
178 set_group(j, optarg); in parse_args()
188 if (strlen(optarg) >= path_max) { in parse_args()
192 filter_path = strndup(optarg, path_max); in parse_args()
207 add_binding(j, optarg); in parse_args()
211 use_caps(j, optarg); in parse_args()
219 if (0 != minijail_enter_chroot(j, optarg)) { in parse_args()
226 add_mount(j, optarg); in parse_args()
235 if (0 != minijail_enter_pivot_root(j, optarg)) { in parse_args()
243 if (0 != minijail_write_pid_file(j, optarg)) { in parse_args()
[all …]
/external/bison/src/
Dgetargs.c615 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/selinux/secilc/
Dsecilc.c124 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/selinux/libselinux/utils/
Dselabel_lookup.c50 if (!strcasecmp(optarg, "file")) { in main()
52 } else if (!strcmp(optarg, "media")) { in main()
54 } else if (!strcmp(optarg, "x")) { in main()
56 } else if (!strcmp(optarg, "db")) { in main()
58 } else if (!strcmp(optarg, "prop")) { in main()
62 optarg); in main()
67 file = optarg; in main()
76 key = optarg; in main()
79 type = atoi(optarg); in main()
/external/netperf/src/
Dnetsh.c582 extern char *optarg; /* pointer to option string */ in scan_cmd_line()
635 break_args(optarg,arg1,arg2); in scan_cmd_line()
644 break_args(optarg,arg1,arg2); in scan_cmd_line()
676 break_args_explicit(optarg,arg1,arg2); in scan_cmd_line()
695 libfmt = *optarg; in scan_cmd_line()
702 break_args_explicit(optarg,arg1,arg2); in scan_cmd_line()
722 break_args(optarg,arg1,arg2); in scan_cmd_line()
743 break_args(optarg,arg1,arg2); in scan_cmd_line()
773 break_args(optarg,arg1,arg2); in scan_cmd_line()
787 break_args(optarg,arg1,arg2); in scan_cmd_line()
[all …]
/external/libmtp/examples/
Dconnect.c128 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/tlsdate/src/
Dtlsdate.c163 showtime = (optarg && 0 == strcmp ("raw", optarg) ? 2:1); in main()
173 host = optarg; in main()
176 port = optarg; in main()
179 protocol = optarg; in main()
185 ca_cert_container = optarg; in main()
194 proxy = optarg; in main()
/external/fio/lib/
Dgetopt_long.c19 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()
/external/netcat/
Dnetcat.c156 if (strcasecmp(optarg, "connect") == 0) in main()
158 else if (strcmp(optarg, "4") == 0) in main()
160 else if (strcmp(optarg, "5") == 0) in main()
173 iflag = atoi(optarg); in main()
175 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main()
177 errx(1, "interval %s: %s", errstr, optarg); in main()
195 Pflag = optarg; in main()
198 pflag = optarg; in main()
204 sflag = optarg; in main()
214 rtableid = (unsigned int)strtonum(optarg, 0, in main()
[all …]

12345678910>>...13