/third_party/toybox/toys/posix/ |
D | file.c | 226 xprintf("PNG image data"); in do_regular_file() 238 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), in do_regular_file() 246 xprintf("GIF image data, %d x %d\n", in do_regular_file() 254 xprintf("Java class file, version %d.%d (Java 1.%d)\n", in do_regular_file() 259 xprintf("Android dex file, version %s\n", s); in do_regular_file() 270 xprintf("ASCII cpio archive (%s)\n", cpioformat); in do_regular_file() 276 xprintf("%s tar archive%s\n", s[257] ? "POSIX" : "old", in do_regular_file() 282 xprintf("Zip archive data"); in do_regular_file() 283 if (ver) xprintf(", requires at least v%d.%d to extract", ver/10, ver%10); in do_regular_file() 286 xprintf("bzip2 compressed data, block size = %c00k\n", *s); in do_regular_file() [all …]
|
D | df.c | 63 xprintf((toys.optflags&FLAG_i) ? in show_header() 86 xprintf("%-*s %*s %*s %*s %*s Mounted on\n", in show_header() 156 xprintf("%-*s %*s %*s %*s %*llu%% %s\n", in show_mt() 159 } else xprintf("%-*s %*llu %*llu %*llu %*llu%% %s\n", in show_mt()
|
D | head.c | 41 if (TT.file_no) xprintf("\n"); 42 xprintf("==> %s <==\n", name);
|
/third_party/toybox/toys/pending/ |
D | fdisk.c | 142 xprintf("%2x %-22s\t\t%2x %-22.22s\n", sys_types[i].id, sys_types[i].type, in list_types() 144 if (adjust) xprintf("%2x %-22s\n",sys_types[size-1].id, sys_types[size-1].type); in list_types() 247 xprintf("Warning: deleting partitions after 60\n"); in read_ebr() 328 xprintf("Building a new DOS Disklabel. The changes will\n" in create_empty_doslabel() 366 xprintf("Device contains neither a valid DOS " in read_mbr() 384 xprintf("\nThe number of cylinders for this disk is set to %lu.\n" in read_mbr() 436 xprintf("Partition %u has different physical/logical beginnings (Non-Linux?): \n", partition+1); in consistency_check() 437 xprintf("phys = (%u %u %u) ",physbc, physbh, physbs); in consistency_check() 438 xprintf("logical = (%u %u %u)\n", lbc, lbh, lbs); in consistency_check() 441 xprintf("Partition %u has different physical/logical endings: \n", partition+1); in consistency_check() [all …]
|
D | traceroute.c | 214 xprintf("%2d", ttl); in do_trace() 233 xprintf(" *"); in do_trace() 302 xprintf(" %s (", host); in do_trace() 303 else xprintf(" %s (", inet_ntoa( in do_trace() 306 xprintf(" %s", inet_ntoa( in do_trace() 308 if (!(toys.optflags & FLAG_n)) xprintf(")"); in do_trace() 311 xprintf(" %u.%03u ms", delta / 1000, delta % 1000); in do_trace() 312 if (toys.optflags & FLAG_l) xprintf(" (%d)", rcv_pkt->ip_ttl); in do_trace() 314 xprintf(" %d bytes from %s : icmp type %d code %d\t", in do_trace() 318 } else xprintf("\t!H"); in do_trace() [all …]
|
D | dumpleases.c | 46 …xprintf("Mac Address IP Address Host Name Expires %s\n", (toys.optflags & FLA… in dumpleases_main() 58 xprintf(" %-16s%-20s", inet_ntoa(addr), lease_struct.hostname ); in dumpleases_main() 70 if (dt) xprintf("%u days ", dt); in dumpleases_main() 71 xprintf("%02u:%02u:%02u\n", hr, m, (unsigned)expires); in dumpleases_main()
|
D | tcpsvd.c | 182 xprintf("%s: end %d exit %d\n",toys.which->name, pid_n, WEXITSTATUS(status)); in handle_exit() 184 xprintf("%s: end %d signaled %d\n",toys.which->name, pid_n, WTERMSIG(status)); in handle_exit() 185 if (TT.cn > 1) xprintf("%s: status %d/%d\n",toys.which->name, TT.count_all, TT.cn); in handle_exit() 259 if (toys.optflags & FLAG_v) xprintf("got signal %d, exit\n", sig); in handle_signal() 297 xprintf("%s: listening on %s, starting, uid %u, gid %u\n" in tcpsvd_main() 300 xprintf("%s: listening on %s, starting\n", toys.which->name, server); in tcpsvd_main() 378 xprintf("%s: start %d %s-%s",toys.which->name, getpid(), server, client); in tcpsvd_main() 379 if (toys.optflags & FLAG_h) xprintf(" (%s-%s)", serv, clie); in tcpsvd_main() 382 xprintf("%s: status %d/%d\n",toys.which->name, TT.count_all, TT.cn); in tcpsvd_main()
|
D | sulogin.c | 35 xprintf("\n Timed out - Normal startup\n"); 59 xprintf("Normal startup.\n"); in validate_password() 110 if (r == 1) xprintf("Incorrect Login.\n"); in sulogin_main()
|
D | arping.c | 86 xprintf("Sent %u probe(s) (%u broadcast(s))\n", TT.sent_nr, TT.brd_sent); in done() 87 xprintf("Received %u repl%s (%u request(s), %u broadcast(s))\n", in done() 168 xprintf(" %u.%03ums\n", delta / 1000, delta % 1000); in recv_from() 220 xprintf("Interface \"%s\" is not ARPable\n", TT.iface); in arping_main() 270 xprintf("ARPING to %s", inet_ntoa(dest_addr)); in arping_main() 271 xprintf(" from %s via %s\n", inet_ntoa(src_addr), TT.iface); in arping_main()
|
D | route.c | 137 xprintf("Kernel IP routing table\n" in display_routes() 160 xprintf("%-15.15s %-15.15s %-16s%-6s", destip, gateip, maskip, flag_val); in display_routes() 161 if (toys.optflags & FLAG_e) xprintf("%5d %-5d %6d %s\n", mss, win, irtt, iface); in display_routes() 162 else xprintf("%-6d %-2d %7d %s\n", metric, ref, use, iface); in display_routes() 415 xprintf("Kernel IPv6 routing table\n" in display_routes6() 435 xprintf("%-43s %-39s %-5s %-6d %-4d %5d %-8s\n", in display_routes6()
|
/third_party/toybox/toys/other/ |
D | help.c | 37 xprintf("<a name=\"%s\"><h1>%s</h1><blockquote><pre>\n", t->name, t->name); in do_help() 42 if (toys.optflags & FLAG_h) xprintf("</blockquote></pre>\n"); in do_help() 62 xprintf("<html>\n<title>Toybox command list</title>\n<body>\n<p>\n"); in help_main() 64 xprintf("<a href=\"#%s\">%s\n</a>\n", toy_list[i].name, in help_main() 66 xprintf("</p>\n"); in help_main() 70 if (toys.optflags & FLAG_h) xprintf("<hr>\n<pre>\n"); in help_main() 77 if (toys.optflags & FLAG_h) xprintf("</pre>\n"); in help_main() 80 if (toys.optflags & FLAG_h) xprintf("</html>"); in help_main()
|
D | uptime.c | 60 xprintf("up %d week%s, %d day%s, %d hour%s, %d minute%s, ", in uptime_main() 66 xprintf(" %02d:%02d:%02d up ", tm->tm_hour, tm->tm_min, tm->tm_sec); in uptime_main() 67 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":""); in uptime_main() 68 if (hours) xprintf("%2d:%02d, ", hours, minutes); in uptime_main()
|
D | lsattr.c | 106 xprintf("%5lu ", version); in print_file_attr() 116 xprintf("%-50s ", path); in print_file_attr() 119 if (name_found) xprintf(", "); //for formatting. in print_file_attr() 120 xprintf("%s", ptr->name); in print_file_attr() 124 if (!name_found) xprintf("---"); in print_file_attr() 132 xprintf("%s %s\n", toybuf, path); in print_file_attr() 159 xprintf("\n%s:\n", fpath); in retell_dir()
|
D | pmap.c | 42 xprintf("%u: %s\n", (int)pid, line); in pmap_main() 55 xprintf("Address%*cKbytes PSS Dirty Swap Mode Mapping\n", in pmap_main() 92 xprintf("%s- %s%s", toybuf, line[off]=='[' ? " " : "", name); in pmap_main() 103 xprintf("%.*s ------ ------ ------ ------\n", (int)(sizeof(long)*2), in pmap_main()
|
D | makedevs.c | 50 xprintf("rootdir = %s\n", *toys.optargs); 53 xprintf("table = %s\n", TT.d); 54 } else xprintf("table = <stdin>\n");
|
D | i2ctools.c | 211 xprintf("%02x:", row & 0xf0); in i2cdetect_main() 217 xprintf(" UU"); in i2cdetect_main() 223 : i2c_quick_write(fd, addr)) == -1) xprintf(" --"); in i2cdetect_main() 224 else xprintf(" %02x", addr); in i2cdetect_main() 248 xprintf("%02x:", row & 0xf0); in i2cdump_main()
|
D | w.c | 23 xprintf("USER TTY LOGIN@ FROM"); in w_main() 29 xprintf("\n%-9.8s%-9.8s %-4.24s (%-1.12s)", x->ut_user, x->ut_line, in w_main()
|
D | lsmod.c | 23 xprintf("%-23s Size Used by\n", "Module"); in lsmod_main() 32 xprintf("%-19s %8s %s %s\n", name, size, refcnt, users); in lsmod_main()
|
D | sysctl.c | 80 if (!(toys.optflags & FLAG_n)) xprintf("%s", key); in do_show_keys() 81 if (!(toys.optflags & (FLAG_N|FLAG_n))) xprintf(" = "); in do_show_keys() 83 if (!(toys.optflags & FLAG_N)) xprintf("%s", data); in do_show_keys()
|
/third_party/toybox/toys/net/ |
D | ifconfig.c | 145 xprintf("%-9s Link encap:%s ", name, types[i].title); in display_ifconfig() 147 xprintf("HWaddr "); in display_ifconfig() 148 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 152 if ((pp = strrchr(toybuf, '/'))) xprintf(" Driver %s", pp+1); in display_ifconfig() 177 xprintf("%10c%s", ' ', (si->sin_family == AF_INET) ? "inet" : in display_ifconfig() 184 xprintf(" %s:%s ", addr[i].name, in display_ifconfig() 224 if (toys.optflags&FLAG_S) xprintf(" %s/%d@%c", toybuf, plen,*scope); in display_ifconfig() 225 else xprintf("%10cinet6 addr: %s/%d Scope: %s\n", in display_ifconfig() 239 xprintf("%10c", ' '); in display_ifconfig() 250 if (flags & mask) xprintf("%s ", *s); in display_ifconfig() [all …]
|
D | rfkill.c | 94 xprintf("%u: %s: %s\n", rfevent.idx, name, type); in rfkill_main() 95 xprintf("\tSoft blocked: %s\n", rfevent.soft ? "yes" : "no"); in rfkill_main() 96 xprintf("\tHard blocked: %s\n", rfevent.hard ? "yes" : "no"); in rfkill_main()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 144 xprintf("%-9s Link encap:%s ", name, types[i].title); in display_ifconfig() 146 xprintf("HWaddr "); in display_ifconfig() 147 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig() 151 if ((pp = strrchr(toybuf, '/'))) xprintf(" Driver %s", pp+1); in display_ifconfig() 176 xprintf("%10c%s", ' ', (si->sin_family == AF_INET) ? "inet" : in display_ifconfig() 183 xprintf(" %s:%s ", addr[i].name, in display_ifconfig() 223 if (toys.optflags&FLAG_S) xprintf(" %s/%d@%c", toybuf, plen,*scope); in display_ifconfig() 224 else xprintf("%10cinet6 addr: %s/%d Scope: %s\n", in display_ifconfig() 238 xprintf("%10c", ' '); in display_ifconfig() 249 if (flags & mask) xprintf("%s ", *s); in display_ifconfig() [all …]
|
/third_party/toybox/porting/liteos_a/toys/lsb/ |
D | umount.c | 48 if (toys.optflags & FLAG_v) xprintf("%s unmounted\n", dir); 58 xprintf("%s cleared\n", dev); 62 xprintf("umount ok\n"); 68 if (toys.optflags & FLAG_v) xprintf("%s remounted ro\n", dir);
|
/third_party/toybox/toys/lsb/ |
D | umount.c | 79 if (toys.optflags & FLAG_v) xprintf("%s unmounted\n", dir); 89 xprintf("%s cleared\n", dev); 99 if (toys.optflags & FLAG_v) xprintf("%s remounted ro\n", dir);
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | rm.c | 59 xprintf("name is too long!\n"); in toybox_cmd_do_rmdir() 79 xprintf("refusing to remove '.' or '..'!\n"); in do_rm() 127 xprintf("%s%s '%s'\n", toys.which->name, dir ? "dir" : "", s); in do_rm()
|