/haiku/src/bin/ |
H A D | screeninfo.cpp | 83 printf("\t%s\n", table[i].name); 101 printf("Screen %" B_PRId32 ":", screen.ID().id); 103 printf(" unavailable\n"); 105 printf(" attached\n"); 106 printf(" version: %" B_PRId32 "\n", info.version); 107 printf(" name: %s\n", info.name); 108 printf(" chipset: %s\n", info.chipset); 109 printf(" serial: %s\n", info.serial_no); 110 printf(" bitmap overlay colorspaces supported:\n");
|
H A D | WindowShade.cpp | 92 printf("%s [-sum md5sum] [colID colspec] [-refresh]\n", sProgramName); 93 printf("Tweak the default window decorator colors.\n"); 94 printf("\t-sum deprecated option, kept for compatibility\n"); 95 printf("\t-refresh refresh the entire display (force update)\n"); 96 printf("\tcolID can be:\n"); 97 printf("\t-activetab\n"); 98 printf("\t-frame\n"); 99 printf("\t-activeborder\n"); 100 printf("\t-inactiveborder\n"); 101 printf("\ [all...] |
H A D | listarea.c | 37 printf("memory: total: %4" B_PRId32 "KB, used: %4" B_PRId32 "KB, left: %4" 50 printf("\nteam %" B_PRId32 " unknown\n", id); 55 printf("\n%s (team %" B_PRId32 ")\n", teamInfo.args, id); 56 printf(" ID name address size alloc." 58 printf("------------------------------------------------------------------" 62 printf("%5" B_PRId32 " %32s %p %8" B_PRIxSIZE " %8" B_PRIx32 " %5"
|
H A D | listres.cpp | 89 printf("usage: %s <filename> [<filename> ...]\n", program); 113 printf("File: %s\n", argv[i]); 114 printf(" Type ID Size Name\n"); 115 printf("----------- ----- -------- -------------------------------\n"); 123 printf("%11s %6" B_PRId32 " %9ld \"%s\"\n", 130 printf("\n%" B_PRIdOFF " bytes total in resources.\n", total);
|
/haiku/headers/private/media/ |
H A D | MediaDebug.h | 16 #define UNIMPLEMENTED() printf("UNIMPLEMENTED %s\n",__PRETTY_FUNCTION__) 17 inline void ERROR(const char *fmt, ...) { va_list ap; va_start(ap, fmt); printf("### ERROR: "); vprintf(fmt, ap); va_end(ap); } 20 #define PRINT_FORMAT(_text, _fmt) do { char _buf[300]; string_for_format((_fmt), _buf, sizeof(_buf)); printf("%s %s\n", (_text), (_buf)); } while (0) 21 #define PRINT_INPUT(_text, _in) do { char _buf[300]; string_for_format((_in).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_in).node.node, (_in).node.port, (_in).source.port, (_in).source.id, (_in).destination.port, (_in).destination.id, _buf, (_in).name); } while (0) 22 #define PRINT_OUTPUT(_text, _out) do { char _buf[300]; string_for_format((_out).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_out).node.node, (_out).node.port, (_out).source.port, (_out).source.id, (_out).destination.port, (_out).destination.id, _buf, (_out).name); } while (0) 25 #define BROKEN() printf("BROKEN %s\n",__PRETTY_FUNCTION__) 26 #define TRACE printf 33 #define CALLED() printf("CALLED %s\n",__PRETTY_FUNCTION__) 43 #define UNIMPLEMENTED() printf("UNIMPLEMENTED %s\n",__PRETTY_FUNCTION__)
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | RandomLineTest.cpp | 82 printf("Test was not run.\n"); 89 printf("Lines per iteration: %lu\n", fLinesPerIteration); 90 printf("Total lines rendered: %llu\n", fLinesRendered); 91 printf("Lines per second: %.3f\n", 93 printf("Average time between iterations: %.4f seconds.\n",
|
/haiku/src/tests/system/kernel/swap/ |
H A D | swap_test_heap.cpp | 44 printf("Allocated %lu MB at %p. Filling the allocation...\n", 51 printf("\rfilled %9lu/%9lu pages", 58 printf("\rDone filling the allocation. Starting test iterations...\n"); 63 printf("Test iteration %d...\n", testIteration); 68 printf(" incorrect value in page %lu\n", 75 // printf(" page %lu ok\n",
|
/haiku/src/tests/system/network/icmp/ |
H A D | udp_unreachable.cpp | 68 printf("%zd bytes sent to remote server.\n", bytes); 73 printf("Received %zd bytes from remote host\n", bytes); 74 printf("%s\n", buffer); 77 printf("Error: %s\n", strerror(errno)); 80 printf("Socket closed.\n");
|
/haiku/src/tests/system/network/ |
H A D | udp_server.c | 29 printf("recvfrom(): %lx (%s)\n", status, strerror(status));
33 printf("%s", buf);
46 printf("usage: %s <local-port>\n", argv[0]);
55 printf("binding to port %u\n", ntohs(localAddr.sin_port));
58 printf("bind(): %lx (%s)\n", status, strerror(status));
|
H A D | ipv46_server.cpp | 12 printf("server [tcp|udp] [4|6] [local-address]\n"); 25 printf("received EOF!\n"); 29 printf("received %d bytes: \"%s\"\n", ret, buffer); 68 printf("using IPv4 local address\n"); 75 printf("using IPv6 local address\n"); 113 printf("TCP server: got some client!\n");
|
/haiku/src/apps/autoraise/ |
H A D | settings.cpp | 36 printf("AutoRaiseSettings::AutoRaiseSettings();\tFailed to load active boolean from settings file. Using default\n"); 39 printf("AutoRaiseSettings::AutoRaiseSettings();\tFailed to load delay from settings file. Using default\n"); 42 printf("AutoRaiseSettings::AutoRaiseSettings();\tFailed to load mode from settings file. Using default\n"); 46 printf("AutoRaiseSettings::AutoRaiseSettings()\nUnable to open settings file (either corrupted or doesn't exist), using defaults.\n"); 71 printf("Error occurred writing settings\n");
|
/haiku/src/apps/tv/ |
H A D | Controller.cpp | 58 printf("%s. error 0x%08x (%s)\n",text, (int)err, strerror(err)); 116 printf("Controller::ConnectInterface: wrong index\n"); 120 printf("Controller::ConnectInterface: already connected\n"); 129 printf("Controller::ConnectInterface: can't get parameter web\n"); 146 printf("parameter %d\n", i); 147 printf(" name '%s'\n", parameter->Name()); 148 printf(" kind '%s'\n", parameter->Kind()); 149 printf(" unit '%s'\n", parameter->Unit()); 150 printf(" flags 0x%08" B_PRIx32 "\n", parameter->Flags()); 160 printf("Controlle [all...] |
/haiku/src/bin/mail_utils/ |
H A D | mbox2mail.cpp | 159 printf ("False alarm, not a valid day of the week in \"%s\".\n", 182 printf ("False alarm, not a valid month name in \"%s\".\n", 194 printf ("False alarm, not a valid day of the month number in \"%s\".\n", 215 printf ("False alarm, not a valid time value in \"%s\".\n", 241 printf ("False alarm, not a valid 4 digit year in \"%s\".\n", 266 printf ("False alarm, extra stuff after the year/time zone in \"%s\".\n", 300 printf ("False alarm, not a valid article number in \"%s\".\n", 313 printf ("False alarm, article line \"of\" misssing in \"%s\".\n", 328 printf ("False alarm, article doesn't end with a colon in \"%s\".\n", 517 printf (" [all...] |
/haiku/src/libs/libtelnet/ |
H A D | auth.c | 215 printf(">>>%s: I support auth type %d %d\r\n", 220 printf(">>>%s: Init failed: auth type %d %d\r\n", 276 printf("auth %s 'type'\n", on ? "enable" : "disable"); 277 printf("Where 'type' is one of:\n"); 278 printf("\t%s\n", AUTHTYPE_NAME(0)); 284 printf("\t%s\n", AUTHTYPE_NAME(ap->type)); 290 printf("%s: invalid authentication type\n", type); 307 printf("auth debugging %s\n", auth_debug_mode ? "enabled" : "disabled"); 318 printf("Authentication disabled\n"); 320 printf("Authenticatio [all...] |
H A D | kerberos.c | 111 printf("%s:%d: [%d] (%d)", 116 printf("\r\n"); 160 printf("[ Trying KERBEROS4 ... ]\n"); 163 printf("Kerberos V4: no user name supplied\r\n"); 178 printf("Kerberos V4: no realm for %s\r\n", RemoteHostName); 182 printf("mk_req failed: %s\r\n", krb_err_txt[r]); 186 printf("get_cred failed: %s\r\n", krb_err_txt[r]); 191 printf("Not enough room for user name\r\n"); 195 printf("Sent %d bytes of authentication data\r\n", lauth.length); 198 printf("No [all...] |
/haiku/src/tests/system/libroot/posix/ |
H A D | testmb.c | 43 printf("conversion to wide failed, result: %d\n", r); 46 printf("wide value: 0x%04lx\n", (unsigned long) wc); 49 printf("conversion to multibyte failed, result: %d\n", r);
|
H A D | thread_local_test.cpp | 17 MyClass() { i=0; printf("MyClass() called() %p\n", this); } 18 ~MyClass() { printf("~MyClass() called() %d %p\n", i, this); } 20 void Touch() { i++; printf("Touch() called() %d %p\n", i, this); }
|
/haiku/src/add-ons/print/drivers/preview/ |
H A D | PrinterDriver.cpp | 61 printf("PrinterDriver::PrintJob, print massage read from spool file\n"); 64 printf("\nPrinterDriver::PrintJob, print massage passed to print job\n"); 66 printf("\n"); 69 printf("PrinterDriver::PrintPage(): Faking print of page %" B_PRId32 77 printf("\nPrintJobReader::InitCheck(): %s\n", status == B_OK ? "B_OK" : "B_ERROR"); 78 printf("PrintJobReader::NumberOfPages(): %" B_PRId32 "\n", 80 printf("PrintJobReader::FirstPage(): %" B_PRId32 "\n", reader.FirstPage()); 81 printf("PrintJobReader::LastPage(): %" B_PRId32 "\n", reader.LastPage()); 84 printf("PrintJobReader::PaperRect(): BRect(l:%.1f, t:%.1f, r:%.1f, b:%.1f)\n", 88 printf("PrintJobReade [all...] |
/haiku/src/system/boot/platform/openfirmware/ |
H A D | heap.cpp | 17 # define TRACE(x) printf x 34 printf("heap base = %p\n", *_base); 36 printf("heap top = %p\n", *_top);
|
/haiku/src/tests/system/kernel/ |
H A D | spinlock_contention.cpp | 19 #define panic printf 106 printf("yeah\n"); 117 printf("yeah\n"); 138 printf("foo\n"); 141 printf("foo\n"); 144 printf("foo\n"); 243 printf("\ntotal run time: %s\n", time_string(totalTime, buffer)); 246 printf("estimating time per spinlock tick...\n"); 248 printf("time per spinlock tick: %s\n", 257 printf("\nloc [all...] |
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerDebug.h | 24 inline void ERROR(const char *fmt, ...) { va_list ap; va_start(ap, fmt); printf("### ERROR: "); vprintf(fmt, ap); va_end(ap); } 27 # define PRINT_FORMAT(_text, _fmt) do { char _buf[300]; string_for_format((_fmt), _buf, sizeof(_buf)); printf("%s %s\n", (_text), (_buf)); } while (0) 28 # define PRINT_INPUT(_text, _in) do { char _buf[300]; string_for_format((_in).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_in).node.node, (_in).node.port, (_in).source.port, (_in).source.id, (_in).destination.port, (_in).destination.id, _buf, (_in).name); } while (0) 29 # define PRINT_OUTPUT(_text, _out) do { char _buf[300]; string_for_format((_out).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_out).node.node, (_out).node.port, (_out).source.port, (_out).source.id, (_out).destination.port, (_out).destination.id, _buf, (_out).name); } while (0) 30 # define PRINT_CHANNEL_MASK(fmt) do { char s[200]; StringForChannelMask(s, (fmt).u.raw_audio.channel_mask); printf(" channel_mask 0x%08" B_PRIX32 " %s\n", (fmt).u.raw_audio.channel_mask, s); } while (0) 33 # define TRACE printf
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_debug.c | 110 printf("R[%2u] (DS.V:%p DS.P:%p) L:%08x D:%08x%s\n" 118 printf(" %08x %08x %08x %08x %08x %08x %08x\n", 123 printf(" %08x %08x %08x %08x %08x %08x %08x\n", 128 printf(" %08x %08x %08x %08x %08x %08x %08x\n", 147 printf("Q%u[%3u] (nseg=%d)", qnum, ix, bf->bf_nseg); 163 printf(" (DS.V:%p DS.P:%p) I: %08x L:%08x F:%04x%s\n", 168 printf(" (D[0] = %08x(%08x), D[1] = %08x(%08x)\n", 171 printf(" (D[2] = %08x(%08x), D[3] = %08x(%08x)\n", 174 printf(" Seq: %d swtry: %d ADDBAW?: %d DOBAW?: %d\n", 179 printf(" [all...] |
/haiku/src/tests/kits/media/playsound/ |
H A D | playwav.cpp | 44 printf("file reader started\n"); 56 printf("file reader finished\n"); 103 printf("spawning reader thread...\n"); 109 printf("playing file...\n"); 123 printf("interrupted\n"); 128 printf("playback finished\n");
|
/haiku/src/tests/system/network/ipv6/ |
H A D | tcp_udp_server.cpp | 22 printf("server [tcp|udp] [4|6] [local-address]\n"); 38 printf("received EOF!\n"); 42 printf("received %d bytes: \"%s\"\n", status, buffer); 83 printf("using IPv4 local address\n"); 90 printf("using IPv6 local address\n"); 127 printf("TCP server: got some client!\n");
|
/haiku/src/system/boot/platform/openfirmware/arch/sparc/ |
H A D | cpu.cpp | 33 printf("boot_arch_cpu_init(): Failed to open \"/\"!\n"); 51 printf("boot_arch_cpu_init: Failed get CPU device node!\n"); 60 printf("boot_arch_cpu_init: Failed to get CPU clock " 67 printf("boot_arch_cpu_init: Failed to get bus clock " 84 printf("boot_arch_cpu_init(): Found no CPUs!\n"); 96 printf("boot_arch_cpu_init(): Failed to allocate kernel stack(s)!\n");
|