Lines Matching refs:malloc
111 /* 1. Storage leak protection: Routines which use malloc are not */
177 #include <stdlib.h> /* for malloc, free, etc. */
305 #define malloc(a) uprv_malloc(a)
310 /* Handle malloc/free accounting. If enabled, our accountable routines */
311 /* are used; otherwise the code just goes straight to the system malloc */
313 #define malloc(a) decMalloc(a)
316 /* 'Our' malloc and free: */
533 do { /* status & malloc protection */
675 allocres=(Unit *)malloc(needbytes);
964 if (needbytes>sizeof(bufa)) { /* need malloc space */
965 allocbufa=(decNumber *)malloc(needbytes);
978 if (needbytes>sizeof(bufb)) { /* need malloc space */
979 allocbufb=(decNumber *)malloc(needbytes);
1157 if (needbytes>sizeof(bufa)) { /* need malloc space */
1158 allocbufa=(decNumber *)malloc(needbytes);
1441 if (!decCheckMath(rhs, set, &status)) do { /* protect malloc */
1490 if (needbytes>sizeof(bufa)) { /* need malloc space */
1491 allocbufa=(decNumber *)malloc(needbytes);
1513 if (needbytes>sizeof(bufb)) { /* need malloc space */
1514 allocbufb=(decNumber *)malloc(needbytes);
2162 allocdac=(decNumber *)malloc(needbytes);
2209 allocinv=(decNumber *)malloc(needbytes);
2922 allocbuff=(decNumber *)malloc(needbytes);
2931 allocbufa=(decNumber *)malloc(needbytes);
2932 allocbufb=(decNumber *)malloc(needbytes);
3819 /* too long for that does malloc become the final resort. */
4070 /* printf("malloc add %ld %ld\n", need, sizeof(accbuff)); */
4071 allocacc=(Unit *)malloc(need*sizeof(Unit));
4435 /* printf("malloc dvacc %ld units\n", acclength); */
4436 allocacc=(Unit *)malloc(acclength*sizeof(Unit));
4460 /* printf("malloc dvvar %ld units\n", var1units+1); */
4461 varalloc=(Unit *)malloc((var1units+1)*sizeof(Unit));
4989 alloclhi=(uInt *)malloc(needbytes);
4993 allocrhi=(uInt *)malloc(needbytes);
5013 allocacc=(uLong *)malloc(needbytes);
5109 allocacc=(Unit *)malloc(needbytes);
5395 if (needbytes>sizeof(bufr)) { /* need malloc space */
5396 allocrhs=(decNumber *)malloc(needbytes);
5427 if (needbytes>sizeof(bufa)) { /* need malloc space */
5428 allocbufa=(decNumber *)malloc(needbytes);
5439 if (needbytes>sizeof(buft)) { /* need malloc space */
5440 allocbuft=(decNumber *)malloc(needbytes);
5708 if (needbytes>sizeof(bufa)) { /* need malloc space */
5709 allocbufa=(decNumber *)malloc(needbytes);
5717 if (needbytes>sizeof(bufb)) { /* need malloc space */
5718 allocbufb=(decNumber *)malloc(needbytes);
6308 allocacc=(Unit *)malloc(need*sizeof(Unit));
6855 res=(decNumber *)malloc(sizeof(decNumber)
8118 #undef malloc
8124 /* Semantics is the same as the stdlib malloc routine, but bytes */
8140 alloc=malloc(size); /* -> allocated storage */
8155 /* Semantics is the same as the stdlib malloc routine, except that */
8182 #define malloc(a) decMalloc(a)