DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Name Description Modified (UTC) Size
dll
.cvsignore 9 Bytes
Makefile.in 10.9 kB
README.TXT File: pr/tests/readme 7.3 kB
accept.c Run accept 15.1 kB
acceptread.c 7.5 kB
acceptreademu.c This test is the same as acceptread.c except that it uses the * emulated acceptread method instead 8.6 kB
addrstr.c 2.2 kB
affinity.c Test PR_GetThreadAffinityMask * The function is called by each of local, global and global bound t 2.0 kB
alarm.c Test alarms 13.3 kB
anonfm.c Test anonymous file map 8.1 kB
append.c Testing File writes where PR_APPEND was used on open 4.2 kB
atomic.c TODO: create a macro to generate the six lines of code that are repeated * for every test. Also re 6.3 kB
attach.c Platform-specific code to create a native thread 8.8 kB
bigfile.c 10.2 kB
bigfile2.c 2.7 kB
bigfile3.c 2.7 kB
bug1test.c Attached is a test program that uses the nspr1 to demonstrate a bug under NT4.0. The fix has already 5.8 kB
cleanup.c 3.4 kB
cltsrv.c Notes: * [1] lth. The call to Sleep() is a hack to get the test case to run * on Windows 95. Witho 38.9 kB
concur.c test of adding and removing concurrency options 3.8 kB
cvar.c Tests Condition Variable Operations 6.9 kB
cvar2.c Simple test creates several local and global threads 29.5 kB
dbmalloc.c Testing malloc 7.4 kB
dbmalloc1.c Tests PR_SetMallocCountdown PR_ClearMallocCountdown functions 2.5 kB
dceemu.c testing the DCE emulation api 2.9 kB
depend.c Test to enumerate the dependencies 4.1 kB
dlltest.c test dll functionality 6.1 kB
dtoa.c created by rrj on 1996 6.1 kB
env.c Testing environment variable operations 6.4 kB
errcodes.c print nspr error codes 5.4 kB
errset.c errset 6.2 kB
exit.c 2.8 kB
fdcach.c 6.0 kB
fileio.c Program to copy one file to another 4.9 kB
foreign.c Testing various functions w 9.7 kB
forktest.c UNIX test for fork functions 8.3 kB
formattm.c A test program for PR_FormatTime and PR_FormatTimeUSEnglish 1.5 kB
freeif.c A test to see if the macros PR_DELETE and PR_FREEIF are * properly defined. (See Bugzilla bug #391 929 Bytes
fsync.c 3.7 kB
getai.c 958 Bytes
gethost.c tests various functions in prnetdb 8.0 kB
getproto.c File: getproto.c * * A test program for PR_GetProtoByName and PR_GetProtoByNumber * ************ 2.7 kB
i2l.c 2.4 kB
initclk.c This is a regression test for the bug that the interval timer * is not initialized when _PR_CreateC 2.3 kB
inrval.c Interval conversion test 6.6 kB
instrumt.c This test is for the NSPR debug aids defined in 12.4 kB
intrio.c File: intrio.c * Purpose: testing i/o interrupts (see Bugzilla bug #31120) 3.8 kB
intrupt.c File: intrupt.c * Purpose: testing thread interrupts 9.0 kB
io_timeout.c Test socket IO timeouts ** ** ** ** ** Modification History: ** 14-May-97 AGarcia- Converted the tes 6.8 kB
io_timeoutk.c Test socket IO timeouts 5.7 kB
io_timeoutu.c Test socket IO timeouts 5.7 kB
ioconthr.c This is a test for the io continuation thread machinery * in pthreads. 3.6 kB
ipv6.c 7.0 kB
join.c Tests PR_SetMallocCountdown PR_ClearMallocCountdown functions 6.3 kB
joinkk.c Tests PR_SetMallocCountdown PR_ClearMallocCountdown functions 4.0 kB
joinku.c Tests PR_SetMallocCountdown PR_ClearMallocCountdown functions 4.1 kB
joinuk.c Join kernel - user 4.1 kB
joinuu.c Join tests user - user 4.1 kB
layer.c stack 15.1 kB
lazyinit.c Testing lazy initialization 2.8 kB
libfilename.c test PR_GetLibraryFilePathname 2.7 kB
lltest.c 25.7 kB
lock.c File: lock.c ** Purpose: test basic locking functions ** ** Modification History: ** 14-M 15.7 kB
lockfile.c File: lockfile.c ** Purpose: test basic locking functions ** Just because th 7.0 kB
logfile.c test log message 1.1 kB
logger.c test program for logging 3.0 kB
makedir.c This test calls PR_MakeDir to create a bunch of directories * with various mode bits. 2.0 kB
many_cv.c 3.2 kB
mbcs.c 5.0 kB
multiacc.c 6.7 kB
multiwait.c 21.8 kB
nameshm1.c - Test Named Shared Memory 16.9 kB
nbconn.c A test for nonblocking connect. Functions tested include PR_Connect, * PR_Poll, and PR_GetConnectS 14.0 kB
nblayer.c Testing layering of I/O ** ** The layered server ** A thread that acts as a server. It creates 23.9 kB
nonblock.c Make win16 unit_time interval 300 milliseconds, others get 100 6.5 kB
ntioto.c 8.2 kB
ntoh.c A test program for PR_htons, PR_ntohs, PR_htonl, PR_ntohl, * PR_htonll, and PR_ntohll. 2.7 kB
obsints.c make sure that protypes 1.1 kB
op_2long.c Test Program to verify the PR_NAME_TOO_LONG_ERROR 1.8 kB
op_excl.c Test Program to verify function of PR_EXCL open flag 3.3 kB
op_filnf.c Test Program to verify the PR_FILE_NOT_FOUND_ERROR 1.5 kB
op_filok.c Test Program to verify the PR_Open finding an existing file 1.4 kB
op_noacc.c Test Program to verify the PR_NO_ACCESS_RIGHTS_ERROR in PR_Open 1.5 kB
op_nofil.c Test Program to verify the PR_FILE_NOT_FOUND_ERROR 1.6 kB
openfile.c This test calls PR_OpenFile to create a bunch of files * with various file modes. 3.2 kB
parent.c test the process machinery 3.3 kB
parsetm.c This test program should eventually become a full-blown test for * PR_ParseTimeString. Right now i 2.5 kB
peek.c PR_INTERVAL_NO_TIMEOUT 11.3 kB
perf.c 11.4 kB
pipeping.c 4.6 kB
pipeping2.c 4.7 kB
pipepong.c 1.8 kB
pipepong2.c 2.9 kB
pipeself.c 6.5 kB
poll_er.c This program tests PR_Poll with sockets 6.1 kB
poll_nm.c This program tests PR_Poll with sockets 10.0 kB
poll_to.c This program tests PR_Poll with sockets 5.4 kB
pollable.c A test for the pollable events. * * A number of threads are in a ring configuration, each waiting 8.0 kB
prftest.c 1.6 kB
prftest1.c 3.3 kB
prftest2.c 2.8 kB
primblok.c File: primblok.c * Purpose: testing whether the primordial thread can block in a * 3.1 kB
priotest.c File: priotest.c * Purpose: testing priorities 5.5 kB
provider.c Notes: * [1] lth. The call to Sleep() is a hack to get the test case to run * on Windows 95. Witho 43.7 kB
prpoll.c 9.7 kB
prpollml.c This test exercises the code that allocates and frees the syspoll_list * array of PRThread in the p 4.4 kB
prselect.c tests PR_Select with sockets Error condition functions 9.7 kB
prttools.h Used in Regress Tool 384 Bytes
pushtop.c A regression test for bug 794316 2.0 kB
randseed.c 3.4 kB
ranfile.c Test to hammer on various components of NSPR 13.3 kB
reinit.c This test verifies that NSPR can be cleaned up and reinitialized. 939 Bytes
rmdir.c Demonstrate bugzilla 80884 2.5 kB
runtests.pl 7.8 kB
runtests.sh 4.7 kB
runy2ktests.ksh 3.6 kB
rwlocktest.c RWLock tests * * Several threads are created to access and modify data arrays using * PRRWLocks 4.8 kB
sel_spd.c Test the speed of select within NSPR * 13.9 kB
selct_er.c tests PR_Select with sockets Error condition functions 5.7 kB
selct_nm.c tests PR_Select with sockets - Normal operations 7.9 kB
selct_to.c tests PR_Select with sockets 5.1 kB
select2.c Measure PR_Select and Empty_Select performance 8.7 kB
selintr.c Test whether classic NSPR's select() wrapper properly blocks * the periodic SIGALRM clocks. On som 1.3 kB
sem.c Tests Semaphonre functions 5.3 kB
sema.c Thread 2 waits on semaphore 2 and posts to semaphore 1. 4.5 kB
semaerr.c 3.5 kB
semaerr1.c 3.2 kB
semaping.c 5.7 kB
semapong.c 3.7 kB
sendzlf.c send a zero-length file with PR_SendFile and 6.6 kB
server_test.c This server simulates a server running in loopback mode. ** ** The idea is that a single server is c 17.1 kB
servr_kk.c This server simulates a server running in loopback mode. ** ** The idea is that a single server is c 16.8 kB
servr_ku.c This server simulates a server running in loopback mode. ** ** The idea is that a single server is c 16.5 kB
servr_uk.c This server simulates a server running in loopback mode. ** ** The idea is that a single server is c 16.5 kB
servr_uu.c This server simulates a server running in loopback mode. ** ** The idea is that a single server is c 16.5 kB
short_thread.c Create a thread that exits right away; useful for testing race conditions in thread * creation 1.5 kB
sigpipe.c Test: sigpipe.c * * Test the SIGPIPE handler in NSPR. This test applies to Unix only. * *** 2.3 kB
sleep.c 2.8 kB
socket.c Test socket functionality 70.5 kB
sockopt.c 5.5 kB
sockping.c 3.8 kB
sockpong.c 2.4 kB
sprintf.c 11.3 kB
sproc_ch.c Test sproc_ch.c * * The purpose of this test and the sproc_p.c test is to test the shutdown * of 2.3 kB
sproc_p.c Test sproc_p.c * * The purpose of this test and the sproc_ch.c test is to test the shutdown * of 1.8 kB
stack.c remove data items 6.9 kB
stat.c Program to test different ways to get file info; right now it * only works for solaris and OS/2. 1.8 kB
stdio.c testing the 1.4 kB
str2addr.c a test for PR_StringToNetAddr 1.4 kB
strod.c 2.1 kB
suspend.c 4.5 kB
switch.c trying to time context switches 6.5 kB
system.c system.c 1.6 kB
testbit.c Test the functions and macros declared in prbit 2.3 kB
testfile.c 22.2 kB
threads.c 5.0 kB
thrpool_client.c Test threadpool functionality 9.6 kB
thrpool_server.c Test threadpool functionality 14.9 kB
thruput.c Test server 11.9 kB
time.c Program to test different ways to get the time; right now it is tuned * only for solaris. * sola 3.7 kB
timemac.c test time and date routines on the Mac 3.3 kB
timetest.c test time and date routines 21.1 kB
tmoacc.c 9.8 kB
tmocon.c test client socket connection 12.6 kB
tpd.c Exercising the thread private data bailywick 7.7 kB
udpsrv.c udpsrc.c -- Test basic function of UDP server ** ** udpsrv operates on the same machine with program 16.0 kB
ut_ttools.h Used in Regress Tool 384 Bytes
vercheck.c 2.7 kB
version.c 2.9 kB
writev.c 6.7 kB
xnotify.c 10.2 kB
y2k.c Test for y2k compliance for NSPR 35.4 kB
y2ktmo.c 16.9 kB
yield.c 1.4 kB
zerolen.c a test for Bugzilla bug 7.7 kB