| /external/valgrind/main/massif/tests/ |
| long-time.c | 12 x1 = malloc( 800 * 1000); 13 x2 = malloc(1100 * 1000); 15 x3 = malloc(1200 * 1000); 18 x4 = malloc( 900 * 1000);
|
| thresholds.c | 7 // Also, it's deliberate that the 'malloc(2000)' and 'my_malloc1(500)' calls 23 malloc(n); 28 malloc(n); 33 malloc(n); 55 malloc(16000);
|
| culling2.c | 7 malloc(400*i); // Divisible by 16 -- no slop.
|
| /external/valgrind/main/memcheck/tests/ |
| nanoleak2.c | 20 a = malloc(1000); // Becomes a reachable leak.
|
| nanoleak_supp.c | 6 volatile int* a = malloc(1000);
|
| malloc_free_fill.stderr.exp | 1 test simple malloc/free: 2 PASSED: malloc-filled 6 PASSED: malloc-filled 8 PASSED: malloc-filled 11 PASSED: malloc-filled
|
| long-supps.c | 12 int* x = malloc(sizeof(int));
|
| fprw.c | 11 double* dp = malloc(sizeof(double)); 12 float* fp = malloc(sizeof(float)); 23 ip = malloc(sizeof(int));
|
| mismatches.cpp | 5 int* fpointer = (int*)malloc(10); 7 fpointer = (int*)malloc(10); 9 fpointer = (int*)malloc(10);
|
| static_malloc.c | 5 void* malloc(size_t i) { function 16 p = malloc(10); 17 p = malloc(123);
|
| /external/valgrind/main/tests/ |
| malloc.h | 1 // Replacement for malloc.h which factors out platform differences. 5 # include <malloc/malloc.h> 7 # include <malloc.h> 18 // Darwin lacks memalign, but its malloc is always 16-aligned anyway. 19 x = malloc(szB);
|
| /ndk/sources/host-tools/sed-4.2.1/lib/ |
| malloc.c | 3 /* malloc() function that is glibc compatible. 24 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ 25 #ifdef malloc 27 # undef malloc macro 35 /* Call the system's malloc below. */ 36 #undef malloc macro 51 result = malloc (n);
|
| /external/valgrind/main/memcheck/tests/s390x/ |
| cu21.c | 62 do_cu21(malloc(1), 10, pattern2, 2); // complaint (2 bytes) 65 do_cu21(malloc(2), 10, pattern2, 2); // no complaint 68 do_cu21(malloc(1), 10, pattern3, 2); // 2 complaints (3 = 2+1) 71 do_cu21(malloc(2), 10, pattern3, 2); // complaint (1 byte) 74 do_cu21(malloc(3), 10, pattern3, 2); // no complaint 77 do_cu21(malloc(1), 10, pattern4, 4); // complaint (4 bytes) 80 do_cu21(malloc(2), 10, pattern4, 4); // complaint (4 bytes) 83 do_cu21(malloc(3), 10, pattern4, 4); // complaint (4 bytes) 86 do_cu21(malloc(4), 10, pattern4, 4); // no complaint 91 uint8_t *input = malloc(10) [all...] |
| /external/clang/test/Analysis/ |
| malloc-sizeof.c | 5 void *malloc(size_t size); 14 int *ip1 = malloc(sizeof(1)); 15 int *ip2 = malloc(4 * sizeof(int)); 17 long *lp1 = malloc(sizeof(short)); // expected-warning {{Result of 'malloc' is converted to a pointer of type 'long', which is incompatible with sizeof operand type 'short'}} 18 long *lp2 = malloc(5 * sizeof(double)); // expected-warning {{Result of 'malloc' is converted to a pointer of type 'long', which is incompatible with sizeof operand type 'double'}} 19 char *cp3 = malloc(5 * sizeof(char) + 2); // no warning 20 unsigned char *buf = malloc(readSize + sizeof(unsignedInt)); // no warning 33 const char **x = (const char **)malloc(1 * sizeof(char *)); // no-warnin [all...] |
| redefined_system.c | 7 char malloc(); 16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
|
| malloc-plist.c | 2 // RUN: %clang_cc1 -analyze -analyzer-checker=unix.Malloc -analyzer-output=plist -o %t %s 6 void *malloc(size_t); 12 int *p = malloc(12); 20 A = malloc(2*sizeof(int*)); 25 char * buf = malloc(100); 36 void *x = malloc(100); 54 *x = malloc(100); 75 char *buf = (char *)malloc(100); 82 return (char*)malloc(12); 93 p = (int*)malloc(12) [all...] |
| /external/compiler-rt/lib/asan/lit_tests/ |
| strncpy-overflow.cc | 21 char *hello = (char*)malloc(6); 23 char *short_buffer = (char*)malloc(9); 32 // CHECK-Linux: {{ #0 0x.* in .*malloc}}
|
| partial_right.cc | 12 volatile int *x = (int*)malloc(2*sizeof(int) + 2);
|
| /external/valgrind/main/memcheck/tests/x86-linux/ |
| scalar_supp.c | 8 int* pi = malloc(sizeof(int)); 11 char** pc = malloc(sizeof(char*));
|
| /ndk/tests/device/test-stlport_shared-exception/jni/ |
| new6.cpp | 6 extern "C" void *malloc (size_t); 15 return malloc (size);
|
| /ndk/tests/device/test-stlport_static-exception/jni/ |
| new6.cpp | 6 extern "C" void *malloc (size_t); 15 return malloc (size);
|
| /external/compiler-rt/lib/msan/lit_tests/ |
| heap-origin.cc | 21 char *volatile x = (char*)malloc(5 * sizeof(char)); 28 // CHECK-ORIGINS: {{#0 0x.* in .*malloc}}
|
| /external/bison/lib/ |
| malloc.c | 0 /* malloc() function that is glibc compatible. 22 /* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ 23 #ifdef malloc 25 # undef malloc macro 26 /* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ 48 result = malloc (n);
|
| /external/clang/test/Analysis/diagnostics/ |
| false-positive-suppression.c | 7 void *malloc(size_t); 10 int *p = malloc(12); 19 int *p = malloc(12);
|
| /external/libgsm/src/ |
| gsm_create.c | 22 # include <malloc.h> 24 extern char * malloc(); 38 r = (gsm)malloc(sizeof(struct gsm_state));
|