/external/webkit/Source/JavaScriptCore/wtf/brew/ |
SystemMallocBrew.h | 36 // By default, memory allocated using MALLOC() is initialized 39 return MALLOC(n | ALLOC_NO_ZMEM); 44 return MALLOC(numElements * elementSize); 57 // Use MALLOC macro instead of the standard malloc function. 58 // Although RVCT provides malloc, we can't use it in BREW 60 #define malloc(n) mallocBrew(n) macro
|
/external/skia/legacy/src/ports/ |
SkMemory_brew.cpp | 46 void* p = MALLOC(size | ALLOC_NO_ZMEM);
|
/external/skia/src/ports/ |
SkMemory_brew.cpp | 46 void* p = MALLOC(size | ALLOC_NO_ZMEM);
|
/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_)); \
|
/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/seti/setiUtils/src/ |
platform_utils.c | 124 new_string = (char *)MALLOC(sizeof(char)*(strlen(in_string)+1), MTAG);
|
/external/srec/shared/src/ |
LStringImpl.c | 40 impl->value = MALLOC(sizeof(LCHAR) * INITIAL_SIZE, MTAG);
|
SessionTypeImpl.c | 349 clone = MALLOC(sizeof(int), MTAG); 367 clone = MALLOC(sizeof(asr_uint16_t), MTAG); 385 clone = MALLOC(sizeof(size_t), MTAG); 403 clone = MALLOC(sizeof(float), MTAG); 421 clone = MALLOC(sizeof(ESR_BOOL), MTAG); 439 clone = MALLOC(sizeof(LCHAR) * (LSTRLEN(value) + 1), MTAG); 610 value = MALLOC(sizeof(LCHAR) * (strlen(*argv) + 1), MTAG); 643 value = MALLOC(sizeof(LCHAR) + 1, MTAG); 649 key = MALLOC(sizeof(LCHAR) * (LSTRLEN("cmdline.") + LSTRLEN(*argv) + 1), MTAG); 702 newValue = MALLOC(sizeof(long), MTAG) [all...] |
CircularBuffer.c | 40 Interface = (CircularBuffer *) MALLOC(sizeof(CircularBuffer) + capacity, mtag);
|
IntArrayListImpl.c | 47 impl->contents = MALLOC((INITIAL_SIZE + 1) * sizeof(int), MTAG);
|
/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);
|
/external/srec/seti/sltsEngine/src/ |
SWIslts.c | 81 *ppLtsWrap = MALLOC(sizeof(SWIsltsWrapper), MTAG); 222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG); 316 pTranscription->pBuffer = MALLOC(MAX_PHONE_LEN * (num_phones + 1+1), MTAG);
|
/external/srec/portable/src/ |
PANSIFileSystemImpl.c | 120 key = MALLOC(sizeof(LCHAR) * len, MTAG); 132 value = MALLOC(sizeof(LCHAR) * (LSTRLEN(realPath) + 1), MTAG); 296 key = MALLOC(sizeof(LCHAR), MTAG); 304 value = MALLOC(sizeof(LCHAR), MTAG);
|
PFileImpl.c | 51 impl->filename = MALLOC(sizeof(LCHAR) * (LSTRLEN(filename) + 1), MTAG);
|
pstream.c | 114 fb = (FileBufferFrame *)MALLOC(sizeof(FileBufferFrame), "FileBufferFrame"); 128 if ((fb->buffer = (unsigned char *)MALLOC(size, "FileBufferFrame Buffer")) == NULL) 275 PortFile = (PORT_FILE)MALLOC(sizeof(PORT_FILE_HANDLE), "PortFile");
|
/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)); \
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 142 p = MALLOC(1, struct open_file); 452 /* Panic on failing malloc */ 484 /* Return a malloc()'d copy of a string */ 489 char *ret = MALLOC(strlen(str)+1, char); 493 /* Return a malloc()'d copy of a block of memory */ 503 /* Release a malloc'd block of memory */ 515 nor do we care, as long as it doesn't mind being aligned by malloc. */ 529 struct buffer *b = MALLOC(1, struct buffer); 530 b->b = MALLOC(MIN_ALLOCATE, char);
|
regexp.c | 94 new_regex->pattern.fastmap = malloc (1 << (sizeof (char) * 8)); 185 { /* No. So allocate them with malloc. */ 186 regs->start = MALLOC (need_regs, regoff_t); 187 regs->end = MALLOC (need_regs, regoff_t);
|
sed.c | 270 in_place_extension = MALLOC (strlen(optarg) + 2, char);
|
/external/srec/srec/EventLog/src/ |
riff.c | 235 *samples = MALLOC(*length * sizeof(short), MTAG); 268 *samples = MALLOC(*length * sizeof(short), MTAG); 293 samples = MALLOC(*length * sizeof(short), MTAG); 478 swichunk->segs.tuples = MALLOC(sub_length, MTAG); 582 wf = MALLOC(sizeof(WaveFormat), MTAG); 584 wf = MALLOC(chunk.length, MTAG); 606 cb = MALLOC(chunk.length, MTAG); /* waveform */ 709 wf = MALLOC(sizeof(WaveFormat), MTAG); 711 wf = MALLOC(chunk.length, MTAG);
|
/external/srec/srec/Nametag/src/ |
NametagImpl.c | 150 impl->value = (LCHAR*) MALLOC(sizeof(LCHAR) * (len), MTAG); 219 impl->id = (LCHAR*) MALLOC(sizeof(LCHAR) * (LSTRLEN(id) + 1), MTAG);
|
/external/srec/srec/Semproc/src/ |
SemanticProcessorImpl.c | 130 impl->acc_scripts = MALLOC(sizeof(LCHAR) * MAX_SCRIPT_LEN, NULL); 693 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(p) + 1), L("semproc.meaning")); 744 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(meaning) + 1), L("semproc.meaning")); [all...] |
/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);
|