Searched refs:malloc (Results 126 - 150 of 3544) sorted by relevance

1234567891011>>

/external/clang/test/Analysis/
H A Dmalloc.cpp4 void *malloc(size_t);
11 malloc(4);
20 return malloc(10);
29 char *x = (char*)malloc(12);
35 char *x = (char*)malloc(12);
45 char *x = (char*)malloc(12);
64 v.push_back(malloc(4));
73 result.a = malloc(4);
H A Dmalloc-three-arg.c8 void *malloc(size_t, void *, int);
19 list = malloc(sizeof(*list) * 10, NULL, M_ZERO);
34 list = malloc(sizeof(*list) * 10, NULL, 0);
49 list = malloc(sizeof(*list) * 10, NULL, flags);
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dinterception_malloc_test.cc12 extern "C" void *malloc(size_t size) { function
13 write(2, "malloc call\n", sizeof("malloc call\n") - 1);
18 char *x = (char*)malloc(10 * sizeof(char));
21 // CHECK: malloc call
H A Dasan_preload_test-1.cc25 void *p = malloc(1);
H A Dasan_preload_test-2.cc21 void *p = malloc(1);
/external/compiler-rt/test/lsan/TestCases/
H A Ddo_leak_check_override.cc15 p = malloc(1337);
29 void *p = malloc(666);
H A Drecoverable_leak_check.cc16 p = malloc(23);
20 fprintf(stderr, "Test alloc: %p.\n", malloc(1337));
/external/compiler-rt/test/scudo/
H A Dalignment.cpp8 #include <malloc.h>
17 void *p = malloc(1U << 16);
/external/compiler-rt/test/tsan/Linux/
H A Duser_malloc.cc8 extern "C" void *malloc(unsigned long size) { function
11 fprintf(stderr, "user malloc\n");
20 volatile char *p = (char*)malloc(10);
25 // CHECK: user malloc
/external/valgrind/memcheck/tests/
H A Dcustom-overlap.c2 // with normal malloc() blocks in leak-checking -- if it happens, we ignore
3 // the malloc() block during the leak check.
13 // the malloc block.
14 x = malloc(1000);
21 // start of the malloc block.
22 x = malloc(1000);
H A Dmalloc1.c16 char* p = malloc(10);
21 p = malloc(10);
H A Dmemcmptest.c11 s1 = malloc(10); strcpy(s1,"fooble");
12 s2 = malloc(10); strcpy(s2,"fooble");
H A Dbig_blocks_freed_list.c18 semi_big = malloc (900000);
19 big = malloc (1000015);
27 small = malloc (10000);
32 with the malloc of small above. */
39 big = malloc (1000015);
51 other_small = malloc(10000);
H A Derror_counts.c43 leaked = malloc(77);
46 dubious = malloc(88);
49 reachable = malloc(99);
H A Dmetadata.c10 int* a = malloc(10 * sizeof(int));
11 int* b = malloc(10 * sizeof(int));
12 int* v = malloc(10 * sizeof(int));
/external/clang/test/Sema/
H A Dimplicit-builtin-decl.c5 int *ptr = malloc(sizeof(int) * 10); // expected-warning{{implicitly declaring library function 'malloc' with type}} \
6 // expected-note{{include the header <stdlib.h> or explicitly provide a declaration for 'malloc'}} \
7 // expected-note{{'malloc' is a builtin with type 'void *}}
16 void g(int malloc) { // okay: these aren't functions argument
21 int malloc(int); // expected-warning{{incompatible redeclaration of library function 'malloc'}}
/external/valgrind/massif/tests/
H A Dignored.c8 int* ignored_x1 = malloc(400);
9 int* ignored_x2 = malloc(400);
31 x = malloc(400);
/external/webrtc/webrtc/common_audio/resampler/
H A Dresampler.cc258 state1_ = malloc(8 * sizeof(int32_t));
262 state1_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
267 state1_ = malloc(8 * sizeof(int32_t));
270 state2_ = malloc(8 * sizeof(int32_t));
275 state1_ = malloc(8 * sizeof(int32_t));
278 state2_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
283 state1_ = malloc(8 * sizeof(int32_t));
286 state2_ = malloc(8 * sizeof(int32_t));
289 state3_ = malloc(sizeof(WebRtcSpl_State16khzTo48khz));
295 state1_ = malloc(sizeo
[all...]
/external/clang/test/CodeGen/
H A Dbounds-checking.c19 short *b = malloc(64);
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Datos-symbolizer-dyld-root-path.cc12 char *x = (char*)malloc(10 * sizeof(char));
H A Datos-symbolizer.cc9 char *x = (char*)malloc(10 * sizeof(char));
H A Ddladdr-demangling.cc13 char *x = (char*)malloc(n * sizeof(char));
H A Dmalloc_set_zone_name-mprotect.cc9 #include <malloc/malloc.h>
19 // (For the case malloc() returns memory chunks in descending order)
21 mem[i] = (char*)malloc(8 * i);
23 // Try to allocate a page-aligned malloc zone. Otherwise the mprotect() call
43 mem[i + kNumIter] = (char*)malloc(8 * i);
H A Dsuppressions-darwin.cc23 char *a = (char *)malloc(6);
H A Dsuppressions-sandbox.cc14 char *a = (char *)malloc(6);

Completed in 1437 milliseconds

1234567891011>>