/development/tools/yuv420sp2rgb/ |
debug.h | 53 static inline void *CALLOC(unsigned int num_entries, unsigned int entry_size) { 54 void *m = calloc(num_entries, entry_size); 55 FAILIF(NULL == m, "calloc(%d, %d) failed!\n", num_entries, entry_size);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_memory.h | 50 #define CALLOC(_count, _size) os_calloc(_count, _size) 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/ |
u_memory.h | 50 #define CALLOC(_count, _size) os_calloc(_count, _size) 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/ |
pmemory.h | 65 #define CALLOC(m, n, tag) calloc(m, n) 66 #define CALLOC_CLR(m, n, tag) calloc(m, n) 70 #define NEW_ARRAY(type, n, tag) ((type*)CALLOC(n, sizeof(type), tag)) 86 #define calloc #error macro 111 * Portable calloc() 113 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize , tag, L(__FILE__), __LINE__)) 117 * Portable calloc() 119 #define CALLOC(nbElem, elemSize, tag) (pcalloc(nbElem, elemSize)) 143 #define NEW_ARRAY(type, nbElem, tag) ((type *) CALLOC(nbElem, sizeof(type), tag) [all...] |
/ndk/sources/host-tools/make-3.81/ |
hash.c | 22 #define CALLOC(t, n) ((t *) calloc (sizeof (t), (n))) 48 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size); 264 ht->ht_vec = (void **) CALLOC (struct token *, ht->ht_size);
|
/external/valgrind/main/coregrind/m_replacemalloc/ |
vg_replace_malloc.c | 53 avoid such function calls in the first place. See "#define CALLOC" 82 10070 CALLOC 145 and V. This is for calloc argument overflow checking; see comments 189 __builtin_delete, calloc, realloc, memalign, and friends. 569 /*---------------------- calloc ----------------------*/ 591 #define CALLOC(soname, fnname) \ 601 MALLOC_TRACE("calloc(%llu,%llu)", (ULong)nmemb, (ULong)size ); \ 619 CALLOC(VG_Z_LIBC_SONAME, calloc); 620 CALLOC(SO_SYN_MALLOC, calloc) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
imports.h | 55 #define CALLOC(BYTES) calloc(1, BYTES) 59 #define CALLOC_STRUCT(T) (struct T *) calloc(1, sizeof(struct T))
|
/external/mesa3d/src/mesa/main/ |
imports.h | 55 #define CALLOC(BYTES) calloc(1, BYTES) 59 #define CALLOC_STRUCT(T) (struct T *) calloc(1, sizeof(struct T))
|
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 54 #define CALLOC(size, cast) (cast)calloc(1, (size)) 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) { [all...] |
/external/valgrind/main/drd/tests/ |
tsan_unittest.cpp | [all...] |