/external/toybox/toys/posix/ |
uniq.c | 67 if (toys.optc >= 1) infile = xfopen(toys.optargs[0], "r"); 68 if (toys.optc >= 2) outfile = xfopen(toys.optargs[1], "w");
|
rm.c | 85 if (!toys.optc && !(toys.optflags & FLAG_f)) error_exit("Needs 1 argument");
|
cp.c | 366 char *destname = toys.optargs[--toys.optc]; 369 if (toys.optc>1 && !destdir) error_exit("'%s' not directory", destname); 401 for (i=0; i<toys.optc; i++) { 490 TT.destname = toys.optargs[toys.optc-1]; 493 if (toys.optc == 1) return; 495 if (toys.optc < 2) error_exit("needs 2 args");
|
split.c | 103 TT.outfile = xmprintf("%s%*c", (toys.optc == 2) ? toys.optargs[1] : "x",
|
uudecode.c | 33 if (toys.optc) ifd = xopenro(*toys.optargs);
|
wc.c | 110 if (toys.optc>1) show_lengths(TT.totals, "total");
|
tail.c | 151 if (toys.optc > 1) xprintf("==> %s <==\n", name); 233 toys.optc--; 243 TT.files = xmalloc(toys.optc*8);
|
/external/toybox/ |
main.c | 103 for (toys.optc = 0; toys.optargs[toys.optc]; toys.optc++); 137 if (argv<toys.optargs || argv>toys.optargs+toys.optc) free(toys.optargs);
|
/external/toybox/toys/other/ |
mkpasswd.c | 39 if (toys.optc == 2) {
|
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;
|
/external/toybox/toys/pending/ |
logger.c | 55 if (toys.optc) {
|
lsof.c | 59 if (toys.optc) { 62 for (i = 0; i<toys.optc; i++) 66 if (i==toys.optc) return; 449 TT.sought_files = xmalloc(toys.optc*sizeof(struct stat)); 450 for (i = 0; i<toys.optc; ++i) xstat(toys.optargs[i], TT.sought_files+i);
|
brctl.c | 322 toys.optargs++, toys.optc--; 323 if (toys.optc < t->nargs) help_exit("check args"); 326 toys.optc -= t->nargs;
|
/toolchain/binutils/binutils-2.25/gas/ |
as.c | 564 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts, 567 if (optc == -1) 570 switch (optc) 573 /* md_parse_option should return 1 if it recognizes optc, 575 if (md_parse_option (optc, optarg) != 0) 579 if (optc == 'v') 598 as_bad (_("unrecognized option -%c%s"), optc, optarg ? optarg : ""); 750 && md_parse_option (optc, optarg)) 883 if (md_parse_option (optc, optarg) != 0) 563 int optc = getopt_long_only (old_argc, old_argv, shortopts, longopts, local [all...] |
/external/liblzf/ |
lzf.c | 452 int optc; local 474 while ((optc = getopt_long (argc, argv, "cdfhvb:", longopts, 0)) != -1) 476 while ((optc = getopt (argc, argv, "cdfhvb:")) != -1) 479 switch (optc)
|
/external/toybox/toys/lsb/ |
su.c | 68 argv = argu = xmalloc(sizeof(char *)*(toys.optc + 4));
|
umount.c | 113 if (!toys.optc && !(toys.optflags & FLAG_a))
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-igmp_querier.c | 246 int optc; /* option */ local 257 while ((optc = getopt(argc, argv, "I:m:s:r:t:i:obdh")) != EOF) { 258 switch (optc) {
|
ns-mcast_join.c | 174 int optc; /* option */ local 177 while ((optc = getopt(argc, argv, "f:I:p:F:s:n:ml:i:a:dh")) != EOF) { 178 switch (optc) {
|
ns-mcast_receiver.c | 159 int optc; /* option */ local 173 while ((optc = getopt(argc, argv, "f:I:m:F:s:p:t:bdh")) != EOF) { 174 switch (optc) {
|
ns-tcpclient.c | 134 int optc; /* option */ local 160 while ((optc = getopt(argc, argv, "S:f:p:t:bwdh")) != EOF) { 161 switch (optc) {
|
ns-udpsender.c | 164 int optc; /* option */ local 171 while ((optc = getopt(argc, argv, "f:D:p:s:t:obdhmI:")) != EOF) { 172 switch (optc) {
|
ns-udpserver.c | 193 int optc; /* option */ local 210 while ((optc = getopt(argc, argv, "f:p:bo:dh")) != EOF) { 211 switch (optc) {
|
ns-tcpserver.c | 533 int optc; /* option */ local 547 while ((optc = getopt(argc, argv, "f:p:bcswo:dh")) != EOF) { 548 switch (optc) {
|
/toolchain/binutils/binutils-2.25/binutils/ |
strings.c | 155 int optc; 183 while ((optc = getopt_long (argc, argv, "adfhHn:wot:e:T:Vv0123456789", 186 switch (optc) 153 int optc; local
|