/external/toybox/toys/pending/ |
ping.c | 61 if (inet_pton(AF_INET6, toys.optargs[0], (void*)&src_addr))
|
tcpsvd.c | 227 port = strtoul(toys.optargs[1], &ptr, 10); 230 if (*ptr) ptr = toys.optargs[1]; 285 fd = create_bind_sock(toys.optargs[0], (struct sockaddr*)&haddr); 395 xexec(toys.optargs+2); //skip IP PORT 399 if (TT.udp) fd = create_bind_sock(toys.optargs[0],
|
traceroute.c | 484 (inet_pton(AF_INET6, toys.optargs[0], &dest))) 506 if (toys.optargs[1]) 507 TT.msg_len = atolx_range(toys.optargs[1], pack_size, 32768);//max packet size 536 resolve_addr(toys.optargs[0], AF_INET, ((toys.optflags & FLAG_U) ? 597 xprintf("traceroute to %s(%s)", toys.optargs[0], 602 resolve_addr(toys.optargs[0], AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &dest); 634 xprintf("traceroute6 to %s(%s)", toys.optargs[0], addr_str);
|
arping.c | 225 if (!inet_aton(*toys.optargs, &dest_addr)) { 226 struct hostent *hp = gethostbyname2(*toys.optargs, AF_INET); 228 if (!hp) perror_exit("bad address '%s'", *toys.optargs);
|
fold.c | 96 loopfiles(toys.optargs, do_fold);
|
fsck.c | 206 while(toys.optargs[j]) { 207 if(*toys.optargs[j]) args[i++] = xstrdup(toys.optargs[j]); 368 char *tmp, **arg = toys.optargs;
|
ipcrm.c | 86 if (toys.optc) help_exit("unknown argument: %s", *toys.optargs);
|
tftp.c | 74 if(toys.optc == 2) port = atolx_range(toys.optargs[1], 1, 65535); 440 ret = getaddrinfo(toys.optargs[0], toys.optargs[1], &rp, &info); 446 error_exit("bad address '%s' : %s", toys.optargs[0], gai_strerror(ret));
|
file.c | 225 for (name = toys.optargs; *name; ++name) { 231 loopfiles(toys.optargs, do_file);
|
host.c | 77 name = *toys.optargs; 78 nsname = toys.optargs[1];
|
/external/toybox/toys/posix/ |
echo.c | 42 arg = toys.optargs[i];
|
paste.c | 31 char *p, *buf = toybuf, **args = toys.optargs;
|
uudecode.c | 33 if (toys.optc) ifd = xopen(*toys.optargs, O_RDONLY);
|
id.c | 164 if (toys.optc) while(*toys.optargs) do_id(*toys.optargs++);
|
ulimit.c | 109 if (tolower(**toys.optargs == 'i')) val = RLIM_INFINITY; 110 else val = atolx_range(*toys.optargs, 0, LONG_MAX);
|
cp.c | 371 char *destname = toys.optargs[--toys.optc]; 408 char *src = toys.optargs[i]; 485 for (ss = toys.optargs; *ss; ss++) { 494 TT.destname = toys.optargs[toys.optc-1];
|
expand.c | 126 loopfiles(toys.optargs, do_expand);
|
kill.c | 60 char *tmp, **args = toys.optargs;
|
nl.c | 92 loopfiles (toys.optargs, do_nl);
|
rm.c | 87 for (s = toys.optargs; *s; s++) {
|
/external/toybox/toys/other/ |
vmstat.c | 86 if (toys.optc) loop_delay = atolx_range(toys.optargs[0], 0, INT_MAX); 87 if (toys.optc > 1) loop_max = atolx_range(toys.optargs[1], 1, INT_MAX) - 1;
|
hexedit.c | 66 draw_trim(*toys.optargs, -1, 71); 122 fd = xopen(*toys.optargs, ro ? O_RDONLY : O_RDWR);
|
/external/toybox/lib/ |
args.c | 39 * toys.optargs[0] = "walrus" (leftover argument) 40 * toys.optargs[1] = NULL (end of list) 375 // Fill out toys.optflags, toys.optargs, and this[] from toys.argv 387 // Allocate memory for optargs 390 toys.optargs = xzalloc(sizeof(char *)*saveflags); 469 // Not a flag, save value in toys.optargs[] 472 toys.optargs[toys.optc++] = toys.argv[gof.argc];
|
/external/llvm/tools/bugpoint/ |
OptimizerDriver.cpp | 117 static cl::list<std::string> OptArgs("opt-args", cl::Positional, 207 for (unsigned i = 0, e = OptArgs.size(); i != e; ++i) 208 Args.push_back(OptArgs[i].c_str());
|
/prebuilts/misc/common/swig/include/2.0.11/guile/ |
guile_scm_run.swg | 478 int reqargs, int optargs, 490 for (i = 0; i<optargs && SCM_CONSP(rest); i++) { 495 for (; i<optargs; i++)
|