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

1 2 3 4 5 6 7 8 91011>>

  /external/annotation-tools/scene-lib/src/annotations/toys/
BalanceEnum.java 1 package annotations.toys;
FancierAnnotation.java 1 package annotations.toys;
SubAnnotation.java 1 package annotations.toys;
ClassTokenAnnotation.java 1 package annotations.toys;
FancyAnnotation.java 1 package annotations.toys;
SimplerAnnotation.java 1 package annotations.toys;
package-info.java 2 package annotations.toys;
  /external/toybox/
Android.mk 68 toys/android/getenforce.c \
69 toys/android/load_policy.c \
70 toys/android/log.c \
71 toys/android/restorecon.c \
72 toys/android/runcon.c \
73 toys/android/sendevent.c \
74 toys/android/setenforce.c \
75 toys/android/setprop.c \
76 toys/android/start.c \
77 toys/lsb/dmesg.c
    [all...]
main.c 6 #include "toys.h"
29 struct toy_context toys; variable in typeref:struct:toy_context
75 toys.exitval = 127;
76 toys.which = toy_list;
83 toys.which = which;
84 toys.argv = argv;
91 if (CFG_TOYBOX && toys.which == toy_list && toys.argv[2])
92 if (!(toys.which = toy_find(toys.argv[2]))) unknown(toys.argv[2])
    [all...]
  /external/toybox/toys/pending/
test.c 40 #include "toys.h"
47 toys.exitval = 2;
48 if (!strcmp("[", toys.which->name))
49 if (!strcmp("]", toys.optargs[--toys.optc])) error_exit("Missing ']'");
50 if (!strcmp("!", toys.optargs[0])) {
52 toys.optargs++;
53 toys.optc--;
55 if (!toys.optc) toys.exitval = 0
    [all...]
  /external/toybox/toys/other/
help.c 32 #include "toys.h"
36 if (toys.optflags & FLAG_h)
39 toys.which = t;
42 if (toys.optflags & FLAG_h) xprintf("</blockquote></pre>\n");
45 // The simple help is just toys.which = toy_find("name"); show_help(stdout);
52 if (!(toys.optflags & FLAG_a)) {
53 struct toy_list *t = toys.which;
55 if (*toys.optargs && !(t = toy_find(*toys.optargs)))
56 error_exit("Unknown command '%s'", *toys.optargs)
    [all...]
swapon.c 19 #include "toys.h"
28 int flags = (toys.optflags&FLAG_d)*0x70000;
30 if (toys.optflags)
33 if (swapon(*toys.optargs, flags))
34 perror_exit("Couldn't swapon '%s'", *toys.optargs);
flock.c 22 #include "toys.h"
28 int fd = xstrtol(*toys.optargs, NULL, 10), op;
30 if (toys.optflags & FLAG_u) op = LOCK_UN;
31 else op = (toys.optflags & FLAG_s) ? LOCK_SH : LOCK_EX;
33 if (toys.optflags & FLAG_n) op |= LOCK_NB;
36 if ((op & LOCK_NB) && errno == EAGAIN) toys.exitval = 1;
reboot.c 22 #include "toys.h"
30 if (!(toys.optflags & FLAG_n)) sync();
32 idx = stridx("hp", *toys.which->name)+1;
33 if (toys.optflags & FLAG_f) toys.exitval = reboot(types[idx]);
34 else toys.exitval = kill(1, sigs[idx]);
freeramdisk.c 18 #include "toys.h"
24 fd = xopen(toys.optargs[0], O_RDWR);
25 xioctl(fd, BLKFLSBUF, toys.optargs[0]);
realpath.c 16 #include "toys.h"
20 char **s = toys.optargs;
22 for (s = toys.optargs; *s; s++) {
usleep.c 16 #include "toys.h"
21 long delay = atol(*toys.optargs);
25 toys.exitval = !!nanosleep(&tv, NULL);
insmod.c 16 #include "toys.h"
28 int fd = xopenro(*toys.optargs);
32 while (toys.optargs[i] &&
33 strlen(toybuf) + strlen(toys.optargs[i]) + 2 < sizeof(toybuf))
35 strcat(toybuf, toys.optargs[i++]);
44 char *path = !strcmp(*toys.optargs, "-") ? "/dev/stdin" : *toys.optargs;
51 if (rc) perror_exit("failed to load %s", toys.optargs[0]);
readlink.c 24 #include "toys.h"
32 if (toys.optflags & (FLAG_f|FLAG_e))
33 s = xabspath(*toys.optargs, toys.optflags & FLAG_e);
34 else s = xreadlink(*toys.optargs);
37 if (!(toys.optflags & FLAG_q))
38 xprintf((toys.optflags & FLAG_n) ? "%s" : "%s\n", s);
40 } else toys.exitval = 1;
  /external/toybox/toys/posix/
link.c 18 #include "toys.h"
22 if (link(toys.optargs[0], toys.optargs[1]))
23 perror_exit("couldn't link '%s' to '%s'", toys.optargs[1],
24 toys.optargs[0]);
unlink.c 18 #include "toys.h"
22 if (unlink(*toys.optargs))
23 perror_exit("Couldn't unlink `%s'", *toys.optargs);
  /external/toybox/toys/android/
sendevent.c 18 #include "toys.h"
24 int fd = xopen(*toys.optargs, O_RDWR);
29 perror_exit("EVIOCGVERSION failed for %s", *toys.optargs);
33 ev.type = atoi(toys.optargs[1]);
34 ev.code = atoi(toys.optargs[2]);
35 ev.value = atoi(toys.optargs[3]);
runcon.c 18 #include "toys.h"
22 char *context = *toys.optargs;
26 toys.stacktop = 0;
27 xexec(++toys.optargs);
  /external/toybox/toys/example/
demo_human_readable.c 15 #include "toys.h"
21 human_readable(toybuf, strtoll(*toys.optargs, &c, 0), toys.optflags);
  /external/toybox/generated/
globals.h 0 // toys/android/getprop.c
9 // toys/android/log.c
16 // toys/example/hello.c
22 // toys/example/skeleton.c
42 // toys/lsb/dmesg.c
52 // toys/lsb/hostname.c
58 // toys/lsb/killall.c
69 // toys/lsb/md5sum.c
86 // toys/lsb/mknod.c
93 // toys/lsb/mktemp.
    [all...]

Completed in 282 milliseconds

1 2 3 4 5 6 7 8 91011>>