HomeSort by relevance Sort by last modified time
    Searched defs:MALLOC (Results 1 - 16 of 16) sorted by null

  /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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_memory.h 48 #define MALLOC(_size) os_malloc(_size)
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(size);
  /external/mesa3d/src/gallium/auxiliary/util/
u_memory.h 48 #define MALLOC(_size) os_malloc(_size)
56 #define MALLOC_STRUCT(T) (struct T *) MALLOC(sizeof(struct T))
73 void *dup = MALLOC(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)); \
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
imports.h 31 * like malloc(), free(), printf(), getenv(), etc.
53 #define MALLOC(BYTES) malloc(BYTES)
57 #define MALLOC_STRUCT(T) (struct T *) malloc(sizeof(struct T))
  /external/mesa3d/src/mesa/main/
imports.h 31 * like malloc(), free(), printf(), getenv(), etc.
53 #define MALLOC(BYTES) malloc(BYTES)
57 #define MALLOC_STRUCT(T) (struct T *) malloc(sizeof(struct T))
  /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/chromium_org/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...]

Completed in 4088 milliseconds