Home
last modified time | relevance | path

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

123456789

/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/wpa_supplicant_8/wpa_supplicant/
Dmain.c153 iface->bridge_ifname = optarg; in main()
159 iface->confname = optarg; in main()
162 iface->ctrl_interface = optarg; in main()
165 iface->driver = optarg; in main()
178 params.entropy_file = optarg; in main()
182 params.wpa_debug_file_path = optarg; in main()
186 params.ctrl_interface = optarg; in main()
193 iface->ifname = optarg; in main()
203 params.override_driver = optarg; in main()
206 params.override_ctrl_interface = optarg; in main()
[all …]
/external/netperf/
Dnetsh.c467 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/qemu/
Dvl-android.c1383 static void numa_add(const char *optarg) in numa_add() argument
1390 optarg = get_opt_name(option, 128, optarg, ',') + 1; in numa_add()
1392 if (get_param_value(option, 128, "nodeid", optarg) == 0) { in numa_add()
1398 if (get_param_value(option, 128, "mem", optarg) == 0) { in numa_add()
1412 if (get_param_value(option, 128, "cpus", optarg) == 0) { in numa_add()
2361 net_slirp_forward(const char *optarg) in net_slirp_forward() argument
2368 char *argument = strdup(optarg), *p = argument; in net_slirp_forward()
2388 optarg); in net_slirp_forward()
2429 slirp_allow(const char *optarg, u_int8_t proto) in slirp_allow() argument
2435 char *argument = strdup(optarg), *p = argument; in slirp_allow()
[all …]
Dvl.c1188 static void numa_add(const char *optarg) in numa_add() argument
1195 optarg = get_opt_name(option, 128, optarg, ',') + 1; in numa_add()
1197 if (get_param_value(option, 128, "nodeid", optarg) == 0) { in numa_add()
1203 if (get_param_value(option, 128, "mem", optarg) == 0) { in numa_add()
1217 if (get_param_value(option, 128, "cpus", optarg) == 0) { in numa_add()
2079 const char *r, *optarg; in main() local
2184 optarg = argv[optind++]; in main()
2186 optarg = NULL; in main()
2191 machine = find_machine(optarg); in main()
2200 exit(*optarg != '?'); in main()
[all …]
/external/tcpdump/
Dtcpdump.c291 extern char *optarg;
517 UserBufferSize = atoi(optarg)*1024; in main()
519 error("invalid packet buffer size %s", optarg); in main()
524 cnt = atoi(optarg); in main()
526 error("invalid packet count %s", optarg); in main()
530 Cflag = atoi(optarg) * 1000000; in main()
532 error("invalid file size %s", optarg); in main()
567 gndo->ndo_espsecret = optarg; in main()
575 infile = optarg; in main()
579 if (optarg[0] == '0' && optarg[1] == 0) in main()
[all …]
/external/bison/src/
Dgetargs.c383 if (optarg) in getargs()
384 spec_graph_file = AS_FILE_NAME (optarg); in getargs()
392 skeleton = AS_FILE_NAME (optarg); in getargs()
396 include = AS_FILE_NAME (optarg); in getargs()
402 if (optarg) in getargs()
403 spec_defines_file = AS_FILE_NAME (optarg); in getargs()
427 spec_outfile = AS_FILE_NAME (optarg); in getargs()
431 spec_file_prefix = AS_FILE_NAME (optarg); in getargs()
435 spec_name_prefix = optarg; in getargs()
439 report_argmatch (optarg); in getargs()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/
Dmain.c141 iface->bridge_ifname = optarg; in main()
147 iface->confname = optarg; in main()
150 iface->ctrl_interface = optarg; in main()
153 iface->driver = optarg; in main()
167 params.wpa_debug_file_path = optarg; in main()
171 params.ctrl_interface = optarg; in main()
178 iface->ifname = optarg; in main()
188 iface->driver_param = optarg; in main()
192 params.pid_file = os_rel2abs_path(optarg); in main()
/external/wpa_supplicant/
Dmain.c155 iface->bridge_ifname = optarg; in main()
161 iface->confname = optarg; in main()
164 iface->ctrl_interface = optarg; in main()
167 iface->driver = optarg; in main()
181 params.wpa_debug_file_path = optarg; in main()
185 params.ctrl_interface = optarg; in main()
192 iface->ifname = optarg; in main()
202 iface->driver_param = optarg; in main()
206 params.pid_file = os_rel2abs_path(optarg); in main()
/external/e2fsprogs/misc/
Dblkid.c29 extern char *optarg;
286 if (optarg && !*optarg) in main()
289 read = optarg; in main()
303 if (!strcmp(optarg, "value")) in main()
305 else if (!strcmp(optarg, "device")) in main()
307 else if (!strcmp(optarg, "list")) in main()
309 else if (!strcmp(optarg, "full")) in main()
314 "device, list, or full\n", optarg); in main()
323 show[numtag++] = optarg; in main()
331 if (blkid_parse_tag_string(optarg, in main()
[all …]
Dtune2fs.c35 extern char *optarg;
606 max_mount_count = strtol(optarg, &tmp, 0); in parse_tune2fs_options()
610 optarg); in parse_tune2fs_options()
619 mount_count = strtoul(optarg, &tmp, 0); in parse_tune2fs_options()
623 optarg); in parse_tune2fs_options()
630 if (strcmp(optarg, "continue") == 0) in parse_tune2fs_options()
632 else if (strcmp(optarg, "remount-ro") == 0) in parse_tune2fs_options()
634 else if (strcmp(optarg, "panic") == 0) in parse_tune2fs_options()
639 optarg); in parse_tune2fs_options()
646 extended_cmd = optarg; in parse_tune2fs_options()
[all …]
/external/qemu/distrib/sdl-1.2.12/
Dsdl-config.in21 -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;;
22 *) optarg= ;;
27 prefix=$optarg
29 exec_prefix=$optarg
36 exec_prefix=$optarg
/external/pcre/
Dpcre-config.in30 -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
31 *) optarg= ;;
36 prefix=$optarg
38 exec_prefix=$optarg
45 exec_prefix=$optarg
/external/bluetooth/bluez/compat/
Ddund.c456 dst = strdup(optarg); in main()
462 if (optarg) in main()
463 search_duration = atoi(optarg); in main()
469 dst = strdup(optarg); in main()
479 channel = atoi(optarg); in main()
483 src = strdup(optarg); in main()
511 if (optarg) in main()
512 persist = atoi(optarg); in main()
518 if (optarg) in main()
519 use_cache = atoi(optarg); in main()
[all …]
/external/iptables/extensions/
Dlibxt_set.c68 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in set_parse_v0()
78 if (strlen(optarg) > IPSET_MAXNAMELEN - 1) in set_parse_v0()
81 optarg, IPSET_MAXNAMELEN - 1); in set_parse_v0()
83 get_set_byname(optarg, (struct xt_set_info *)info); in set_parse_v0()
155 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in set_parse_v1()
165 if (strlen(optarg) > IPSET_MAXNAMELEN - 1) in set_parse_v1()
168 optarg, IPSET_MAXNAMELEN - 1); in set_parse_v1()
170 get_set_byname(optarg, info); in set_parse_v1()
Dlibxt_rateest.c122 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
132 strncpy(info->name1, optarg, sizeof(info->name1) - 1); in rateest_parse()
136 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
146 strncpy(info->name2, optarg, sizeof(info->name2) - 1); in rateest_parse()
151 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
175 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
200 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
224 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
249 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
263 xtables_check_inverse(optarg, &invert, &optind, 0, argv); in rateest_parse()
[all …]
/external/grub/grub/
Dmain.c168 if (! optarg) in main()
171 hold = atoi (optarg); in main()
175 strncpy (config_file, optarg, 127); /* FIXME: arbitrary */ in main()
180 install_partition = strtoul (optarg, 0, 0); in main()
189 boot_drive = strtoul (optarg, 0, 0); in main()
233 device_map_file = strdup (optarg); in main()
/external/ppp/pppd/plugins/rp-pppoe/
Dpppoe-discovery.c42 conn->serviceName = xstrdup(optarg); in main()
45 conn->acName = xstrdup(optarg); in main()
51 conn->debugFile = fopen(optarg, "w"); in main()
54 optarg, strerror(errno)); in main()
60 conn->ifName = xstrdup(optarg); in main()
/external/grub/lib/
Dgetopt.c115 char *optarg = NULL; variable
523 optarg = NULL;
611 optarg = argv[optind++];
697 optarg = nameend + 1;
722 optarg = argv[optind++];
809 optarg = nextchar;
832 optarg = argv[optind++];
837 for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++)
880 optarg = nameend + 1;
895 optarg = argv[optind++];
[all …]
/external/iptables/iptables/
Dip6tables.c1278 cs->jumpto = parse_target(optarg); in command_jump()
1314 m = xtables_find_match(optarg, XTF_LOAD_MUST_SUCCEED, &cs->matches); in command_match()
1386 chain = optarg; in do_command6()
1392 chain = optarg; in do_command6()
1398 chain = optarg; in do_command6()
1409 chain = optarg; in do_command6()
1422 chain = optarg; in do_command6()
1432 if (optarg) chain = optarg; in do_command6()
1444 if (optarg) chain = optarg; in do_command6()
1456 if (optarg) chain = optarg; in do_command6()
[all …]
Diptables.c1304 cs->jumpto = parse_target(optarg); in command_jump()
1341 m = xtables_find_match(optarg, XTF_LOAD_MUST_SUCCEED, &cs->matches); in command_match()
1415 chain = optarg; in do_command4()
1421 chain = optarg; in do_command4()
1427 chain = optarg; in do_command4()
1438 chain = optarg; in do_command4()
1451 chain = optarg; in do_command4()
1461 if (optarg) chain = optarg; in do_command4()
1473 if (optarg) chain = optarg; in do_command4()
1485 if (optarg) chain = optarg; in do_command4()
[all …]
/external/bluetooth/bluez/test/
Drctest.c641 data_size = atoi(optarg); in main()
645 if (!strncasecmp(optarg, "hci", 3)) in main()
646 hci_devba(atoi(optarg + 3), &bdaddr); in main()
648 str2ba(optarg, &bdaddr); in main()
652 channel = atoi(optarg); in main()
656 if (!strcasecmp(optarg, "spp")) in main()
658 else if (!strncasecmp(optarg, "0x", 2)) in main()
659 uuid = strtoul(optarg + 2, NULL, 16); in main()
661 uuid = atoi(optarg); in main()
681 linger = atoi(optarg); in main()
[all …]
/external/qemu/distrib/
Dbuild-kernel.sh47 optarg=$(expr "x$opt" : 'x[^=]*=\(.*\)')
55 OPTION_OUT=$optarg
58 OPTION_CROSS=$optarg
61 OPTION_ARCH=$optarg
64 OPTION_CONFIG=$optarg
67 OPTION_JOBS=$optarg
/external/srtp/crypto/test/
Drand_gen.c71 extern char *optarg; in main()
94 status = crypto_kernel_set_debug_module(optarg, 1); in main()
96 printf("error: set debug module (%s) failed\n", optarg); in main()
104 num_octets = atoi(optarg); in main()
/external/ipsec-tools/src/racoon/
Dmain.c169 extern char *optarg;
202 lcconf->port_isakmp = atoi(optarg);
205 lcconf->port_isakmp_natt = atoi(optarg);
208 lcconf->racoon_conf = optarg;
211 plogset(optarg);

123456789