/development/tools/yuv420sp2rgb/ |
debug.h | 47 static inline void *MALLOC(unsigned int size) { 48 void *m = malloc(size); 49 FAILIF(NULL == m, "malloc(%d) failed!\n", size);
|
/external/srec/portable/include/ |
pmemory.h | 64 #define MALLOC(n, tag) malloc(n) 69 #define NEW(type, tag) ((type*)MALLOC(sizeof(type), tag)) 85 #define malloc #error macro 99 * Portable malloc() 101 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes, tag, L(__FILE__), __LINE__)) 104 * Portable malloc() 106 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes)) 138 #define NEW(type, tag) ((type*) MALLOC(sizeof(type), tag)) 162 * Allocates specified number of bytes, similar to malloc but initializes th [all...] |
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/ |
JPEGTestEnc.h | 76 #define MALLOC(_pStruct_, _sName_) \ 77 _pStruct_ = (_sName_*)malloc(sizeof(_sName_)); \
|
/ndk/sources/host-tools/make-3.81/ |
hash.c | 23 #define MALLOC(t, n) ((t *) xmalloc (sizeof (t) * (n))) 25 #define CLONE(o, t, n) ((t *) memcpy (MALLOC (t, (n)), (o), sizeof (t) * (n))) 292 user-supplied vector, or malloc one. */ 302 vector_0 = MALLOC (void *, ht->ht_fill + 1);
|
/ndk/sources/host-tools/sed-4.2.1/ |
basicdefs.h | 89 #define MALLOC(n,t) (VCAST(t *)ck_malloc((n)*sizeof(t)))
|
/external/valgrind/unittest/ |
posix_tests.cc | 253 int *MALLOC; 271 (*MALLOC)++; 289 MALLOC = (int*)malloc(sizeof(int)); 306 ANNOTATE_EXPECT_RACE(MALLOC, "real race on a malloc-ed object"); 325 free(MALLOC); 882 void *x = malloc((i % 64) + 1);
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/ |
VPPTest.h | 135 #define MALLOC(_ptr,_castType,_type,_eError) \ 137 _ptr = (_castType *)malloc(sizeof(_type)); \
|
/bionic/libc/stdlib/ |
strtod.c | 88 * #define MALLOC your_malloc, where your_malloc(n) acts like malloc(n) 90 * appropriate. If MALLOC is undefined, malloc will be invoked 148 #include "malloc.h" 158 #include "malloc.h" 167 #ifdef MALLOC 169 extern char *MALLOC(); 171 extern void *MALLOC(size_t); 174 #define MALLOC mallo [all...] |
/external/chromium/base/third_party/dmg_fp/ |
dtoa.cc | 103 * #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 mallo [all...] |
/external/expat/lib/ |
xmlparse.c | 562 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) 745 parser = (XML_Parser)malloc(sizeof(struct XML_ParserStruct)); 748 mtemp->malloc_fcn = malloc; 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)); [all...] |
/external/valgrind/main/drd/tests/ |
tsan_unittest.cpp | 97 #include <malloc.h> [all...] |