/external/toybox/toys/example/ |
demo_many_options.c | 21 xprintf("optflags=%llx\n", toys.optflags);
|
hostid.c | 25 xprintf("%08lx\n", gethostid());
|
hello.c | 32 xprintf("Hello world\n");
|
/external/toybox/toys/other/ |
help.c | 37 xprintf("<a name=\"%s\"><h1>%s</h1><blockquote><pre>\n", t->name, t->name); 42 if (toys.optflags & FLAG_h) xprintf("</blockquote></pre>\n"); 62 xprintf("<html>\n<title>Toybox command list</title>\n<body>\n<p>\n"); 64 xprintf("<a href=\"#%s\">%s</a>\n", toy_list[i].name, 66 xprintf("</p>\n"); 70 if (toys.optflags & FLAG_h) xprintf("<hr>\n<pre>\n"); 77 if (toys.optflags & FLAG_h) xprintf("</pre>\n"); 80 if (toys.optflags & FLAG_h) xprintf("</html>");
|
w.c | 23 xprintf("USER TTY LOGIN@ FROM"); 29 xprintf("\n%-9.8s%-9.8s %-4.24s (%-1.12s)", x->ut_user, x->ut_line,
|
yes.c | 24 xprintf("%s", toys.optargs[i]);
|
lsmod.c | 23 xprintf("%-23s Size Used by\n", "Module"); 32 xprintf("%-19s %8s %s %s\n", name, size, refcnt, users);
|
pwdx.c | 31 xprintf("%s: %s\n", *optargs, path);
|
readlink.c | 38 xprintf((toys.optflags & FLAG_n) ? "%s" : "%s\n", s);
|
uptime.c | 61 xprintf("up %d week%s, %d day%s, %d hour%s, %d minute%s\n", 69 xprintf(" %02d:%02d:%02d up ", tm->tm_hour, tm->tm_min, tm->tm_sec); 70 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":""); 71 if (hours) xprintf("%2d:%02d, ", hours, minutes);
|
pmap.c | 42 xprintf("%u: %s\n", (int)pid, line); 55 xprintf("Address%*cKbytes PSS Dirty Swap Mode Mapping\n", 92 xprintf("%s- %s%s", toybuf, line[off]=='[' ? " " : "", name); 103 xprintf("%.*s ------ ------ ------ ------\n", (int)(sizeof(long)*2),
|
printenv.c | 38 xprintf("%s%c", out, delim);
|
makedevs.c | 48 xprintf("rootdir = %s\n", *toys.optargs); 51 xprintf("table = %s\n", TT.fname); 52 } else xprintf("table = <stdin>\n");
|
tac.c | 39 xprintf("%s", list->arg);
|
ionice.c | 65 xprintf("%s: prio %d\n", 85 xprintf("Pid %ld, class %s (%ld), prio %d\n",
|
mix.c | 57 xprintf("%s:%s = left:%d\t right:%d\n", 59 else xprintf("%s:%s = %d\n", TT.dev, channels[channel], level);
|
/external/toybox/toys/posix/ |
file.c | 192 else if (len>=8 && strstart(&s, "!<arch>\n")) xprintf("ar archive\n"); 197 xprintf("PNG image data"); 209 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), 217 xprintf("GIF image data, %d x %d\n", 225 xprintf("Java class file, version %d.%d\n", 237 xprintf("ASCII cpio archive (%s)\n", cpioformat); 240 xprintf("cpio archive\n"); 243 xprintf("POSIX tar archive%s\n", strncmp(s+262," ",2)?"":" (GNU)"); 248 xprintf("Zip archive data"); 249 if (ver) xprintf(", requires at least v%d.%d to extract", ver/10, ver%10) [all...] |
env.c | 59 xprintf("%s%c", *ev, '\n'*!(toys.optflags&FLAG_0));
|
/external/toybox/toys/pending/ |
watch.c | 45 xprintf("\033[H\033[J"); 50 if (width > (hlen + len)) xprintf("%s", header); 52 xprintf("%*s\n",width + ((width > (hlen + len))?-hlen:0) + 1, ctime(&t)); 54 xprintf("\n\n"); 59 xprintf("command exit with non-zero status, press enter to exit\n");
|
dumpleases.c | 46 xprintf("Mac Address IP Address Host Name Expires %s\n", (toys.optflags & FLAG_a) ? "at" : "in"); 58 xprintf(" %-16s%-20s", inet_ntoa(addr), lease_struct.hostname ); 70 if (dt) xprintf("%u days ", dt); 71 xprintf("%02u:%02u:%02u\n", hr, m, (unsigned)expires);
|
traceroute.c | 214 xprintf("%2d", ttl); 233 xprintf(" *"); 302 xprintf(" %s (", host); 303 else xprintf(" %s (", inet_ntoa( 306 xprintf(" %s", inet_ntoa( 308 if (!(toys.optflags & FLAG_n)) xprintf(")"); 311 xprintf(" %u.%03u ms", delta / 1000, delta % 1000); 312 if (toys.optflags & FLAG_l) xprintf(" (%d)", rcv_pkt->ip_ttl); 314 xprintf(" %d bytes from %s : icmp type %d code %d\t", 318 } else xprintf("\t!H") [all...] |
fdisk.c | 142 xprintf("%2x %-22s\t\t%2x %-22.22s\n", sys_types[i].id, sys_types[i].type, 144 if (adjust) xprintf("%2x %-22s\n",sys_types[size-1].id, sys_types[size-1].type); 247 xprintf("Warning: deleting partitions after 60\n"); 328 xprintf("Building a new DOS Disklabel. The changes will\n" 366 xprintf("Device contains neither a valid DOS " 384 xprintf("\nThe number of cylinders for this disk is set to %lu.\n" 436 xprintf("Partition %u has different physical/logical beginings (Non-Linux?): \n", partition+1); 437 xprintf("phys = (%u %u %u) ",physbc, physbh, physbs); 438 xprintf("logical = (%u %u %u)\n", lbc, lbh, lbs); 441 xprintf("Partition %u has different physical/logical endings: \n", partition+1) [all...] |
sulogin.c | 35 xprintf("\n Timed out - Normal startup\n"); 59 xprintf("Normal startup.\n"); 110 if (r == 1) xprintf("Incorrect Login.\n");
|
/external/toybox/toys/lsb/ |
pidof.c | 33 xprintf(" %s"+!!toys.exitval, toybuf);
|
/external/toybox/toys/net/ |
rfkill.c | 94 xprintf("%u: %s: %s\n", rfevent.idx, name, type); 95 xprintf("\tSoft blocked: %s\n", rfevent.soft ? "yes" : "no"); 96 xprintf("\tHard blocked: %s\n", rfevent.hard ? "yes" : "no");
|