Searched defs:CALLOC (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_memory.h | 50 #define CALLOC(_count, _size) os_calloc(_count, _size) macro 58 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T)) 60 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more_size))
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_memory.h | 50 #define CALLOC(_count, _size) os_calloc(_count, _size) macro 58 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T)) 60 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more_size))
|
/external/srec/portable/include/ |
H A D | pmemory.h | 65 #define CALLOC(m, n, tag) calloc(m, n) macro 70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag)) 113 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize , tag, L(__FILE__), __LINE__)) macro 119 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize)) macro 143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag))
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
H A D | vg_replace_malloc.c | 53 avoid such function calls in the first place. See "#define CALLOC" 82 10070 CALLOC 591 #define CALLOC(soname, fnname) \ macro 619 CALLOC(VG_Z_LIBC_SONAME, calloc); 620 CALLOC(SO_SYN_MALLOC, calloc); 623 CALLOC(VG_Z_LIBC_SONAME, calloc); 624 CALLOC(SO_SYN_MALLOC, calloc);
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | imports.h | 55 #define CALLOC(BYTES) calloc(1, BYTES) macro
|
/external/ipsec-tools/src/libipsec/ |
H A D | pfkey.c | 54 #define CALLOC(size, cast) (cast)calloc(1, (size)) macro 428 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 609 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 1176 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) { 1339 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 1530 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 1612 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 1689 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 1747 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) { 1861 if ((newmsg = CALLOC((size_ [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | imports.h | 55 #define CALLOC(BYTES) calloc(1, BYTES) macro
|
/external/valgrind/main/drd/tests/ |
H A D | tsan_unittest.cpp | 5219 int *CALLOC; member in namespace:test110 5237 (*CALLOC)++; 5253 CALLOC = (int*)calloc(1, sizeof(int)); 5274 FAST_MODE_INIT(CALLOC); 5275 ANNOTATE_EXPECT_RACE(CALLOC, "real race on a calloc-ed object"); 5303 free(CALLOC);
|
Completed in 185 milliseconds