| /external/valgrind/main/memcheck/ |
| mc_leakcheck.c | 64 // - heap-allocated blocks. A block is a mempool chunk or a malloc chunk 149 // ==20397== at 0x4C2694E: malloc (vg_replace_malloc.c:177) 155 // ==20397== at 0x4C2694E: malloc (vg_replace_malloc.c:177) 171 // ==20397== at 0x4C2694E: malloc (vg_replace_malloc.c:177) 184 // some special treatment because they can be within malloc'd blocks. 333 // mempool chunk, and every malloc region that *doesn't* contain a 340 // First we collect all the malloc chunks into an array and sort it. 351 // Then we build an array containing a Bool for each malloc chunk, 359 // malloc chunk containing the mempool chunk. 368 // Possibly invalidate the malloc holding the beginning of this chunk [all...] |
| /external/bison/lib/ |
| vasnprintf.c | 71 #include <stdlib.h> /* abort(), malloc(), realloc(), free() */ 336 mp_limb_t *limbs; /* Bits in little-endian order, allocated with malloc(). */ 369 dest->limbs = (mp_limb_t *) malloc (1); 379 dp = (mp_limb_t *) malloc (dlen * sizeof (mp_limb_t)); 482 roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t)); 615 tmp_roomptr = (mp_limb_t *) malloc (b_len * sizeof (mp_limb_t)); 852 char *c_ptr = (char *) malloc (xsum (c_len, extra_zeroes)); 909 m.limbs = (mp_limb_t *) malloc (m.nlimbs * sizeof (mp_limb_t)); [all...] |
| /external/libmtp/src/ |
| libmtp.c | 250 filemap = (filemap_t *)malloc(sizeof(filemap_t)); 421 propertymap = (propertymap_t *)malloc(sizeof(propertymap_t)); [all...] |
| /bionic/libc/upstream-netbsd/libc/regex/ |
| regcomp.c | 265 g = (struct re_guts *)malloc(sizeof(struct re_guts) + 270 p->strip = malloc(p->ssize * sizeof(sop)); 1252 p->g->sets = malloc(nc * sizeof(cset)); 1256 p->g->setbits = malloc(nbytes); [all...] |
| /external/libpng/contrib/gregbook/ |
| rpng2-x.c | 780 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); 786 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); [all...] |
| /hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/ |
| OMX_G722Encoder.c | 229 malloc (sizeof(G722ENC_COMPONENT_PRIVATE)); 250 pcm_ip = (OMX_AUDIO_PARAM_ADPCMTYPE *)malloc(sizeof(OMX_AUDIO_PARAM_ADPCMTYPE)); 263 pcm_op = (OMX_AUDIO_PARAM_ADPCMTYPE *)malloc(sizeof(OMX_AUDIO_PARAM_ADPCMTYPE)); 295 /* Malloc and Set pPriorityMgmt defaults */ 320 /*pComponentPrivate->pInputBufferList = malloc(sizeof(G722ENC_BUFFERLIST)); 346 pComponentPrivate->sDeviceString = malloc(100*sizeof(OMX_STRING)); 378 /*pComponentPrivate->pOutputBufferList = malloc(sizeof(G722ENC_BUFFERLIST)); 467 /*pPortDef_ip = (OMX_PARAM_PORTDEFINITIONTYPE *) malloc(sizeof(OMX_PARAM_PORTDEFINITIONTYPE)); 471 G722ENC_DPRINT("%d :: malloc failed\n",__LINE__); 508 malloc(sizeof(OMX_PARAM_PORTDEFINITIONTYPE)) [all...] |
| /external/javasqlite/src/main/native/ |
| sqlite_jni.c | 21 #define sqlite3_malloc malloc 366 dest->result = dest->tofree = malloc(strlen(utf) + 1); 371 dest->result = dest->tofree = malloc(utflen + 1); 396 dest->tofree = malloc(len + 1); 1089 h = malloc(sizeof (handle)); [all...] |
| /external/clang/tools/c-index-test/ |
| c-index-test.c | 131 = (struct CXUnsavedFile *)malloc(sizeof(struct CXUnsavedFile) * 167 contents = (char *)malloc(unsaved->Length + 1); 186 filename = (char *)malloc(filename_len + 1); [all...] |
| /external/valgrind/main/none/tests/ppc32/ |
| jm-insns.c | 170 #include "tests/malloc.h" // memalign16 [all...] |
| /bionic/libc/ |
| Android.mk | 665 # To enable malloc leak check for statically linked programs, add 778 # include malloc. It's useful in situations when the user wants 779 # to provide their own malloc implementation, or wants to 780 # explicitly disallow the use of the use of malloc,
|
| /dalvik/vm/compiler/ |
| Compiler.cpp | 448 pJitProfTable = (unsigned char *)malloc(JIT_PROF_SIZE); 534 malloc(sizeof(u4) * gDvmJit.signatureBreakpointSize);
|
| /external/blktrace/ |
| blktrace.c | 132 * of malloc/free thrashing, at the cost of more memory movements (potentially). 1121 tbp = malloc(sizeof(*tbp) + bufsize); 1225 dpp = malloc(sizeof(*dpp)); 1516 iop->obuf = malloc(size); [all...] |
| /external/chromium/webkit/glue/ |
| cpp_variant_unittest.cc | 62 return reinterpret_cast<NPObject*>(malloc(sizeof(NPObject))); 448 char* mem = static_cast<char*>(malloc(length + 1));
|
| /external/e2fsprogs/intl/ |
| plural.c | 89 /* If any of the argument could not be malloc'ed, just return NULL. */ 95 newp = (struct expression *) malloc (sizeof (*newp)); 340 /* The parser invokes alloca or malloc; define the necessary symbols. */ 364 # define YYSTACK_ALLOC malloc [all...] |
| /external/elfutils/libasm/ |
| asm_end.c | 171 symtab = malloc (data->d_size); 336 grpdata = data->d_buf = malloc (data->d_size);
|
| /external/elfutils/libdwfl/ |
| dwfl_segment_report_module.c | 298 notes = malloc (filesz); 327 build_id = malloc (nh->n_descsz);
|
| /external/grub/grub/ |
| asmstub.c | 145 scratch = malloc (0x100000 + EXTENDED_MEMSIZE + 15); 152 disks = malloc (NUM_DISKS * sizeof (*disks));
|
| /external/icu4c/test/cintltst/ |
| putiltst.c | 172 udataDir=(UChar*)malloc(sizeof(UChar) * (dataDirectoryLen + 1)); 180 charvalue=(char*)malloc(sizeof(char) * (u_strlen(udataDir) + 1));
|
| /external/icu4c/test/perf/convperf/ |
| convperf.h | 47 target=(UChar*)malloc((reqdLen) * U_SIZEOF_UCHAR*2); 93 target=(char*)malloc((reqdLen*2));
|
| /external/icu4c/test/perf/ubrkperf/ |
| ubrkperfold.cpp | 691 text = (UChar *)malloc(fileSize*sizeof(UChar)); 694 text = (UChar *)malloc(STARTSIZE*sizeof(UChar));
|
| /external/icu4c/test/perf/ustrperf/ |
| stringperf.h | 286 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen)); 303 wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1));
|
| /external/iproute2/misc/ |
| ifstat.c | 103 n = malloc(sizeof(*n)); 166 if ((n = malloc(sizeof(*n))) == NULL)
|
| /external/iptables/libiptc/ |
| libiptc.c | 165 struct chain_head *c = malloc(sizeof(*c)); 180 struct rule_head *r = malloc(sizeof(*r)+size); 511 h->chain_index = malloc(array_mem); [all...] |
| /external/jpeg/ |
| jdhuff.c | 833 index->scan = (huffman_scan_header*)malloc(index->scan_count 835 index->scan[0].offset = (huffman_offset_data**)malloc(cinfo->total_iMCU_rows
|
| /external/libppp/src/ |
| deflate.c | 493 state = (struct deflate_state *)malloc(sizeof(struct deflate_state)); 516 state = (struct deflate_state *)malloc(sizeof(struct deflate_state));
|