/external/srec/portable/include/ |
D | pmemory.h | 64 #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/icu4c/tools/genpname/ |
D | genpname.cpp | 152 #define MALLOC(type, count) \ macro 603 valueEnumToName = MALLOC(EnumToOffset*, count); in buildValues() 604 valueNCEnumToName = MALLOC(NonContiguousEnumToOffset*, count); in buildValues() 605 valueEnumToName_size = MALLOC(int32_t, count); in buildValues() 606 valueEnumToName_offset = MALLOC(Offset, count); in buildValues() 607 valueNameToEnum = MALLOC(NameToEnum*, count); in buildValues() 608 valueNameToEnum_size = MALLOC(int32_t, count); in buildValues() 609 valueNameToEnum_offset = MALLOC(Offset, count); in buildValues() 640 nameGroupPool = MALLOC(Offset, nameGroupPool_count); in buildStringPool() 657 stringPool = MALLOC(char, stringPool_size); in buildStringPool() [all …]
|
/external/srec/srec/EventLog/src/ |
D | riff.c | 235 *samples = MALLOC(*length * sizeof(short), MTAG); in readPCMWave() 268 *samples = MALLOC(*length * sizeof(short), MTAG); in readMulawWave() 293 samples = MALLOC(*length * sizeof(short), MTAG); in readAlawWave() 478 swichunk->segs.tuples = MALLOC(sub_length, MTAG); in readSwiChunk() 582 wf = MALLOC(sizeof(WaveFormat), MTAG); in riffReadWave2L16() 584 wf = MALLOC(chunk.length, MTAG); in riffReadWave2L16() 606 cb = MALLOC(chunk.length, MTAG); /* waveform */ in riffReadWave2L16() 709 wf = MALLOC(sizeof(WaveFormat), MTAG); in readRiff2Buf() 711 wf = MALLOC(chunk.length, MTAG); in readRiff2Buf()
|
/external/elfcopy/ |
D | rangesort.c | 17 range_list_t *ranges = (range_list_t *)MALLOC(sizeof(range_list_t)); in init_range_list() 19 ranges->array = (range_t *)MALLOC(PARALLEL_ARRAY_SIZE*sizeof(range_t)); in init_range_list() 269 (contiguous_range_info_t *)MALLOC(sizeof(contiguous_range_info_t)); in get_contiguous_ranges() 271 user->ranges = (range_t *)MALLOC(user->num_ranges * sizeof(range_t)); in get_contiguous_ranges()
|
D | debug.h | 45 static inline void *MALLOC(unsigned int size) { in MALLOC() function
|
/external/srec/portable/src/ |
D | PANSIFileSystemImpl.c | 120 key = MALLOC(sizeof(LCHAR) * len, MTAG); in PANSIFileSystemAddPathImpl() 132 value = MALLOC(sizeof(LCHAR) * (LSTRLEN(realPath) + 1), MTAG); in PANSIFileSystemAddPathImpl() 296 key = MALLOC(sizeof(LCHAR), MTAG); in PANSIFileSystemSetDefault() 304 value = MALLOC(sizeof(LCHAR), MTAG); in PANSIFileSystemSetDefault()
|
D | pstream.c | 114 fb = (FileBufferFrame *)MALLOC(sizeof(FileBufferFrame), "FileBufferFrame"); in CreateFileBufferFrame() 128 if ((fb->buffer = (unsigned char *)MALLOC(size, "FileBufferFrame Buffer")) == NULL) in CreateFileBufferFrame() 275 PortFile = (PORT_FILE)MALLOC(sizeof(PORT_FILE_HANDLE), "PortFile"); in PortFopen()
|
D | PFileImpl.c | 51 impl->filename = MALLOC(sizeof(LCHAR) * (LSTRLEN(filename) + 1), MTAG); in PFileCreateImpl()
|
D | PFileSystem.c | 89 value = MALLOC(sizeof(LCHAR) * (ending - beginning + 1 + 1), MTAG); in PFileSystemLinearToPathTokens() 116 *tokenArray = MALLOC(*count * sizeof(LCHAR*), MTAG); in PFileSystemLinearToPathTokens()
|
D | ArrayListImpl.c | 54 impl->contents = MALLOC(minCapacity * sizeof(void*), MTAG); in ArrayListCreateWithCapacity()
|
/external/srec/shared/src/ |
D | SessionTypeImpl.c | 349 clone = MALLOC(sizeof(int), MTAG); in ESR_SessionTypeSetIntImpl() 367 clone = MALLOC(sizeof(asr_uint16_t), MTAG); in ESR_SessionTypeSetUint16_tImpl() 385 clone = MALLOC(sizeof(size_t), MTAG); in ESR_SessionTypeSetSize_tImpl() 403 clone = MALLOC(sizeof(float), MTAG); in ESR_SessionTypeSetFloatImpl() 421 clone = MALLOC(sizeof(ESR_BOOL), MTAG); in ESR_SessionTypeSetBoolImpl() 439 clone = MALLOC(sizeof(LCHAR) * (LSTRLEN(value) + 1), MTAG); in ESR_SessionTypeSetLCHARImpl() 610 value = MALLOC(sizeof(LCHAR) * (strlen(*argv) + 1), MTAG); in ESR_SessionTypeImportCommandLineImpl() 643 value = MALLOC(sizeof(LCHAR) + 1, MTAG); in ESR_SessionTypeImportCommandLineImpl() 649 key = MALLOC(sizeof(LCHAR) * (LSTRLEN("cmdline.") + LSTRLEN(*argv) + 1), MTAG); in ESR_SessionTypeImportCommandLineImpl() 702 newValue = MALLOC(sizeof(long), MTAG); in ESR_SessionTypeConvertToIntImpl() [all …]
|
D | LStringImpl.c | 40 impl->value = MALLOC(sizeof(LCHAR) * INITIAL_SIZE, MTAG); in LStringCreate()
|
D | CircularBuffer.c | 40 Interface = (CircularBuffer *) MALLOC(sizeof(CircularBuffer) + capacity, mtag); in CircularBufferCreate()
|
D | IntArrayListImpl.c | 47 impl->contents = MALLOC((INITIAL_SIZE + 1) * sizeof(int), MTAG); in IntArrayListCreate()
|
D | Int8ArrayListImpl.c | 48 impl->contents = MALLOC((INITIAL_SIZE + 1) * sizeof(asr_int8_t), MTAG); in Int8ArrayListCreate()
|
D | HashMapImpl.c | 90 LCHAR *clone = (LCHAR *) MALLOC(sizeof(LCHAR) * (LSTRLEN(key) + 1), MTAG); in HashMap_Put()
|
/external/srec/seti/sltsEngine/src/ |
D | SWIslts.c | 81 *ppLtsWrap = MALLOC(sizeof(SWIsltsWrapper), MTAG); in SWIsltsGetWrapper() 222 new_text = MALLOC((strlen(text)+1)*sizeof(char), MTAG); in SWIsltsTextToPhone() 316 pTranscription->pBuffer = MALLOC(MAX_PHONE_LEN * (num_phones + 1+1), MTAG); in SWIsltsG2PGetWordTranscriptions()
|
/external/srec/srec/Nametag/src/ |
D | NametagImpl.c | 150 impl->value = (LCHAR*) MALLOC(sizeof(LCHAR) * (len), MTAG); in SR_NametagCreateFromValue() 219 impl->id = (LCHAR*) MALLOC(sizeof(LCHAR) * (LSTRLEN(id) + 1), MTAG); in SR_Nametag_SetID()
|
/external/srec/seti/setiUtils/src/ |
D | platform_utils.c | 124 new_string = (char *)MALLOC(sizeof(char)*(strlen(in_string)+1), MTAG); in strdup()
|
/external/srec/srec/Semproc/src/ |
D | SemanticProcessorImpl.c | 130 impl->acc_scripts = MALLOC(sizeof(LCHAR) * MAX_SCRIPT_LEN, NULL); in SR_SemanticProcessorCreate() 693 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(p) + 1), L("semproc.meaning")); in SR_SemanticProcessor_CheckParseByWordID() 744 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(meaning) + 1), L("semproc.meaning")); in SR_SemanticProcessor_CheckParseByWordID() 1009 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(p) + 1), L("semproc.meaning")); in SR_SemanticProcessor_CheckParse() 1039 dst = MALLOC(sizeof(LCHAR) * (LSTRLEN(meaning) + 1), L("semproc.meaning")); in SR_SemanticProcessor_CheckParse()
|
/external/tesseract/liblept/ |
D | fpix1.c | 263 if ((data = (l_float32 *)MALLOC(bytes)) == NULL) in fpixResizeImageData() 670 if ((data = (l_float64 *)MALLOC(bytes)) == NULL) in dpixResizeImageData()
|
D | environ.h | 182 #define MALLOC(blocksize) malloc(blocksize) macro
|
/external/expat/lib/ |
D | xmlparse.c | 547 #define MALLOC(s) (parser->m_mem.malloc_fcn((s))) macro 729 atts = (ATTRIBUTE *)MALLOC(attsSize * sizeof(ATTRIBUTE)); in parserCreate() 734 dataBuf = (XML_Char *)MALLOC(INIT_DATA_BUF_SIZE * sizeof(XML_Char)); in parserCreate() 1506 ? (char *)MALLOC(len * 2) in XML_Parse() 1639 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer() 1812 return MALLOC(size); in XML_MemMalloc() 2301 tag = (TAG *)MALLOC(sizeof(TAG)); in doContent() 2304 tag->buf = (char *)MALLOC(INIT_TAG_BUF_SIZE); in doContent() 2906 uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char)); in storeAtts() 3012 b = (BINDING *)MALLOC(sizeof(BINDING)); in addBinding() [all …]
|
/external/tesseract/include/ |
D | environ.h | 185 #define MALLOC(blocksize) malloc(blocksize) macro
|
/external/webkit/V8Binding/v8/src/third_party/dtoa/ |
D | dtoa.c | 185 #ifdef MALLOC 187 extern char *MALLOC(); 189 extern void *MALLOC(size_t); 192 #define MALLOC malloc macro 510 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong)); 519 rv = (Bigint*)MALLOC(len*sizeof(double));
|