/external/toybox/toys/lsb/ |
md5sum.c | 40 #include "toys.h" 193 int i, sha1=toys.which->name[0]=='s';; 237 printf((toys.optflags & FLAG_b) ? "\n" : " %s\n", name); 242 loopfiles(toys.optargs, do_hash);
|
/external/toybox/toys/other/ |
hexedit.c | 28 #include "toys.h" 66 draw_trim(*toys.optargs, -1, 71); 121 int x, i, side = 0, key, ro = toys.optflags&FLAG_r, 122 fd = xopen(*toys.optargs, ro ? O_RDONLY : O_RDWR);
|
ifconfig.c | 50 #include "toys.h" 301 display_ifconfig(sl->str, toys.optflags & FLAG_a, val); 328 if(!sl) display_ifconfig(ifre->ifr_name, toys.optflags & FLAG_a, 0); 342 char **argv = toys.optargs; 347 if(toys.optc < 2) {
|
/external/toybox/toys/pending/ |
expr.c | 46 #include "toys.h" 190 if (TT.argidx == toys.optc) { 197 // if (TT.argidx >= toys.optc) error_exit("syntax error"); 199 arg = toys.optargs[TT.argidx++]; 262 toys.exitval = 2; // if exiting early, indicate invalid expression
|
fdisk.c | 27 #include "toys.h" 152 if (toys.optflags & FLAG_b) { 378 g_sectors = (toys.optflags & FLAG_S && TT.sectors)? TT.sectors : s? s : disk.sectors?disk.sectors : 63; 379 g_heads = (toys.optflags & FLAG_H && TT.heads)? TT.heads : h? h : disk.heads? disk.heads : 255; 382 if (!g_cylinders) g_cylinders = toys.optflags & FLAG_C? TT.cylinders : 0; 383 if ((g_cylinders > ONE_K) && !(toys.optflags & (FLAG_l | FLAG_S))) 460 toys.exitval = 1; [all...] |
file.c | 21 #include "toys.h" 225 for (name = toys.optargs; *name; ++name) { 231 loopfiles(toys.optargs, do_file);
|
last.c | 23 #include "toys.h" 95 if (toys.optflags & FLAG_f) file = TT.file; 97 pwidth = (toys.optflags & FLAG_W) ? 46 : 16;
|
compress.c | 118 #include "toys.h" 591 loopfiles(toys.optargs, do_zcat); 598 loopfiles(toys.optargs, do_zcat); 605 loopfiles(toys.optargs, do_gzip);
|
mdev.c | 32 #include "toys.h" 228 if (toys.optflags) {
|
mke2fs.c | 75 #include "toys.h" 284 //if (strchr(toys.which->name,'3')) 418 if (toys.optargs[1]) { 419 sscanf(toys.optargs[1], "%u", &TT.blocks); 427 TT.fsfd = xcreate(*toys.optargs, temp, 0777);
|
ipcs.c | 30 #include "toys.h" 41 #define flag(x) (toys.optflags & FLAG_ ## x) 432 if (!(flag(m) || flag(s) || flag(q)) || flag(a)) toys.optflags |= (FLAG_m|FLAG_s|FLAG_q);
|
dhcpd.c | 38 #include "toys.h" [all...] |
ip.c | 29 #include "toys.h" [all...] |
xzcat.c | 21 #include "toys.h" 302 loopfiles(toys.optargs, do_xzcat); [all...] |
/external/toybox/ |
toys.h | 73 #include "toys/e2fs.h" 117 } toys;
|
/external/toybox/lib/ |
lib.c | 6 #include "toys.h" 12 fprintf(stderr, "%s: ", toys.which->name); 17 if (!toys.exitval) toys.exitval++; 180 mode_t mode = (0777&~toys.old_umask)|0300; 197 fprintf(stderr, "%s: created directory '%s'\n", toys.which->name, dir); 615 toys.exitval=1; 749 // Handler that sets toys.signal, and writes to toys.signalfd if set 752 if (toys.signalfd) [all...] |
getmountlist.c | 6 #include "toys.h" 23 (int)(5+strlen(toys.which->name)+strlen(err)+next-al->arg), '^');
|
lib.h | 290 toys.rebound = &_noexit; \ 293 toys.rebound = 0; \
|
/external/toybox/toys/posix/ |
sed.c | 166 #include "toys.h" 624 if (line && !(toys.optflags & FLAG_n)) emit(line, len, eol); 675 int i = toys.optflags & FLAG_i; 813 xregcomp((void *)reg, s, (toys.optflags & FLAG_r)*REG_EXTENDED); 906 ((toys.optflags & FLAG_r)*REG_EXTENDED)|((corwin->sflags&1)*REG_ICASE)); 1017 char **args = toys.optargs; 1022 if (toys.optflags & FLAG_version) { 1029 if (!*toys.optargs) error_exit("no pattern"); [all...] |
/external/toybox/scripts/ |
config2help.c | 1 //#include "toys.h" 17 // Humor toys.h (lie through our teeth, C's linker doesn't care). 18 char toys[4096], libbuf[4096], toybuf[4096]; variable
|