/external/clang/test/Analysis/ |
H A D | malloc.cpp | 4 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 D | malloc-three-arg.c | 8 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 D | interception_malloc_test.cc | 12 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 D | asan_preload_test-1.cc | 25 void *p = malloc(1);
|
H A D | asan_preload_test-2.cc | 21 void *p = malloc(1);
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | do_leak_check_override.cc | 15 p = malloc(1337); 29 void *p = malloc(666);
|
H A D | recoverable_leak_check.cc | 16 p = malloc(23); 20 fprintf(stderr, "Test alloc: %p.\n", malloc(1337));
|
/external/compiler-rt/test/scudo/ |
H A D | alignment.cpp | 8 #include <malloc.h> 17 void *p = malloc(1U << 16);
|
/external/compiler-rt/test/tsan/Linux/ |
H A D | user_malloc.cc | 8 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 D | custom-overlap.c | 2 // 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 D | malloc1.c | 16 char* p = malloc(10); 21 p = malloc(10);
|
H A D | memcmptest.c | 11 s1 = malloc(10); strcpy(s1,"fooble"); 12 s2 = malloc(10); strcpy(s2,"fooble");
|
H A D | big_blocks_freed_list.c | 18 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 D | error_counts.c | 43 leaked = malloc(77); 46 dubious = malloc(88); 49 reachable = malloc(99);
|
H A D | metadata.c | 10 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 D | implicit-builtin-decl.c | 5 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 D | ignored.c | 8 int* ignored_x1 = malloc(400); 9 int* ignored_x2 = malloc(400); 31 x = malloc(400);
|
/external/webrtc/webrtc/common_audio/resampler/ |
H A D | resampler.cc | 258 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 D | bounds-checking.c | 19 short *b = malloc(64);
|
/external/compiler-rt/test/asan/TestCases/Darwin/ |
H A D | atos-symbolizer-dyld-root-path.cc | 12 char *x = (char*)malloc(10 * sizeof(char));
|
H A D | atos-symbolizer.cc | 9 char *x = (char*)malloc(10 * sizeof(char));
|
H A D | dladdr-demangling.cc | 13 char *x = (char*)malloc(n * sizeof(char));
|
H A D | malloc_set_zone_name-mprotect.cc | 9 #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 D | suppressions-darwin.cc | 23 char *a = (char *)malloc(6);
|
H A D | suppressions-sandbox.cc | 14 char *a = (char *)malloc(6);
|