Searched refs:PR_Malloc (Results 1 - 25 of 33) sorted by relevance

12

/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprmem.h51 #define PR_Malloc VBoxNsprPR_Malloc macro
67 ** PR_Malloc, PR_Calloc, PR_Realloc, and PR_Free have the same signatures
70 ** by PRUint32.) Memory allocated by PR_Malloc, PR_Calloc, or PR_Realloc
74 NSPR_API(void *) PR_Malloc(PRUint32 size);
84 ** PR_Malloc, PR_Calloc, PR_Realloc, and PR_Free.
95 #define PR_MALLOC(_bytes) (PR_Malloc((_bytes)))
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntsec.c107 _pr_nt_sids.owner = (PSID) PR_Malloc(dwLength);
116 _pr_nt_sids.group = (PSID) PR_Malloc(dwLength);
181 pSD = (PSECURITY_DESCRIPTOR) PR_Malloc(SECURITY_DESCRIPTOR_MIN_LENGTH);
210 pACL = (PACL) PR_Malloc(cbACL);
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsValueArray.cpp81 mValueArray = (PRUint8*)PR_Malloc(aInitialCapacity * mBytesPerValue);
122 mValueArray = (PRUint8*)PR_Malloc(mCount * mBytesPerValue);
163 reallocRes = (PRUint8*)PR_Malloc((count + growBy) * mBytesPerValue);
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dlibfilename.c96 name = PR_Malloc(strlen("libnspr4.dll")+1);
H A Dsel_spd.c164 if ( (data_buffer = (char *)PR_Malloc(data_buffer_size * sizeof(char))) == NULL ) {
300 if ( (data_buffer = (char *)PR_Malloc(data_buffer_size * sizeof(char))) == NULL) {
384 int *id = (int *)PR_Malloc(sizeof(int));
499 if ( (timer_data = (timer_slot_t *)PR_Malloc(2*_threads * sizeof(timer_slot_t))) == NULL)
H A Dio_timeout.c203 threadInfo *info = (threadInfo *)PR_Malloc(sizeof(threadInfo));
H A Dmultiacc.c100 PR_Malloc(num_server_threads * sizeof(PRThread *));
102 fprintf(stderr, "PR_Malloc failed\n");
H A Dthruput.c107 char *buffer = (char*)PR_Malloc(buffer_size);
216 char *buffer = (char*)PR_Malloc(buffer_size);
H A Dinstrumt.c316 foundEntries = (PRTraceEntry *)PR_Malloc( NUM_TRACE_RECORDS * sizeof(PRTraceEntry));
H A Dy2ktmo.c514 threads = PR_Malloc(
517 fprintf(stderr, "PR_Malloc failed\n");
/vbox/src/libs/xpcom18a4/xpcom/base/
H A DnsID.cpp123 * format. The string is allocated with PR_Malloc and should be freed by
129 char *res = (char*)PR_Malloc(39); // use PR_Malloc if this is to be freed with nsCRT::free
H A DnsMemoryImpl.cpp295 return PR_Malloc(size);
314 #define MALLOC1(s) PR_Malloc(s)
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/cplus/
H A Drcnetdb.cpp152 void* buffer = PR_Malloc(PR_NETDB_BUF_SIZE);
192 char *buffer = (char*)PR_Malloc(PR_NETDB_BUF_SIZE);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/misc/
H A Dpratom.c127 atomic_locks = (pthread_mutex_t *) PR_Malloc(sizeof(pthread_mutex_t) *
342 stack->prstk_name = (char *) PR_Malloc(strlen(stack_name) + 1);
H A Dprerrortable.c205 PR_Malloc(sizeof(struct PRErrorTableList));
H A Dprnetdb.c256 buf = (char *)PR_Malloc(len);
685 tmpbuf = (char *)PR_Malloc(bufsize);
872 tmpbuf = (char *)PR_Malloc(bufsize);
1072 tmpbuf = (char *)PR_Malloc(bufsize);
H A Dprtrace.c176 tBuf = PR_Malloc( bufSize );
/vbox/src/libs/xpcom18a4/java/src/
H A DnsJavaWrapper.cpp260 array = PR_Malloc(aSize * sizeof(PRUint8));
265 array = PR_Malloc(aSize * sizeof(PRUint16));
270 array = PR_Malloc(aSize * sizeof(PRUint32));
275 array = PR_Malloc(aSize * sizeof(PRUint64));
279 array = PR_Malloc(aSize * sizeof(float));
283 array = PR_Malloc(aSize * sizeof(double));
287 array = PR_Malloc(aSize * sizeof(PRBool));
291 array = PR_Malloc(aSize * sizeof(char));
295 array = PR_Malloc(aSize * sizeof(PRUnichar));
307 array = PR_Malloc(aSiz
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/linking/
H A Dprlink.c1822 result = PR_Malloc(strlen(dli.dli_fname)+1);
1835 result = PR_Malloc(strlen(image_name)+1);
1852 info = PR_Malloc(info_length);
1874 result = PR_Malloc(strlen(infop->ldinfo_filename)+1);
1946 result = PR_Malloc(strlen(info.lmi_name)+1);
2032 result = PR_Malloc(strlen(p)+1);
2053 result = PR_Malloc(strlen(desc.filename)+1);
2070 result = PR_Malloc(strlen(desc.filename)+1);
2096 result = PR_Malloc(strlen(module_name)+1);
2117 result = PR_Malloc(strle
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/os2/
H A Dos2thred.c223 PARAMSTORE* params = PR_Malloc(sizeof(PARAMSTORE));
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/malloc/
H A Dprmem.c467 PR_IMPLEMENT(void *) PR_Malloc(PRUint32 size) function
516 ** The PR_Malloc, PR_Calloc, PR_Realloc, and PR_Free functions simply
523 PR_IMPLEMENT(void *) PR_Malloc(PRUint32 size) function
/vbox/src/libs/xpcom18a4/xpcom/obsolete/component/
H A DnsFileSpecImpl.cpp625 *buffer = (char*)PR_Malloc(requestedCount + 1);
644 *line = (char*)PR_Malloc(bufferSize + 1);
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsFileSpecImpl.cpp647 *buffer = (char*)PR_Malloc(requestedCount + 1);
666 *line = (char*)PR_Malloc(bufferSize + 1);
H A DnsFileSpec.cpp291 Data* newData = (Data*)PR_Malloc(newAllocLength + sizeof(Data));
460 char* startDir = (char*)PR_Malloc(strlen(pathCopy) + 2);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/
H A Dprrwlock.c144 rwlock->rw_name = (char*) PR_Malloc(strlen(lock_name) + 1);

Completed in 110 milliseconds

12