/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/ |
H A D | cleanup.c | 57 PR_fprintf(err, "Cleanup usage: [-g] [-s n] [-t n] [-c n] [-h]\n"); 58 PR_fprintf(err, "\t-c Call cleanup before exiting (default: false)\n"); 59 PR_fprintf(err, "\t-G Use global threads only (default: local)\n"); 60 PR_fprintf(err, "\t-t n Number of threads involved (default: 1)\n"); 61 PR_fprintf(err, "\t-s n Seconds thread(s) should dally (defaut: 10)\n"); 62 PR_fprintf(err, "\t-S n Seconds main() should dally (defaut: 5)\n"); 63 PR_fprintf(err, "\t-C n Value to set concurrency (default 1)\n"); 64 PR_fprintf(err, "\t-h This message and nothing else\n"); 110 PR_fprintf(err, "Cleanup settings\n"); 111 PR_fprintf(er [all...] |
H A D | i2l.c | 64 PR_fprintf(err, "Usage: -i n | -u n | -h\n"); 65 PR_fprintf(err, "\t-i n treat following number as signed integer\n"); 66 PR_fprintf(err, "\t-u n treat following number as unsigned integer\n"); 67 PR_fprintf(err, "\t-h This message and nothing else\n"); 101 PR_fprintf(err, "We have long long\n"); 103 PR_fprintf(err, "We don't have long long\n"); 108 PR_fprintf(err, "Converting %ld: ", si.i); 110 PR_fprintf(err, "%lld\n", si.l); 115 PR_fprintf(err, "Converting %lu: ", ui.i); 117 PR_fprintf(er [all...] |
H A D | atomic.c | 50 PR_fprintf( 56 PR_fprintf( 62 PR_fprintf( 69 PR_fprintf( 75 PR_fprintf( 81 PR_fprintf( 88 PR_fprintf( 94 PR_fprintf( 100 PR_fprintf( 108 PR_fprintf( [all...] |
H A D | getproto.c | 70 PR_fprintf( 74 else PR_fprintf(prstderr, "tcp is protocol number %d\n", proto.p_num); 82 PR_fprintf( 86 else PR_fprintf(prstderr, "udp is protocol number %d\n", proto.p_num); 94 PR_fprintf( 98 else PR_fprintf(prstderr, "Protocol number 6 is %s\n", proto.p_name); 106 PR_fprintf( 110 else PR_fprintf(prstderr, "Protocol number 17 is %s\n", proto.p_name); 112 PR_fprintf(prstderr, (failed) ? "FAILED\n" : "PASSED\n");
|
H A D | version.c | 74 PR_fprintf(err, "Usage: version [-d] {fully qualified library name}\n"); 98 (void)PR_fprintf(err, "Runtime library version information\n"); 103 (void)PR_fprintf(err, " Build time: %s GMT\n", buffer); 104 (void)PR_fprintf( 106 (void)PR_fprintf( 115 (void)PR_fprintf(err, " filename: %s\n", version_info->filename); 116 (void)PR_fprintf(err, " security: %s\n", version_info->security); 117 (void)PR_fprintf(err, " copyright: %s\n", version_info->copyright); 118 (void)PR_fprintf(err, " comment: %s\n", version_info->comment);
|
H A D | inrval.c | 85 PR_fprintf(output, "PR_TicksPerSecond: %ld\n\n", ticks); 86 PR_fprintf(output, "PR_SecondsToInterval(1): %ld\n", PR_SecondsToInterval(1)); 87 PR_fprintf(output, "PR_MillisecondsToInterval(1000): %ld\n", PR_MillisecondsToInterval(1000)); 88 PR_fprintf(output, "PR_MicrosecondsToInterval(1000000): %ld\n\n", PR_MicrosecondsToInterval(1000000)); 90 PR_fprintf(output, "PR_SecondsToInterval(3): %ld\n", PR_SecondsToInterval(3)); 91 PR_fprintf(output, "PR_MillisecondsToInterval(3000): %ld\n", PR_MillisecondsToInterval(3000)); 92 PR_fprintf(output, "PR_MicrosecondsToInterval(3000000): %ld\n\n", PR_MicrosecondsToInterval(3000000)); 94 PR_fprintf(output, "PR_IntervalToSeconds(%ld): %ld\n", ticks, PR_IntervalToSeconds(ticks)); 95 PR_fprintf(output, "PR_IntervalToMilliseconds(%ld): %ld\n", ticks, PR_IntervalToMilliseconds(ticks)); 96 PR_fprintf(outpu [all...] |
H A D | exit.c | 55 PR_fprintf(err, "Usage: [-t s] [-h]\n"); 56 PR_fprintf(err, "\t-d Verbose output (default: FALSE)\n"); 57 PR_fprintf(err, "\t-x Forced termination (default: FALSE)\n"); 58 PR_fprintf(err, "\t-t Time for thread to block (default: 10 seconds)\n"); 59 PR_fprintf(err, "\t-h This message and nothing else\n"); 66 PR_fprintf(err, "If you see this, the test failed\n"); 112 PR_fprintf( 121 PR_fprintf(err, "You should not have gotten here.\n");
|
H A D | strod.c | 49 PR_fprintf(err, "Usage: /.strod [-n n] [-l n] [-h]\n"); 50 PR_fprintf(err, "\t-n n Number to translate (default: 1234567890123456789)\n"); 51 PR_fprintf(err, "\t-l n Times to loop the test (default: 1)\n"); 52 PR_fprintf(err, "\t-h This message and nothing else\n"); 85 PR_fprintf(err, "Settings\n"); 86 PR_fprintf(err, "\tNumber to translate %s\n", number); 87 PR_fprintf(err, "\tLoops to run test: %d\n", loops); 92 PR_fprintf(err, "Translation = %20.0f\n", answer);
|
H A D | pollable.c | 86 PR_fprintf(PR_STDERR, "PR_Poll failed\n"); 90 PR_fprintf(debug_out, "thread %d awakened\n", data->index); 95 PR_fprintf(PR_STDERR, "consume event failed\n"); 102 PR_fprintf(debug_out, "thread %d posting event\n", data->index); 105 PR_fprintf(PR_STDERR, "post event failed\n"); 115 PR_fprintf( 117 PR_fprintf( 119 PR_fprintf( 121 PR_fprintf(debug_out, "-d\tturn on debugging output (default: FALSE)\n"); 122 PR_fprintf(debug_ou [all...] |
H A D | ipv6.c | 66 PR_fprintf(err, "Usage: [-V] [-h]\n"); 67 PR_fprintf(err, "\t<nul> Name of host to lookup (default: self)\n"); 68 PR_fprintf(err, "\t-V Display runtime version info (default: FALSE)\n"); 69 PR_fprintf(err, "\t-h This message and nothing else\n"); 76 PR_fprintf(err, "%s[%d]\t", msg, NETADDR_SIZE(address)); 79 PR_fprintf(err, " %08x", *word++); 82 PR_fprintf(err, "\n"); 93 PR_fprintf(err, "\t%s\n", buffer); 102 PR_fprintf(err, "Address translations do not match\n"); 167 (void)PR_fprintf(er [all...] |
H A D | system.c | 70 if (PR_SUCCESS == rv) PR_fprintf(output, "%s: %s\n", tag[cmd], info); 75 PR_fprintf(output, "Host page size is %d\n", PR_GetPageSize()); 76 PR_fprintf(output, "Page shift is %d\n", PR_GetPageShift()); 77 PR_fprintf(output, "Number of processors is: %d\n", PR_GetNumberOfProcessors());
|
H A D | fsync.c | 50 PR_fprintf(err, "Usage: [-S] [-K <n>] [-h] <filename>\n"); 51 PR_fprintf(err, "\t-c Nuber of iterations (default: 10)\n"); 52 PR_fprintf(err, "\t-S Sync the file (default: FALSE)\n"); 53 PR_fprintf(err, "\t-K Size of file (K bytes) (default: 10)\n"); 54 PR_fprintf(err, "\t Name of file to write (default: /usr/tmp/sync.dat)\n"); 55 PR_fprintf(err, "\t-h This message and nothing else\n"); 134 PR_fprintf(
|
H A D | many_cv.c | 61 PR_fprintf(err, "many_cv usage: [-c n] [-l n] [-h]\n"); 62 PR_fprintf(err, "\t-c n Number of conditions per lock (default: 10)\n"); 63 PR_fprintf(err, "\t-l n Number of times to loop the test (default: 1)\n"); 64 PR_fprintf(err, "\t-h This message and nothing else\n"); 100 PR_fprintf(err, "Settings\n"); 101 PR_fprintf(err, "\tConditions / lock: %d\n", cvs); 102 PR_fprintf(err, "\tLoops to run test: %d\n", loops);
|
H A D | parent.c | 62 PR_fprintf(PR_GetSpecialFD(PR_StandardError), 103 if (NULL != debug) PR_fprintf(debug, "Forking %s\n", child->name); 123 PR_fprintf( 127 PR_fprintf( 134 if (NULL != debug) PR_fprintf(debug, "Waiting for child to exit\n"); 139 PR_fprintf( 147 PR_fprintf(debug, "PR_WaitProcess failed\n");
|
H A D | thruput.c | 93 PR_fprintf(err, "%s:%u\n", buffer, PR_ntohs(address->inet.port)); 112 PR_fprintf(err, "Client connecting to "); 169 PR_fprintf(err, "%u streams @ %u Kbytes/sec\n", shared->threads, rate); 182 PR_fprintf(err, "Translating the name %s\n", server_name); 256 PR_fprintf(err, "%u streams @ %u Kbytes/sec\n", shared->threads, rate); 284 PR_fprintf(err, "Server listening on "); 293 PR_fprintf(err, "Server accepting from "); 309 PR_fprintf(err, "Usage: [-h] [<server>]\n"); 310 PR_fprintf(err, "\t-s <n> Initial # of connections (default: 1)\n"); 311 PR_fprintf(er [all...] |
H A D | udpsrv.c | 111 #define DPRINTF(arg) if (_debug_on) PR_fprintf(output, arg) 172 PR_fprintf(output, 192 if (debug_mode) PR_fprintf(output, "udpsrv: UDP_Server(): \ 200 if (debug_mode) PR_fprintf(output, "udpsrv: UDP_Server(): \ 221 PR_fprintf(output, 244 PR_fprintf(output, 260 PR_fprintf(output, 309 PR_fprintf(output, 334 PR_fprintf(output, 343 PR_fprintf(outpu [all...] |
H A D | writev.c | 129 if (NULL != debug) PR_fprintf(debug, 150 PR_fprintf(debug, "[%d]socket ... ", loop); 156 PR_fprintf(debug, "connecting ... "); 171 if (NULL != debug) PR_fprintf( 180 PR_fprintf(debug, "closing ... "); 183 if (NULL != debug) PR_fprintf( 193 if (NULL != debug) PR_fprintf( 201 PR_fprintf(debug, "unable to create client socket\n"); 207 PR_fprintf(debug, "No connection made\n"); 209 PR_fprintf( [all...] |
H A D | priotest.c | 105 PR_fprintf( 107 PR_fprintf( 109 PR_fprintf( 127 PR_fprintf(debug_out, "PR_[S/G]etThreadPriority() failed\n"); 138 PR_fprintf(debug_out, "PR_SetThreadPriority(-1) failed\n"); 148 PR_fprintf(debug_out, "PR_SetThreadPriority(+1) failed\n"); 206 PR_fprintf(debug_out, 208 PR_fprintf( debug_out, 210 PR_fprintf( debug_out, "%d cycles are available.\n\n", totalCount); 220 PR_fprintf(debug_ou [all...] |
H A D | stack.c | 132 PR_fprintf(errhandle, "PR_CreateStack failed - error %d\n", 139 PR_fprintf(errhandle, "PR_CreateStack failed - error %d\n", 149 PR_fprintf(output,"%s: thread_cnt = %d data_cnt = %d\n", argv[0], 173 PR_fprintf(errhandle, "PR_CreateThread failed - error %d\n", 178 PR_fprintf(output,"%s: created thread = 0x%x\n", argv[0], 192 PR_fprintf(errhandle, "Error - Stack 1 not empty\n"); 205 PR_fprintf(errhandle, "Error - PR_StackPop returned NULL\n"); 216 PR_fprintf(errhandle, "Error - Stack 2 not empty\n"); 227 PR_fprintf(output, "%s successful\n", argv[0]); 228 PR_fprintf(outpu [all...] |
H A D | switch.c | 84 PR_fprintf( 86 PR_fprintf( 88 PR_fprintf( 90 PR_fprintf(debug_out, "-d\tturn on debugging output (default: FALSE)\n"); 91 PR_fprintf(debug_out, "-v\tturn on verbose output (default: FALSE)\n"); 92 PR_fprintf(debug_out, "-G\tglobal threads only (default: FALSE)\n"); 93 PR_fprintf(debug_out, "-C n\tconcurrency setting (default: 1)\n"); 105 if (verbosity) PR_fprintf(debug_out, "+"); 163 PR_fprintf(debug_out, "Test parameters\n"); 164 PR_fprintf(debug_ou [all...] |
H A D | accept.c | 117 PR_fprintf(output, "@%s:%d ", file, line); 118 PR_fprintf(output, msg); 132 PR_fprintf(output, "timeout callback called okay\n"); 158 PR_fprintf(output, "client: unable to create socket\n"); 169 PR_fprintf(output, 181 PR_fprintf(output, 193 PR_fprintf(output, "."); 198 PR_fprintf(output, "\n"); 216 PR_fprintf(output, "unable to create listen socket\n"); 236 PR_fprintf(outpu [all...] |
H A D | xnotify.c | 77 PR_fprintf(err, "%6ld: %s", (now - base), msg); 79 else PR_fprintf(err, "\n"); 85 PR_fprintf(err, "Usage: [-[d][l][m][c]] [-h]\n"); 86 PR_fprintf(err, "\t-d debug mode (default: FALSE)\n"); 87 PR_fprintf(err, "\t-l test with locks (default: FALSE)\n"); 88 PR_fprintf(err, "\t-m tests with monitors (default: FALSE)\n"); 89 PR_fprintf(err, "\t-c tests with cmonitors (default: FALSE)\n"); 90 PR_fprintf(err, "\t-h help\n"); 134 PR_fprintf(err, "\n**********************************\n"); 135 PR_fprintf(er [all...] |
H A D | layer.c | 81 PR_fprintf(logFile, "Pushed layer(0x%x) onto stack(0x%x)\n", layer, stack); 97 PR_fprintf(logFile, "Pushed layer(0x%x) onto stack(0x%x)\n", layer, 105 PR_fprintf(logFile, "Pushed layer(0x%x) onto stack(0x%x)\n", layer, 114 PR_fprintf(logFile, "Pushed layer(0x%x) onto stack(0x%x)\n", layer, 125 PR_fprintf(logFile, "Popped layer(0x%x) from stack(0x%x)\n", popped, stack); 151 PR_fprintf(logFile, "Client sending %d bytes\n", bytes_sent); 155 PR_fprintf(logFile, "Client receiving %d bytes\n", bytes_read); 160 PR_fprintf(logFile, "Client shutting down stack\n"); 177 PR_fprintf(logFile, "Server accepting connection\n"); 186 PR_fprintf(logFil [all...] |
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/ |
H A D | plerror.c | 135 if (NULL != msg) PR_fprintf(fd, "%s: ", msg); 137 PR_fprintf( 140 PR_fprintf(
|
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/tests/ |
H A D | switch.cpp | 106 if (verbosity) PR_fprintf(debug_out, "+"); 117 PR_fprintf( 119 PR_fprintf( 121 PR_fprintf( 123 PR_fprintf(debug_out, "-d\tturn on debugging output (default: FALSE)\n"); 124 PR_fprintf(debug_out, "-v\tturn on verbose output (default: FALSE)\n"); 125 PR_fprintf(debug_out, "-G n\tglobal threads only (default: FALSE)\n"); 126 PR_fprintf(debug_out, "-C n\tconcurrency setting (default: 1)\n"); 176 PR_fprintf(debug_out, "Test parameters\n"); 177 PR_fprintf(debug_ou [all...] |