Searched refs:malloc (Results 126 - 150 of 2881) sorted by last modified time

1234567891011>>

/external/webp/src/dsp/
H A Dcpu-features.c132 result = malloc(len+1);
/external/webp/src/utils/
H A Dutils.c28 // * if PRINT_MEM_TRAFFIC is defined, all the details of the malloc/free cycles
31 // $MALLOC_FAIL_AT is used to simulate a memory error when calloc or malloc
74 fprintf(stderr, "num calls to: malloc = %4d\n", num_malloc_calls);
115 MemBlock* const b = (MemBlock*)malloc(sizeof(*b));
188 ptr = malloc((size_t)(nmemb * size));
/external/valgrind/main/VEX/pub/
H A Dlibvex.h500 return malloc(nbytes);
/external/valgrind/main/VEX/switchback/
H A Dswitchback.c133 return (HWord)malloc(arg2);
H A Dtest_bzip2.c5272 bzf = malloc ( sizeof(bzFile) );
5445 bzf = malloc ( sizeof(bzFile) );
/external/valgrind/main/VEX/test/
H A Dfldenv.c18 unsigned short* buf = malloc(14*sizeof(short));
H A Dfpconst.c59 UChar* b = malloc(8);
H A Dfpspeed.c11 double* a1 = malloc(1000 * sizeof(double));
12 double* a2 = malloc(1000 * sizeof(double));
H A Dfrstor.c66 unsigned short* buf1 = malloc(54*sizeof(short));
67 unsigned short* buf2 = malloc(54*sizeof(short));
H A Dfsave.c56 unsigned char* buf = malloc(108);
H A Dfstenv.c13 unsigned int* buf = malloc(7*sizeof(int));
H A Dfxsave.c4 #include <malloc.h>
/external/valgrind/main/VEX/unused/
H A Ddispatch.c52 transtab[n_transtab_used].trans = malloc(trans_size);
H A Dlinker.c11 #include <malloc.h>
84 /* ptr to malloc'd lump of memory holding the obj file */
170 = malloc(sizeof(ProddableBlock));
221 StringMap* sm = malloc(sizeof(StringMap));
224 sm->maplets = malloc(10 * sizeof(Maplet));
244 mp2 = malloc(sm->sm_size * sizeof(Maplet));
1045 oc->symbols = malloc(oc->n_symbols * sizeof(char*));
1187 oc = malloc(sizeof(ObjectCode));
1195 oc->fileName = malloc( strlen(path)+1 );
1399 sim_stack = malloc(1000
[all...]
/external/valgrind/main/VEX/useful/
H A Dfp_80_64.c6 #include <malloc.h>
549 UChar* f64h = malloc(8);
550 UChar* f64s = malloc(8);
551 UChar* f80 = malloc(10);
591 UChar* f80h = malloc(10);
592 UChar* f80s = malloc(10);
593 UChar* f64 = malloc(8);
H A Dsmchash.c36 GuestBytes* gb = malloc(sizeof(GuestBytes));
52 gb->bytes = malloc( gb->nbytes + nToAlloc);
266 UInt* hashes = malloc( nHashes * sizeof(UInt) );
H A Dx87_to_vex_and_back.c152 UChar* x87_state0 = malloc(sizeof(Fpu_State));
153 UChar* x87_state1 = malloc(sizeof(Fpu_State));
154 UChar* vex_state = malloc(1000);
/external/valgrind/main/auxprogs/
H A Dppcfround.c4 #include <malloc.h>
377 double* args = malloc(nargs * sizeof(double));
378 double* macArgs = malloc(nMacArgs * sizeof(double));
H A Dvalgrind-di-server.c806 UChar* unzBuf = malloc(req_len);
825 UChar* zBuf = malloc(zLenMax);
/external/valgrind/main/cachegrind/
H A Dcg_main.c1847 VG_(malloc), "cg.main.cpci.1",
1852 VG_(malloc), "cg.main.cpci.2",
1857 VG_(malloc), "cg.main.cpci.3",
H A Dcg_merge.c244 FileFn* ffn = malloc(sizeof(FileFn));
274 Counts* cts = malloc(sizeof(Counts));
279 cts->counts = malloc(n_counts * sizeof(ULong));
295 Counts* cts = malloc(sizeof(Counts));
300 cts->counts = malloc(n_counts * sizeof(ULong));
341 CacheProfFile* cpf = malloc(sizeof(CacheProfFile));
559 topKey = malloc(sizeof(FileFn));
574 countsMap = newFM( malloc, free, cmp_unboxed_UWord );
633 cpf->desc_lines = malloc( (1+n_tmp_desclines) * sizeof(char*) );
675 cpf->outerMap = newFM ( malloc, fre
[all...]
H A Dcg_sim.c75 c->tags = VG_(malloc)("cg.sim.ci.1",
/external/valgrind/main/callgrind/
H A Ddebug.c438 void* CLG_(malloc)(const HChar* cc, UWord s, const HChar* f) function
441 return VG_(malloc)(cc,s);
H A Dglobal.h885 void* CLG_(malloc)(const HChar* cc, UWord s, const HChar* f);
888 #define CLG_MALLOC(_cc,x) CLG_(malloc)((_cc),x,__FUNCTION__)
891 #define CLG_MALLOC(_cc,x) VG_(malloc)((_cc),x)
/external/valgrind/main/callgrind/tests/
H A Dsimwork.c54 a = (double*) malloc(SIZE * sizeof(double));
55 b = (double*) malloc(SIZE * sizeof(double));
56 c = (double*) malloc(SIZE * sizeof(double));

Completed in 155 milliseconds

1234567891011>>