Searched refs:malloc (Results 51 - 75 of 2724) sorted by relevance
1234567891011>>
/external/valgrind/massif/tests/ |
H A D | big-alloc.c | 12 malloc(10 * 1024 * 1024);
|
H A D | culling1.c | 7 malloc(16); // divisible by 16 -- no slop
|
H A D | long-time.c | 12 x1 = malloc( 800 * 1000); 13 x2 = malloc(1100 * 1000); 15 x3 = malloc(1200 * 1000); 18 x4 = malloc( 900 * 1000);
|
H A D | 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);
|
H A D | culling2.c | 7 malloc(400*i); // Divisible by 16 -- no slop.
|
/external/valgrind/memcheck/tests/ |
H A D | bug155125.c | 4 { malloc(-10); }
|
H A D | nanoleak2.c | 20 a = malloc(1000); // Becomes a reachable leak.
|
H A D | nanoleak_supp.c | 6 volatile int* a = malloc(1000);
|
H A D | 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
|
H A D | long-supps.c | 12 int* x = malloc(sizeof(int));
|
/external/valgrind/memcheck/tests/s390x/ |
H A D | 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(1 [all...] |
/external/clang/test/Analysis/ |
H A D | 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( [all...] |
H A D | malloc-overflow2.c | 4 extern void *malloc(size_t); 7 void *malloc(unsigned long s); 18 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); // expected-warning {{the computation of the size of the memory allocation may overflow}} 22 int *p = malloc(sizeof(int) * n); // no-warning 30 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); // no-warning 35 return malloc(n * 0 * sizeof(int)); // expected-warning {{Call to 'malloc' has an allocation size of 0 bytes}}
|
H A D | redefined_system.c | 7 char malloc(); 16 return memmove() + malloc() + system() + stdin() + memccpy() + free() + strdup() + atoi();
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | strncpy-overflow.cc | 13 char *hello = (char*)malloc(6); 15 char *short_buffer = (char*)malloc(9); 24 // CHECK-Linux: {{ #0 0x.* in .*malloc}}
|
H A D | partial_right.cc | 8 volatile int *x = (int*)malloc(2*sizeof(int) + 2);
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | disabler.cc | 18 *p = malloc(666); 19 void *q = malloc(1337);
|
H A D | suppressions_default.cc | 16 void *p = malloc(666); 22 void *q = malloc(1337);
|
H A D | suppressions_file.cc | 18 void *p = malloc(666); 24 void *q = malloc(1337);
|
H A D | large_allocation_leak.cc | 11 void *large_alloc = malloc(33554432);
|
/external/valgrind/memcheck/tests/x86-linux/ |
H A D | scalar_supp.c | 8 int* pi = malloc(sizeof(int)); 11 char** pc = malloc(sizeof(char*));
|
/external/curl/tests/unit/ |
H A D | unit1330.c | 38 char *ptr = malloc(1330);
|
/external/bison/lib/ |
H A D | 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/ |
H A D | false-positive-suppression.c | 7 void *malloc(size_t); 10 int *p = malloc(12); 19 int *p = malloc(12);
|
/external/compiler-rt/test/asan/TestCases/Darwin/ |
H A D | malloc_zone-protected.cc | 2 #include <malloc/malloc.h> 16 zone->malloc = pwn;
|
Completed in 1878 milliseconds
1234567891011>>