Home
last modified time | relevance | path

Searched refs:xprintf (Results 1 – 25 of 77) sorted by relevance

1234

/external/toybox/toys/posix/
Dfile.c220 xprintf("PDF document, version %d.%u\n", -ii, magic); in do_regular_file()
225 xprintf("PNG image data"); in do_regular_file()
235 xprintf(", %d x %d, %d-bit/%s, %sinterlaced", (int)peek_be(s, 4), in do_regular_file()
243 xprintf("GIF image data, version %3.3s, %d x %d\n", in do_regular_file()
257 xprintf("Mach-O universal binary with %u architecture%s:", in do_regular_file()
266 xprintf(" [%s]", name); in do_regular_file()
268 xprintf("\n"); in do_regular_file()
271 xprintf("Java class file, version %d.%d (Java 1.%d)\n", in do_regular_file()
277 xprintf("Android dex file, version %s\n", s); in do_regular_file()
288 xprintf("ASCII cpio archive (%s)\n", cpioformat); in do_regular_file()
[all …]
Dhead.c41 if (TT.file_no) xprintf("\n");
42 xprintf("==> %s <==\n", name);
/external/toybox/toys/pending/
Dfdisk.c142 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 …]
Dtraceroute.c214 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 …]
Ddumpleases.c46xprintf("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()
Dtcpsvd.c178 xprintf("%s: end %d exit %d\n",toys.which->name, pid_n, WEXITSTATUS(status)); in handle_exit()
180 xprintf("%s: end %d signaled %d\n",toys.which->name, pid_n, WTERMSIG(status)); in handle_exit()
181 if (TT.c > 1) xprintf("%s: status %d/%ld\n",toys.which->name, TT.count_all, TT.c); in handle_exit()
255 if (FLAG(v)) xprintf("got signal %d, exit\n", sig); in handle_signal()
290 xprintf("%s: listening on %s, starting, uid %u, gid %u\n", in tcpsvd_main()
293 xprintf("%s: listening on %s, starting\n", toys.which->name, server); in tcpsvd_main()
370 xprintf("%s: start %d %s-%s",toys.which->name, getpid(), server, client); in tcpsvd_main()
371 if (FLAG(h)) xprintf(" (%s-%s)", serv, clie); in tcpsvd_main()
374 xprintf("%s: status %d/%ld\n",toys.which->name, TT.count_all, TT.c); in tcpsvd_main()
Droute.c125 xprintf("Kernel IP routing table\n" in display_routes()
129 xprintf("Kernel IPv6 routing table\n" in display_routes()
217 xprintf("%-15.15s %-15.15s %-16s%-6s", dest, gate, netmask, flags); in display_routes()
218 if (FLAG(e)) xprintf("%5d %-5d %6d %s\n", mss, win, irtt, if_name); in display_routes()
219 else xprintf("%-6d %-2d %7d %s\n", priority, ref, use, if_name); in display_routes()
222 xprintf("%-30s %-26s %-4s %-6d %-4d %2d %-8s\n", in display_routes()
375 xprintf("WARNING: Implicit IPV6 address using -Ainet6\n"); in route_main()
Dsulogin.c34 xprintf("\n Timed out - Normal startup\n");
58 xprintf("Normal startup.\n"); in validate_password()
109 if (r == 1) xprintf("Incorrect Login.\n"); in sulogin_main()
Darping.c86 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()
Dtelnet.c55 xprintf("Entering %s mode\r\nEscape character is '^%c'.\r\n", in slc()
85 xprintf("Connection closed.\r\n"); in handle_esc()
111 xprintf("telnet %s %s\r\n", toys.optargs[0], toys.optargs[1] ?: "23"); in handle_esc()
247 xprintf("Connected to %s.\r\n", *toys.optargs); in telnet_main()
/external/toybox/toys/other/
Dhelp.c30 xprintf("<a name=\"%s\"><h1>%s</h1><blockquote><pre>\n", t->name, t->name); in do_help()
35 if (FLAG(h)) xprintf("</blockquote></pre>\n"); in do_help()
69 xprintf("<html>\n<title>%s</title>\n<body>\n<h1>%s</h1><hr /><p>", in help_main()
72 xprintf("<a href=\"#%s\">%s</a>\n", toy_list[i].name,toy_list[i].name); in help_main()
73 xprintf("</p>\n"); in help_main()
78 if (FLAG(h)) xprintf("<hr>\n<pre>\n"); in help_main()
85 if (FLAG(h)) xprintf("</pre>\n"); in help_main()
88 if (FLAG(h)) xprintf("</html>"); in help_main()
Drtcwake.c59 if (FLAG(v)) xprintf("RTC time: %s\n", utc ? "UTC" : "local"); in rtcwake_main()
62 if (FLAG(v)) xprintf("Device: %s\n", TT.d); in rtcwake_main()
69 xprintf("System time:\t%lld / %s", (long long)now, ctime(&now)); in rtcwake_main()
70 xprintf("RTC time:\t%lld / %s", (long long)rtc_now, ctime(&rtc_now)); in rtcwake_main()
78 xprintf("alarm: on %s", ctime(&then)); in rtcwake_main()
93 if (FLAG(v)) xprintf("Wake time:\t%lld / %s", (long long)then, ctime(&then)); in rtcwake_main()
102 xprintf("wakeup using \"%s\" from %s at %s", TT.m, TT.d, ctime(&then)); in rtcwake_main()
112 if (FLAG(v)) xprintf("... %s: %lx\n", TT.d, data); in rtcwake_main()
Duptime.c59 xprintf("up %d week%s, %d day%s, %d hour%s, %d minute%s, ", in uptime_main()
65 xprintf(" %02d:%02d:%02d up ", tm->tm_hour, tm->tm_min, tm->tm_sec); in uptime_main()
66 if (days) xprintf("%d day%s, ", days, (days!=1)?"s":""); in uptime_main()
67 if (hours) xprintf("%2d:%02d, ", hours, minutes); in uptime_main()
Dlsattr.c166 xprintf("%5u ", fsx.fsx_projid); in print_file_attr()
170 xprintf("%-10u ", version); in print_file_attr()
180 xprintf("%-50s ", path); in print_file_attr()
183 if (name_found) xprintf(", "); //for formatting. in print_file_attr()
184 xprintf("%s", ptr->name); in print_file_attr()
188 if (!name_found) xprintf("---"); in print_file_attr()
190 } else xprintf("%s %s\n", attrstr(flag, 1), path); in print_file_attr()
216 xprintf("\n%s:\n", fpath); in retell_dir()
Dpmap.c45 xprintf("%d: %s\n", pid, name); in pmap_main()
56 xprintf("Address%*cKbytes PSS Dirty Swap Mode Mapping\n", in pmap_main()
86 xprintf("%s- %s%s", mode, *name == '[' ? " " : "", in pmap_main()
92 xprintf("---------------- ------ ------ ------ ------\n" + in pmap_main()
Di2ctools.c205 xprintf("%02x:", row & 0xf0); in i2cdetect_main()
214 xprintf(" UU"); in i2cdetect_main()
220 : i2c_quick_write(fd, addr)) == -1) xprintf(" --"); in i2cdetect_main()
221 else xprintf(" %02x", addr); in i2cdetect_main()
243 xprintf("%02x:", row & 0xf0); in i2cdump_main()
Dmakedevs.c50 xprintf("rootdir = %s\n", *toys.optargs);
53 xprintf("table = %s\n", TT.d);
54 } else xprintf("table = <stdin>\n");
Dw.c22 xprintf("USER TTY LOGIN@ FROM"); in w_main()
28 xprintf("\n%-9.8s%-9.8s %-4.24s (%-1.12s)", x->ut_user, x->ut_line, in w_main()
Dlsmod.c23 xprintf("%-23s Size Used by\n", "Module"); in lsmod_main()
32 xprintf("%-19s %8s %s %s\n", name, size, refcnt, users); in lsmod_main()
Dsysctl.c80 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()
Dionice.c63 xprintf("%s: prio %d\n", in ionice_main()
83 xprintf("Pid %ld, class %s (%ld), prio %d\n", TT.p, classes[TT.c], TT.c, p); in iorenice_main()
Dmix.c55 xprintf("%s:%s = left:%d\t right:%d\n", in mix_main()
57 else xprintf("%s:%s = %d\n", TT.d, channels[channel], level); in mix_main()
/external/toybox/toys/net/
Difconfig.c146 xprintf("%-9s Link encap:%s ", name, types[i].title); in display_ifconfig()
148 xprintf("HWaddr "); in display_ifconfig()
149 for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]); in display_ifconfig()
153 if ((pp = strrchr(toybuf, '/'))) xprintf(" Driver %s", pp+1); in display_ifconfig()
178 xprintf("%10c%s", ' ', (si->sin_family == AF_INET) ? "inet" : in display_ifconfig()
185 xprintf(" %s:%s ", addr[i].name, in display_ifconfig()
225 if (toys.optflags&FLAG_S) xprintf(" %s/%d@%c", toybuf, plen,*scope); in display_ifconfig()
226 else xprintf("%10cinet6 addr: %s/%d Scope: %s\n", in display_ifconfig()
240 xprintf("%10c", ' '); in display_ifconfig()
251 if (flags & mask) xprintf("%s ", *s); in display_ifconfig()
[all …]
Drfkill.c97 xprintf("%u: %s: %s\n", rfevent.idx, name, type); in rfkill_main()
98 xprintf("\tSoft blocked: %s\n", rfevent.soft ? "yes" : "no"); in rfkill_main()
99 xprintf("\tHard blocked: %s\n", rfevent.hard ? "yes" : "no"); in rfkill_main()
/external/toybox/toys/lsb/
Dumount.c79 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);

1234