Searched refs:PR_MALLOC (Results 1 - 25 of 49) sorted by relevance

12

/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprmem.h88 ** FUNCTION: PR_MALLOC()
95 #define PR_MALLOC(_bytes) (PR_Malloc((_bytes))) macro
105 #define PR_NEW(_struct) ((_struct *) PR_MALLOC(sizeof(_struct)))
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Ddbmalloc1.c82 void *x = PR_MALLOC(128);
H A Dioconthr.c86 fds = (PRFileDesc **) PR_MALLOC(2 * num_threads * sizeof(PRFileDesc *));
88 threads = (PRThread **) PR_MALLOC(num_threads * sizeof(PRThread *));
H A Drwlocktest.c128 array_A =(PRInt32 *) PR_MALLOC(sizeof(PRInt32) * TEST_ARRAY_SIZE);
129 array_B =(PRInt32 *) PR_MALLOC(sizeof(PRInt32) * TEST_ARRAY_SIZE);
130 array_C =(PRInt32 *) PR_MALLOC(sizeof(PRInt32) * TEST_ARRAY_SIZE);
H A Dserver_test.c183 dataBuf = (char *)PR_MALLOC(_client_data + 2*sizeof(PRNetAddr) + 32);
186 sendBuf = (char *)PR_MALLOC(_server_data *sizeof(char));
375 sendBuf = (char *)PR_MALLOC(_client_data * sizeof(char));
378 recvBuf = (char *)PR_MALLOC(_server_data * sizeof(char));
H A Dservr_kk.c149 dataBuf = (char *)PR_MALLOC(_client_data + 2*sizeof(PRNetAddr) + 32);
152 sendBuf = (char *)PR_MALLOC(_server_data *sizeof(char));
352 sendBuf = (char *)PR_MALLOC(_client_data * sizeof(char));
355 recvBuf = (char *)PR_MALLOC(_server_data * sizeof(char));
H A Dservr_ku.c150 dataBuf = (char *)PR_MALLOC(_client_data + 2*sizeof(PRNetAddr) + 32);
153 sendBuf = (char *)PR_MALLOC(_server_data *sizeof(char));
353 sendBuf = (char *)PR_MALLOC(_client_data * sizeof(char));
356 recvBuf = (char *)PR_MALLOC(_server_data * sizeof(char));
H A Dservr_uk.c152 dataBuf = (char *)PR_MALLOC(_client_data + 2*sizeof(PRNetAddr) + 32);
155 sendBuf = (char *)PR_MALLOC(_server_data *sizeof(char));
355 sendBuf = (char *)PR_MALLOC(_client_data * sizeof(char));
358 recvBuf = (char *)PR_MALLOC(_server_data * sizeof(char));
H A Dservr_uu.c150 dataBuf = (char *)PR_MALLOC(_client_data + 2*sizeof(PRNetAddr) + 32);
153 sendBuf = (char *)PR_MALLOC(_server_data *sizeof(char));
353 sendBuf = (char *)PR_MALLOC(_client_data * sizeof(char));
356 recvBuf = (char *)PR_MALLOC(_server_data * sizeof(char));
H A Ddlltest.c101 char *text = (char*)PR_MALLOC(textLength);
H A Dcvar2.c208 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
278 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
352 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
438 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
520 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
650 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
764 list = (threadinfo *)PR_MALLOC(sizeof(threadinfo) * (arg * 4));
H A Dipv6.c196 char *me = (char*)PR_MALLOC(DNS_BUFFER);
H A Ddbmalloc.c80 rv = (node_pt)PR_MALLOC(sizeof(node_t) + l + 1 - 4);
H A Dpollable.c204 block = PR_MALLOC(numThreads * (sizeof(ThreadData) + sizeof(PRThread *)));
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dprerror.c80 thread->errorString = (char*)PR_MALLOC(size);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2misc.c137 *cmdLine = PR_MALLOC(cmdLineSize);
213 * 64K boundary in the child process. PR_MALLOC() cannot guarantee this,
219 p = *envBlock = PR_MALLOC(envBlockSize);
314 newEnvp = (char **) PR_MALLOC(newEnvpSize * sizeof(char *));
373 pszFormatResult = PR_MALLOC(cbArg0 + 1 +
384 pszFormatResult = PR_MALLOC(cbArg0 + 1 +
441 pszFormatResult = PR_MALLOC(strlen(pszFormatString)+strlen(path)+strlen(cmdLine));
H A Dos2poll.c91 socks = (int *) PR_MALLOC( npds * 3 * sizeof(int) );
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dbase64.c40 #include "prmem.h" /* for malloc / PR_MALLOC */
159 dest = (char *)PR_MALLOC(destlen + 1);
407 dest = (char *)PR_MALLOC(destlen + 1);
/vbox/src/libs/xpcom18a4/nsprpub/lib/msgc/src/
H A Dunixgc.c112 return PR_MALLOC(size);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dhpux.c118 newstack = (char *) PR_MALLOC(PIDOOMA_STACK_SIZE);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/beos/
H A Dbproc.c67 newEnvp = (char **) PR_MALLOC((nEnv + 2) * sizeof(char *));
/vbox/src/libs/xpcom18a4/xpcom/threads/
H A DnsProcessCommon.cpp127 p = *cmdLine = (char *) PR_MALLOC(cmdLineSize);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntmisc.c203 p = *cmdLine = PR_MALLOC(cmdLineSize);
331 p = *envBlock = PR_MALLOC(envBlockSize);
410 newEnvp = (char **) PR_MALLOC(newEnvpSize * sizeof(char *));
H A Dw32shm.c95 shm->ipcname = PR_MALLOC( strlen( ipcname ) + 1 );
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/mac/
H A Dmdmac.c501 newAllocation = (char *)PR_MALLOC(stringLength);
564 *cString = PR_MALLOC(len+1);

Completed in 76 milliseconds

12