Searched refs:MALLOC (Results 1 - 25 of 33) sorted by relevance

12

/external/webkit/Source/JavaScriptCore/wtf/brew/
H A DSystemMallocBrew.h36 // 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.
/external/skia/src/ports/
H A DSkMemory_brew.cpp55 void* p = MALLOC(size | ALLOC_NO_ZMEM);
/external/srec/portable/include/
H A Dpmemory.h64 #define MALLOC(n, tag) malloc(n) macro
69 #define NEW(type, tag) ((type*)MALLOC(sizeof(type), tag))
101 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes, tag, L(__FILE__), __LINE__)) macro
106 #define MALLOC(nbBytes, tag) (pmalloc(nbBytes)) macro
138 #define NEW(type, tag) ((type*) MALLOC(sizeof(type), tag))
/external/srec/seti/setiUtils/src/
H A Dplatform_utils.c124 new_string = (char *)MALLOC(sizeof(char)*(strlen(in_string)+1), MTAG);
/external/icu4c/tools/genpname/
H A Dgenpname.cpp153 #define MALLOC(type, count) \ macro
604 valueEnumToName = MALLOC(EnumToOffset*, count);
605 valueNCEnumToName = MALLOC(NonContiguousEnumToOffset*, count);
606 valueEnumToName_size = MALLOC(int32_t, count);
607 valueEnumToName_offset = MALLOC(Offset, count);
608 valueNameToEnum = MALLOC(NameToEnum*, count);
609 valueNameToEnum_size = MALLOC(int32_t, count);
610 valueNameToEnum_offset = MALLOC(Offset, count);
641 nameGroupPool = MALLOC(Offset, nameGroupPool_count);
658 stringPool = MALLOC(cha
[all...]
/external/srec/shared/src/
H A DLStringImpl.c40 impl->value = MALLOC(sizeof(LCHAR) * INITIAL_SIZE, MTAG);
H A DSessionTypeImpl.c349 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(sizeo
[all...]
H A DCircularBuffer.c40 Interface = (CircularBuffer *) MALLOC(sizeof(CircularBuffer) + capacity, mtag);
H A DIntArrayListImpl.c47 impl->contents = MALLOC((INITIAL_SIZE + 1) * sizeof(int), MTAG);
H A DInt8ArrayListImpl.c48 impl->contents = MALLOC((INITIAL_SIZE + 1) * sizeof(asr_int8_t), MTAG);
H A DHashMapImpl.c90 LCHAR *clone = (LCHAR *) MALLOC(sizeof(LCHAR) * (LSTRLEN(key) + 1), MTAG);
/external/valgrind/tsan/
H A Dts_events.h71 MALLOC, // {tid, pc, addr, size} enumerator in enum:EventType
/external/srec/seti/sltsEngine/src/
H A DSWIslts.c81 *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/
H A DPANSIFileSystemImpl.c120 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);
H A DPFileImpl.c51 impl->filename = MALLOC(sizeof(LCHAR) * (LSTRLEN(filename) + 1), MTAG);
H A Dpstream.c114 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");
H A DPFileSystem.c89 value = MALLOC(sizeof(LCHAR) * (ending - beginning + 1 + 1), MTAG);
116 *tokenArray = MALLOC(*count * sizeof(LCHAR*), MTAG);
H A DArrayListImpl.c54 impl->contents = MALLOC(minCapacity * sizeof(void*), MTAG);
H A DPANSIFileImpl.c223 temp = MALLOC(*count * size, MTAG);
/external/srec/srec/EventLog/src/
H A Driff.c235 *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/
H A DNametagImpl.c150 impl->value = (LCHAR*) MALLOC(sizeof(LCHAR) * (len), MTAG);
219 impl->id = (LCHAR*) MALLOC(sizeof(LCHAR) * (LSTRLEN(id) + 1), MTAG);
/external/srec/srec/Semproc/src/
H A DSemanticProcessorImpl.c130 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"));
1009 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(p) + 1), L("semproc.meaning"));
1039 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(meaning) + 1), L("semproc.meaning"));
/external/valgrind/unittest/
H A Dposix_tests.cc253 int *MALLOC; member in namespace:test110
271 (*MALLOC)++;
289 MALLOC = (int*)malloc(sizeof(int));
306 ANNOTATE_EXPECT_RACE(MALLOC, "real race on a malloc-ed object");
325 free(MALLOC);
/external/expat/lib/
H A Dxmlparse.c551 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro
735 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE));
740 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char));
1512 ? (char *)MALLOC(len * 2)
1645 newBuf = (char *)MALLOC(bufferSize);
1818 return MALLOC(size);
2310 tag = (TAG *)MALLOC(sizeof(TAG));
2313 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE);
2918 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char));
3028 b = (BINDING *)MALLOC(sizeo
[all...]
/external/mesa3d/src/mesa/main/
H A Dimports.h53 #define MALLOC(BYTES) malloc(BYTES) macro

Completed in 286 milliseconds

12