Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 28) sorted by relevance

12

/tests/
Dpthreadtest.c21 printf("thread_simple %p!\n", arg); in thread_simple()
67 printf("PThread Test\n"); in main()
70 printf("simple test: "); in main()
76 printf("OK\n"); in main()
79 printf("return value test: "); in main()
85 printf("OK\n"); in main()
88 printf("simple mutex lock test: "); in main()
97 printf("OK\n"); in main()
100 printf("contended mutex lock test: "); in main()
115 printf("OK\n"); in main()
[all …]
Dwritetest.c32 printf("OSWrite: error at offset %d\n", off); in write()
37 printf("OSWrite: no data written at offset %d\n", off); in write()
50 printf("OSOpen: error for file %s\n", TMPFILE); in writetest()
66 printf("OSRead: error at offset %d\n", off); in read()
71 printf("OSWrite: no data read at offset %d\n", off); in read()
78 printf("read the wrong data back at offset %d\n", off); in read()
79 printf("Expected: %c %c %c %c\n", inbuf[0], inbuf[1], inbuf[2], inbuf[3]); in read()
80 printf("Got: %c %c %c %c\n", outbuf[0], outbuf[1], outbuf[2], outbuf[3]); in read()
93 printf("OSOpen: error for file %s\n", TMPFILE); in readtest()
108 printf("Success!\n"); in main()
Dthreadtest.c13 printf("Hello From Thread %d\n", arg); in threadEntry()
20 printf("Thread Test\n"); in main()
26 printf("Result %d\n", result); in main()
28 printf("Result %d\n", result); in main()
30 printf("Result %d\n", result); in main()
32 printf("Success!\n"); in main()
Dspawnsingletest.c17 printf("Spawn parallel test wait any: "); in main()
21 printf("spawn: %lx\n", origpid); in main()
25 printf("wait: process did not exit\n"); in main()
30 printf("wait: expected pid %d found %d\n", origpid, pid); in main()
35 printf("wait: unexpected return %lx\n", status); in main()
40 printf("Success!\n"); in main()
Dspawnmultipletest.c17 printf("Spawn parallel test wait any: "); in main()
21 printf("spawn: %lx\n", pid[i]); in main()
27 printf("wait: process did not exit\n"); in main()
32 printf("wait: expected pid %d found %d\n", origpid, pid); in main()
37 printf("wait: unexpected return %lx\n", status); in main()
42 printf("Success!\n"); in main()
Dspawnanytest.c17 printf("Spawn parallel test wait any: "); in main()
21 printf("spawn: %lx\n", pid[i]); in main()
27 printf("wait: process did not exit\n"); in main()
32 printf("wait: unexpected return %lx\n", status); in main()
37 printf("Success!\n"); in main()
Dfiotest.c13 printf("FIO Test\n"); in main()
19 printf("Error: %x\n", -status); in main()
24 printf("Success!\n"); in main()
/bin/shell/
Dshell.c22 printf("System Shell\n"); in main()
35 printf("bkpt Trigger a kernel breakpoint\n"); in Cmd_Help()
36 printf("exit Exit shell\n"); in Cmd_Help()
37 printf("help Display the list of commands\n"); in Cmd_Help()
46 printf("Invalid number of arguments\n"); in Cmd_Exit()
89 printf("Spawn failed!\n"); in Cmd_Run()
93 printf("Process result: %d\n", status); in Cmd_Run()
98 printf("Unknown command '%s'\n", argv[0]); in Cmd_Run()
/sbin/sysctl/
Dsysctl.c39 printf("%s: %s\n", SYSCTLTable[idx].path, scStr.value); in PrintVal()
46 printf("%s: %ld\n", SYSCTLTable[idx].path, scInt.value); in PrintVal()
53 printf("%s: %s\n", SYSCTLTable[idx].path, in PrintVal()
58 printf("%s: Unsupported type\n", SYSCTLTable[idx].path); in PrintVal()
78 printf("%ld\n", scInt.value); in UpdateVal()
90 printf("Value must be true or false\n"); in UpdateVal()
97 printf("%s: Unsupported type\n", SYSCTLTable[idx].path); in UpdateVal()
106 printf("Usage: sysctl [NODE] [VALUE]\n"); in main()
111 printf("%-20s %s\n", "Name", "Description"); in main()
113 printf("%-20s %s\n", in main()
/bin/ethdump/
Dethdump.c27 printf("From %s to %s of type %04x\n", srcMac, dstMac, hdr->ether_type); in dumpPacket()
44 printf("OSNICRecv failed!\n"); in readPacket()
49 printf("Failed to read packet!\n"); in readPacket()
62 printf("Ethernet Dump Tool\n"); in main()
66 printf("nic%d not present\n", nicNo); in main()
70 printf("Listening to nic%d\n", (int)nic.nicNo); in main()
/bin/stat/
Dstat.c33 printf(" File: \"%s\"\n", argv[1]); in main()
34 printf(" Size: %d\n", sb.st_size); in main()
35 printf("Blocks: %d\n", sb.st_blocks); in main()
36 printf(" Inode: %d\n", sb.st_ino); in main()
/sbin/newfs_o2fs/
Dnewfs_o2fs.c185 printf("FILE %s\n", tokenString); in AddDirectory()
194 printf("DIR %s\n", tokenString); in AddDirectory()
200 printf("END\n"); in AddDirectory()
203 printf("Unexpected end of file\n"); in AddDirectory()
206 printf("Unknown token '%s'\n", tokenString); in AddDirectory()
289 printf("Usage: newfs_o2fs [OPTIONS] special-device\n"); in usage()
290 printf("Options:\n"); in usage()
291 printf(" -m, --manifest Manifest of files to copy to file system\n"); in usage()
292 printf(" -s, --size Size in megabytes of device or disk image\n"); in usage()
293 printf(" -v, --verbose Verbose logging\n"); in usage()
[all …]
/bin/ethinject/
Dethinject.c29 printf("OSNICSend failed!\n"); in writePacket()
34 printf("Failed to write packet!\n"); in writePacket()
45 printf("Ethernet Dump Tool\n"); in main()
49 printf("nic%d not present\n", nicNo); in main()
53 printf("Injecting packet on nic%d\n", (int)nic.nicNo); in main()
/sbin/ifconfig/
Difconfig.c13 printf("Network Status\n"); in main()
20 printf("nic%d:\n", (int)nic.nicNo); in main()
21 printf(" ether %02x:%02x:%02x:%02x:%02x:%02x\n", in main()
/bin/echo/
Decho.c8 printf("%s ", argv[i]); in main()
10 printf("\n"); in main()
/sbin/init/
Dinit.c14 printf("init: Could not spawn shell %016lx\n", status); in main()
20 printf("init: Zombie process exited (%016lx)\n", status); in main()
/bin/ls/
Dls.c38 printf("OSReadDir Error: %x\n", -status); in main()
42 printf("%s\n", de.d_name); in main()
/lib/liblwip/src/netif/ppp/
Dppp_oe.c265 printf("%c%c%"U16_F": host unique tag found, but it belongs to a connection in state %d\n", in pppoe_find_softc_by_hunique()
270 printf("%c%c%"U16_F": wrong interface, not accepting host unique\n", in pppoe_find_softc_by_hunique()
322 printf("pppoe: packet too short: %d\n", pb->len); in pppoe_dispatch_disc_pkt()
328 printf("pppoe: unknown version/type packet: 0x%x\n", ph->vertype); in pppoe_dispatch_disc_pkt()
336 printf("pppoe: packet content does not fit: data available = %d, packet size = %u\n", in pppoe_dispatch_disc_pkt()
351 printf("pppoe: tag 0x%x len 0x%x is too long\n", tag, len); in pppoe_dispatch_disc_pkt()
398 printf("%s: %s: %s\n", devname, err_msg, pppoe_error_tmp); in pppoe_dispatch_disc_pkt()
400 printf("%s: %s\n", devname, err_msg); in pppoe_dispatch_disc_pkt()
458 printf("pppoe: received PADR but not includes ac_cookie\n"); in pppoe_dispatch_disc_pkt()
465 printf("pppoe: received PADR but could not find request for it\n"); in pppoe_dispatch_disc_pkt()
[all …]
/lib/liblwip/src/include/arch/
Dcc.h85 #define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0)
87 #define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \
/lib/liblwip/src/arch/
Detherif.c164 printf("OSNICSend failed!\n"); in low_level_output()
169 printf("Failed to write packet!\n"); in low_level_output()
205 printf("OSNICSend failed!\n"); in low_level_input()
210 printf("Failed to write packet!\n"); in low_level_input()
/lib/libc/
DSConscript17 "printf.c",
Dprintf.c212 int printf(const char *fmt, ...) in printf() function
/include/
Dstdio.h41 int printf(const char *fmt, ...);
/sys/
DSConscript55 "kern/printf.c",
/lib/liblwip/
DUPGRADING103 * Added printf-formatter X8_F to printf u8_t as hex

12