Searched refs:printf (Results 176 - 200 of 1261) sorted by relevance

1234567891011>>

/haiku/src/tests/system/kernel/
H A Dmmap_fixed_test.cpp19 printf("cannot create temporary file.\n");
31 printf("mmap failed.\n");
36 printf("MAP_FIXED did not return same address.\n");
/haiku/src/tests/system/network/
H A Dunix_recv_test.c11 printf("Domain: %i\n", domain);
33 printf("recv %i\n", ok);
36 printf("%i\n", ret);
/haiku/src/tests/servers/registrar/
H A DRosterShell.cpp83 printf("activate: requires exactly one argument\n");
90 printf("activate: requires exactly one argument\n");
98 printf("activate: failed to activate application %" B_PRId32
114 printf("launch: requires exactly one argument\n");
124 printf("launch: Failed to get entry ref for \"%s\": %s\n",
134 printf("launched \"%s\", team id: %" B_PRId32 "\n", program.c_str(),
137 printf("launch: Failed to launch \"%s\": %s\n",
167 printf("%-8s%-40s\n", "team", "signature");
168 printf("---------------------------------------------------------\n");
174 printf("
[all...]
/haiku/src/tests/kits/media/
H A DTimedEventQueueTest.cpp23 printf("NULL\n");
26 printf("time = 0x%x, type = ",int(e->event_time));
28 case BTimedEventQueue::B_NO_EVENT: printf("B_NO_EVENT\n"); break;
29 case BTimedEventQueue::B_ANY_EVENT: printf("B_ANY_EVENT\n"); break;
30 case BTimedEventQueue::B_START: printf("B_START\n"); break;
31 case BTimedEventQueue::B_STOP: printf("B_STOP\n"); break;
32 case BTimedEventQueue::B_SEEK: printf("B_SEEK\n"); break;
33 case BTimedEventQueue::B_WARP: printf("B_WARP\n"); break;
34 case BTimedEventQueue::B_TIMER: printf("B_TIMER\n"); break;
35 case BTimedEventQueue::B_HANDLE_BUFFER: printf("B_HANDLE_BUFFE
[all...]
/haiku/src/bin/
H A Dlistattr.cpp32 printf("\t%04" B_PRIx32 ": ", dumpPosition);
37 printf("%02x ", (uint8)buffer[dumpPosition + i]);
39 printf(" ");
44 printf(" ");
54 printf("\n");
83 printf("%" B_PRId8 "\n", *((int8 *)buffer));
86 printf("%" B_PRIu8 "\n", *((uint8 *)buffer));
89 printf("%" B_PRId16 "\n", *((int16 *)buffer));
92 printf("%" B_PRIu16 "\n", *((uint16 *)buffer));
95 printf("
[all...]
H A Dmessage.cpp18 printf("usage: %s <flattened message file> [index]\n", argv[0]);
24 printf("cannot open \"%s\" for reading\n", argv[1]);
31 printf("cannot determine size of file \"%s\"\n", argv[1]);
41 printf("failed to unflatten message: %s\n", strerror(result));
H A Dvmstat.cpp77 printf("max memory:\t\t%" B_PRIu64 "\n", info.max_pages * B_PAGE_SIZE);
78 printf("free memory:\t\t%" B_PRIu64 "\n", info.free_memory);
79 printf("needed memory:\t\t%" B_PRIu64 "\n", info.needed_memory);
80 printf("block cache memory:\t%" B_PRIu64 "\n",
82 printf("max swap space:\t\t%" B_PRIu64 "\n",
84 printf("free swap space:\t%" B_PRIu64 "\n",
86 printf("page faults:\t\t%" B_PRIu32 "\n", info.page_faults);
108 printf("%11" B_PRId32 " %11" B_PRId64 " %11" B_PRId64 " %11"
/haiku/src/add-ons/translators/raw/
H A Dmain.cpp64 printf("manufacturer: %s\n", meta.manufacturer);
65 printf("model: %s\n", meta.model);
66 printf("software: %s\n", meta.software);
67 printf("flash used: %g\n", meta.flash_used);
68 printf("ISO speed: %g\n", meta.iso_speed);
70 printf("shutter: %g sec\n", meta.shutter);
72 printf("shutter: 1/%g sec\n", 1 / meta.shutter);
73 printf("aperture: %g\n", meta.aperture);
74 printf("focal length: %g mm\n", meta.focal_length);
75 printf("pixe
[all...]
/haiku/src/tests/kits/app/bmessenger/
H A DForwardMessageTest.cpp9 printf("Looper created\n");
14 printf("MessageReceived : %.4s\n", (char*)&msg->what);
42 printf("loopers run\n");
45 printf("message sent and replied\ncheck there is only a 'couc' what in the reply\n");
/haiku/src/tests/misc/
H A Dwritev-test.cpp14 printf("file open error %s\n", strerror(errno));
24 printf("vec 1 write error %s\n", strerror(errno));
31 printf("vec 2 write error %s\n", strerror(errno));
38 printf("vec 3 write error %s\n", strerror(errno));
/haiku/src/tests/system/benchmarks/
H A Dsyscallbench.c19 printf("syscallbench [-h]\n");
59 printf("overhead time: %ld nanoseconds\n",
62 printf("libcall time: %ld nanoseconds\n",
65 printf("syscall time: %ld nanoseconds\n",
/haiku/src/apps/debugger/user_interface/cli/commands/
H A DCliStackFrameCommand.cpp43 printf("No current frame.\n");
46 printf("Current frame: %" B_PRId32 ": %s\n", currentFrameIndex,
55 printf("Error: Invalid parameter \"%s\"\n", argv[1]);
60 printf("Error: Index %" B_PRId32 " out of range\n", frameNumber);
H A DCliStopCommand.cpp44 printf("Error: No current thread.\n");
52 printf("Error: Invalid parameter \"%s\"\n", argv[1]);
60 printf("Error: No thread with ID %ld\n", threadID);
66 printf("Error: thread %" B_PRId32 " is already stopped.\n",
H A DCliContinueCommand.cpp34 printf("Error: No current thread.\n");
39 printf("Error: The current thread is not stopped.\n");
/haiku/src/tests/system/libroot/posix/
H A Dmbtest.c10 printf("Len: %i\n", mblen(argv[1], SSIZE_MAX));
H A Dtst-wcsnlen.c28 printf ("wcsnlen (L\"%s\", %d) = %d, not %d\n", Str, Max, n, Exp); \
52 printf("all ok.\n");
H A Dtest_wcfuncs.c38 printf(
51 printf(
62 printf("!iswupper/iswlower (L'A') failed\n");
68 printf("iswupper/!iswlower (L'a') failed\n");
72 printf("towlower(L'A') failed\n");
76 printf("towupper(L'a') failed\n");
H A Dtst-wcrtomb.c56 printf("Testing locale \"%s\":\n", locname);
68 printf("%s: '\\x%x': encoding error\n", locname, (int) wc);
71 printf("%s: '\\x%x': 0 returned\n", locname, (int) wc);
74 printf("%s: '\\x%x': not 1 returned\n", locname, (int) wc);
77 printf("%s: L'\\x%x': buf[0] != '\\x%x'\n", locname, (int) wc,
83 printf(res == 1 ? "%d error\n" : "%d errors\n", res);
/haiku/src/tests/add-ons/print/ppd/model/
H A DStatement.cpp151 printf("<%s", ElementForType());
154 printf(" keyword=\"%s\"", fKeyword->String());
158 printf(">\n");
160 printf("/>\n");
165 printf("\t<option>\n");
167 printf("\t</option>\n");
172 printf("\t<value>\n");
174 printf("\t</value>\n");
178 printf("\t<children>\n");
180 printf("\
[all...]
/haiku/src/system/boot/platform/openfirmware/arch/ppc/
H A Dcpu.cpp33 printf("boot_arch_cpu_init(): Failed to open \"/\"!\n");
43 printf("boot_arch_cpu_init(): Failed to open \"/cpus\"!\n");
59 printf("boot_arch_cpu_init: Failed get CPU device node!\n");
68 printf("boot_arch_cpu_init: Failed to get CPU clock "
75 printf("boot_arch_cpu_init: Failed to get bus clock "
82 printf("boot_arch_cpu_init: Failed to get time base "
100 printf("boot_arch_cpu_init(): Found no CPUs!\n");
112 printf("boot_arch_cpu_init(): Failed to allocate kernel stack(s)!\n");
/haiku/src/bin/network/pppconfig/
H A Dpppconfig.cpp66 printf("Listing PPP interfaces:\n");
73 printf("\n");
77 printf("Type: Visible\n");
78 printf("\tInterface: ppp%" B_PRId32 "\n", info.info.if_unit);
80 printf("Type: Hidden\n");
82 printf("\tName: %s\n", info.info.name);
85 printf("\tID: %" B_PRIu32 "\n", interface.ID());
88 printf("\tMode: ");
90 printf("Client\n");
92 printf("Serve
[all...]
/haiku/src/bin/network/
H A Dwakeonlan.cpp15 printf("usage: %s <MAC address>\n", argv[0]);
22 printf("unrecognized MAC format\n");
33 printf("failed to create socket: %s\n", strerror(sock));
41 printf("failed to set broadcast socket option: %s\n", strerror(result));
53 printf("failed to send magic packet: %s\n", strerror(result));
57 printf("magic packet sent to %02x:%02x:%02x:%02x:%02x:%02x\n", mac[0],
/haiku/src/tests/kits/device/bserial/
H A DSerialIO.cpp34 printf("usage: %s <port>\n", argv[0]);
37 printf("\tports (%ld):\n", portCount);
42 printf("\t\tfailed to retrieve name %ld\n", i);
46 printf("\t\t%s\n", nameBuffer);
54 printf("failed to open port \"%s\": %s\n", argv[1], strerror(result));
67 printf("failed to spawn reader thread\n");
/haiku/src/tests/servers/app/benchmark/
H A DHorizontalLineTest.cpp78 printf("Test was not run.\n");
85 printf("Line width: %ld\n", fViewBounds.IntegerWidth() + 1 - 2);
86 printf("Lines per iteration: %ld\n", fViewBounds.IntegerHeight() / 2);
87 printf("Total lines rendered: %llu\n", fLinesRendered);
88 printf("Lines per second: %.3f\n",
90 printf("Average time between iterations: %.4f seconds.\n",
H A DVerticalLineTest.cpp78 printf("Test was not run.\n");
85 printf("Line height: %ld\n", fViewBounds.IntegerHeight() + 1 - 2);
86 printf("Lines per iteration: %ld\n", fViewBounds.IntegerWidth() / 2);
87 printf("Total lines rendered: %llu\n", fLinesRendered);
88 printf("Lines per second: %.3f\n",
90 printf("Average time between iterations: %.4f seconds.\n",

Completed in 200 milliseconds

1234567891011>>