HomeSort by relevance Sort by last modified time
    Searched full:optc (Results 1 - 25 of 58) sorted by null

1 2 3

  /external/toybox/toys/lsb/
killall.c 82 toys.optc--;
86 if (!(toys.optflags & FLAG_l) && !toys.optc) {
93 TT.err = xmalloc(2*toys.optc);
94 for (i=0; i<toys.optc; i++) TT.err[i] = ESRCH;
96 for (i=0; i<toys.optc; i++) {
seq.c 42 switch (toys.optc) {
45 default: last = atof(toys.optargs[toys.optc-1]);
mknod.c 37 if (toys.optc != 4) perror_exit("need major/minor");
  /external/toybox/toys/posix/
ln.c 29 char *dest = toys.optargs[--toys.optc], *new;
34 if (!toys.optc) {
35 toys.optc++;
43 if (toys.optc>1) error_exit("'%s' not a directory", dest);
47 for (i=0; i<toys.optc; i++) {
head.c 33 if (toys.optc > 1) {
58 toys.optc--;
cal.c 83 if (toys.optc) {
89 xcheckrange(tm->tm_year = atol(toys.optargs[--toys.optc]),1,9999);
93 if (toys.optc) {
94 xcheckrange(tm->tm_mon = atol(toys.optargs[--toys.optc]),1,12);
uuencode.c 25 char *name = toys.optargs[toys.optc-1], buf[(76/4)*3];
29 if (toys.optc > 1) fd = xopen(toys.optargs[0], O_RDONLY);
paste.c 79 for (i = 0; i < toys.optc; i++) {
95 if (anyopen) putchar((i + 1 == toys.optc) ? toybuf[i % ndelim] : '\n');
uniq.c 67 if (toys.optc >= 1) infile = xfopen(toys.optargs[0], "r");
68 if (toys.optc >= 2) outfile = xfopen(toys.optargs[1], "w");
xargs.c 116 if (!toys.optc) {
119 toys.optc = 1;
122 for (entries = 0, bytes = -1; entries < toys.optc; entries++, bytes++)
cp.c 303 char *destname = toys.optargs[--toys.optc];
306 if (toys.optc>1 && !destdir) error_exit("'%s' not directory", destname);
314 for (i=0; i<toys.optc; i++) {
392 TT.destname = toys.optargs[toys.optc-1];
395 if (toys.optc == 1) return;
397 if (toys.optc < 2) error_exit("needs 2 args");
  /external/toybox/toys/pending/
groupdel.c 25 struct group *grp = xgetgrnam(toys.optargs[toys.optc-1]);
29 if (toys.optc == 2) {
test.c 49 if (!strcmp("]", toys.optargs[--toys.optc])) error_exit("Missing ']'");
53 toys.optc--;
55 if (!toys.optc) toys.exitval = 0;
89 else if (toys.optc == 1) toys.exitval = *toys.optargs[0] == 0;
90 else if (toys.optc == 3) {
groupadd.c 65 if (toys.optflags && toys.optc == 2) {
70 if (toys.optc == 2) { //add user to group
ipcrm.c 72 if (toys.optc && (!strcmp(*toys.argv, "shm") ||
86 if (toys.optc) {
more.c 67 if (toys.optc > 1) show_file_header(name);
107 if (toys.optc > 1) {
logger.c 55 if (toys.optc) {
brctl.c 322 toys.optargs++, toys.optc--;
323 if (toys.optc < t->nargs) {
329 toys.optc -= t->nargs;
  /external/toybox/
main.c 88 for (toys.optc=0; toys.optargs[toys.optc]; toys.optc++);
142 if (argv>=toys.optargs && argv<=toys.optargs+toys.optc) toys.optargs = 0;
160 toys.optc = toys.recursion = 0;
  /external/toybox/toys/other/
taskset.c 62 if (i || toys.optc < 2) return;
91 if (toys.optc < 2) error_exit("Needs 2 args");
96 pid_t pid = strtol(toys.optargs[toys.optc-1], &c, 10);
factor.c 76 if (toys.optc) {
losetup.c 174 if (toys.optc > 1) perror_exit("max 1 arg");
177 if (toys.optc) error_exit("bad args");
183 if (!toys.optc || (file && toys.optc != 2)) {
netcat.c 95 if (toys.optc) toys.exithelp++;
96 } else if (!(toys.optflags&(FLAG_l|FLAG_L)) && toys.optc!=2) toys.exithelp++;
143 if ((toys.optflags & FLAG_l) && toys.optc) {
167 if (!child && toys.optc) {
188 if (CFG_NETCAT_LISTEN && (toys.optflags&(FLAG_L|FLAG_l) && toys.optc))
inotifyd.c 50 toys.optc--;
111 if (--toys.optc <= 0) {
  /external/mksh/src/
funcs.c 234 int optc; local
238 while ((optc = ksh_getopt(wp, &builtin_opt, "LP")) != -1)
239 switch (optc) {
350 int optc; local
353 while ((optc = ksh_getopt(wp, &builtin_opt, opts)) != -1)
354 switch (optc) {
502 int rv = 0, optc, fcflags; local
506 while ((optc = ksh_getopt(wp, &builtin_opt, opts)) != -1)
507 switch (optc) {
1026 int optc; local
1170 int optc, rv = 0; local
1250 int optc, flag = 0, nflag = 0, rv = 0; local
1336 int optc; local
1439 int argc, optc, rv; local
1531 int optc, rv = 0; local
1626 int i, optc; local
2474 int optc, rv = 0; local
2631 int optc, i, j; local
2691 int argc, optc, rv = 0; local
3435 int how = SOFT | HARD, optc, what = 'f'; local
    [all...]

Completed in 1135 milliseconds

1 2 3