/ndk/tests/device/test-stlport_shared-exception/jni/ |
new3.cpp | 5 extern "C" void * malloc (__SIZE_TYPE__); 16 return malloc (s); 27 return malloc (s);
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
new3.cpp | 5 extern "C" void * malloc (__SIZE_TYPE__); 16 return malloc (s); 27 return malloc (s);
|
/external/clang/test/Analysis/ |
malloc.cpp | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc -analyzer-store=region -verify %s 4 void *malloc(size_t); 11 malloc(4); 20 return malloc(10); 29 char *x = (char*)malloc(12); 39 char *x = (char*)malloc(12); 58 v.push_back(malloc(4)); 67 result.a = malloc(4);
|
malloc-annotations.c | 3 void *malloc(size_t); 7 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); 8 void __attribute((ownership_takes(malloc, 1))) my_free(void *); 10 __attribute((ownership_holds(malloc, 1, 2))); 11 void __attribute((ownership_returns(malloc, 1))) *my_malloc2(size_t); 12 void __attribute((ownership_holds(malloc, 1))) my_hold(void *); 17 void __attribute((ownership_holds(malloc, 1))) 18 __attribute((ownership_holds(malloc, 1))) 19 __attribute((ownership_holds(malloc, 3))) my_hold2(void *, void *, void *); 28 int *p = malloc(12) [all...] |
undef-buffers.c | 3 void *malloc(size_t); 30 char *buf = malloc(2); 38 char *buf = malloc(2);
|
coverage.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -analyzer-max-loop 4 -verify %s 5 void *malloc(size_t); 35 char *m = (char*)malloc(12); 41 char *m = (char*)malloc(12); 48 char *m = (char*)malloc(12); 54 char *m = (char*)malloc(12); 61 char *m = (char*)malloc(12); // no-warning 68 char *m = (char*)malloc(12); 80 char *m = (char*)malloc(12);
|
cxx-method-names.cpp | 7 void malloc(void *); // taint checker, malloc checker 8 void free(); // malloc checker, keychain checker 17 E.malloc(0);
|
malloc.c | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.deadcode.UnreachableCode,alpha.core.CastSize,unix.Malloc,debug.ExprInspection -analyzer-store=region -verify %s 8 void *malloc(size_t); 23 int *p = malloc(12); 28 int *p = malloc(12); 34 int *p = malloc(12); 40 int *p = malloc(12); 46 char *p = (char*)malloc(size); 54 int *q = malloc(12); 61 char *p = malloc(12); 71 char *p = malloc(12) [all...] |
/external/valgrind/main/memcheck/tests/s390x/ |
cu42.c | 47 do_cu42(malloc(1), 10, pattern2, 4); // complaint (2 bytes) 50 do_cu42(malloc(2), 10, pattern2, 4); // no complaint 53 do_cu42(malloc(1), 10, pattern4, 4); // complaint (4 bytes) 56 do_cu42(malloc(2), 10, pattern4, 4); // complaint (4 bytes) 59 do_cu42(malloc(3), 10, pattern4, 4); // complaint (4 bytes) 62 do_cu42(malloc(4), 10, pattern4, 4); // no complaint 71 input = malloc(10); 75 input = malloc(10); 80 input = malloc(10); 85 input = malloc(10) [all...] |
/external/valgrind/main/memcheck/tests/ |
realloc3.c | 5 but by the previous malloc() or whatever. While this is true in one 14 int* x = malloc(5); 15 int* y = malloc(10); 16 int* z = malloc(2);
|
badaddrvalue.c | 7 char* aa = malloc(8);
|
doublefree.c | 8 void* p = malloc(177);
|
malloc3.stdout.exp | 0 malloc(0) = 0x........ 2 malloc(-1) = 0x........
|
manuel2.c | 7 int *m = malloc(sizeof(int));
|
pipe.c | 11 int *filedes = malloc(2 * sizeof(int));
|
trivialleak.c | 8 leak = (void*)malloc( 1 );
|
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);
|
/bionic/libstdc++/src/ |
new.cpp | 8 void* p = malloc(size); 17 void* p = malloc(size); 36 return malloc(size); 41 return malloc(size);
|
/external/compiler-rt/SDKs/darwin/usr/include/ |
stdlib.h | 28 void *malloc(size_t);
|
/external/compiler-rt/lib/asan/lit_tests/ |
on_error_callback.cc | 12 char *x = (char*)malloc(10 * sizeof(char));
|
/external/valgrind/main/memcheck/tests/x86/ |
espindola2.c | 11 int* x = malloc(4);
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
scalar_exit_group.c | 6 long* px = malloc(sizeof(long));
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
realloc.c | 27 /* Infer the properties of the system's malloc function. 28 Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ 29 #if GNULIB_MALLOC_GNU && !defined malloc 33 /* Below we want to call the system's malloc and realloc. 35 declaration of malloc(), not of rpl_malloc(), and likewise for realloc. */ 36 #undef malloc macro 44 /* Below we want to call the system's malloc and realloc. 47 #undef malloc macro 52 use malloc. */ 76 result = malloc (n) [all...] |
/external/compiler-rt/lib/asan/lit_tests/Linux/ |
interception_malloc_test.cc | 16 extern "C" void *malloc(size_t size) { function 17 write(2, "malloc call\n", sizeof("malloc call\n") - 1); 22 char *x = (char*)malloc(10 * sizeof(char)); 25 // CHECK: malloc call
|
/external/compiler-rt/lib/tsan/lit_tests/ |
user_malloc.cc | 8 extern "C" void *malloc(unsigned long size) { function 11 printf("user malloc\n"); 20 volatile char *p = (char*)malloc(10); 25 // CHECK: user malloc
|