Searched defs:MALLOC (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_memory.h48 #define MALLOC(_size) os_malloc(_size) macro
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(size);
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_memory.h48 #define MALLOC(_size) os_malloc(_size) macro
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(size);
/external/srec/portable/include/
H A Dpmemory.h64 #define MALLOC(n, tag) malloc(n) macro
69 #define NEW(type, tag) ((type*)MALLOC(sizeof(type), tag))
101 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes, tag, L(__FILE__), __LINE__)) macro
106 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes)) macro
138 #define NEW(type, tag) ((type*) MALLOC(sizeof(type), tag))
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_malloc.h176 /* If we need to use MALLOC_DECLARE before using MALLOC then
193 /* changed definitions of MALLOC and FREE */
195 #define MALLOC(space, cast, size, type, flags) \ macro
232 #define MALLOC(space, cast, size, type, flags) \
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_bsd_addr.c310 #ifdef MALLOC
311 #undef MALLOC macro
312 #define MALLOC(x) HeapAlloc(GetProcessHeap(), 0, (x)) macro
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimports.h53 #define MALLOC(BYTES) malloc(BYTES) macro
/external/mesa3d/src/mesa/main/
H A Dimports.h53 #define MALLOC(BYTES) malloc(BYTES) macro
/external/chromium_org/base/third_party/dmg_fp/
H A Ddtoa.cc103 * #define MALLOC your_malloc, where your_malloc(n) acts like malloc(n)
105 * appropriate. If MALLOC is undefined, malloc will be invoked
108 * recycle memory acquired from MALLOC, #define FREE to be the
116 * suffices to get rid of MALLOC calls except for unusual cases,
214 #ifdef MALLOC
216 extern char *MALLOC();
218 extern void *MALLOC(size_t);
221 #define MALLOC malloc macro
558 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong));
567 rv = (Bigint*)MALLOC(le
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_unittest.cpp5218 int *MALLOC; member in namespace:test110
5236 (*MALLOC)++;
5252 MALLOC = (int*)malloc(sizeof(int));
5272 FAST_MODE_INIT(MALLOC);
5273 ANNOTATE_EXPECT_RACE(MALLOC, "real race on a malloc-ed object");
5302 free(MALLOC);
/external/chromium_org/third_party/expat/files/lib/
H A Dxmlparse.c562 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro
761 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE));
767 attInfo = (XML_AttrInfo*)MALLOC(attsSize * sizeof(XML_AttrInfo));
774 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char));
1589 ? (char *)MALLOC(len * 2)
1723 newBuf = (char *)MALLOC(bufferSize);
1898 return MALLOC(size);
2393 tag = (TAG *)MALLOC(sizeof(TAG));
2396 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE);
3022 uri = (XML_Char *)MALLOC((
[all...]
/external/expat/lib/
H A Dxmlparse.c562 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro
761 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE));
767 attInfo = (XML_AttrInfo*)MALLOC(attsSize * sizeof(XML_AttrInfo));
774 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char));
1589 ? (char *)MALLOC(len * 2)
1723 newBuf = (char *)MALLOC(bufferSize);
1898 return MALLOC(size);
2393 tag = (TAG *)MALLOC(sizeof(TAG));
2396 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE);
3022 uri = (XML_Char *)MALLOC((
[all...]

Completed in 243 milliseconds