/external/valgrind/main/massif/tests/ |
insig.c | 8 malloc(16000); // all sizes are divisible by 16 -- no slop 9 malloc(240); 10 malloc(192); 11 malloc(16); 12 malloc(16); 13 malloc(16); 14 malloc(16); 15 malloc(16); 16 malloc(16); 17 malloc(16) [all...] |
zero.c | 8 free(malloc(0)); 9 free(malloc(0)); 10 free(malloc(0)); 11 free(malloc(0)); 12 free(malloc(0)); 13 free(malloc(0)); 14 free(malloc(0)); 15 free(malloc(0)); 16 free(malloc(0)); 17 free(malloc(0)) [all...] |
long-time.c | 12 x1 = malloc( 800 * 1000); 13 x2 = malloc(1100 * 1000); 15 x3 = malloc(1200 * 1000); 18 x4 = malloc( 900 * 1000);
|
/external/chromium_org/tools/deep_memory_profiler/ |
templates.json | 3 "mmap-tcmalloc": ["malloc", "component", {}] 6 "mmap-tcmalloc": ["malloc", "component", { 7 "webkit": ["malloc", "webkit-details", {}], 8 "skia": ["malloc", "skia-details", {}]
|
/external/clang/test/SemaCXX/Inputs/ |
malloc.h | 2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
|
/external/valgrind/main/memcheck/tests/ |
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
|
malloc3.stderr.exp | 1 Warning: silly arg (-1) to malloc()
|
nanoleak_supp.c | 6 volatile int* a = malloc(1000);
|
static_malloc.c | 5 void* malloc(size_t i) { function 16 p = malloc(10); 17 p = malloc(123);
|
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);
|
/external/clang/test/CodeGen/ |
merge-attrs.c | 3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__)); 6 malloc(1); 9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
|
2009-03-01-MallocNoAlias.c | 3 void * __attribute__ ((malloc)) foo (void) { return 0; }
|
/external/clang/test/SemaCXX/ |
no-implicit-builtin-decls.cpp | 4 void *p = malloc(sizeof(int) * 10); // expected-error{{use of undeclared identifier 'malloc'}} 7 int malloc(double);
|
builtin-exception-spec.cpp | 3 #include <malloc.h> 6 void *malloc(__SIZE_TYPE__);
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
pr5056.cpp | 4 extern "C" void * malloc(int); 7 void *malloc(int); 11 inline void *A<T>::malloc(int) function in class:A 17 malloc(10);
|
/external/oprofile/m4/ |
mallocattribute.m4 | 1 dnl AX_MALLOC_ATTRIBUTE - see if gcc will take __attribute__((malloc)) 4 AC_MSG_CHECKING([whether malloc attribute is understood]) 8 void monkey() __attribute__((malloc)); 9 ],AC_MSG_RESULT([yes]); AC_DEFINE(MALLOC_ATTRIBUTE_OK, 1, [whether malloc attribute is understood]), AC_MSG_RESULT([no]))
|
/external/clang/test/SemaObjC/ |
attr-malloc.m | 4 - (id) test1 __attribute((malloc)); // expected-warning {{functions returning a pointer type}} 5 - (int) test2 __attribute((malloc)); // expected-warning {{functions returning a pointer type}} 8 id bar(void) __attribute((malloc)); // no-warning 11 bptr baz(void) __attribute((malloc)); // no-warning 13 __attribute((malloc)) id (*f)(); // expected-warning {{functions returning a pointer type}} 14 __attribute((malloc)) bptr (*g)(); // expected-warning {{functions returning a pointer type}} 15 __attribute((malloc)) void *(^h)(); // expected-warning {{functions returning a pointer type}}
|
/external/clang/test/Sema/ |
attr-malloc.c | 6 // Declare malloc here explicitly so we don't depend on system headers. 7 void * malloc(size_t) __attribute((malloc)); 9 int no_vars __attribute((malloc)); // expected-warning {{functions returning a pointer type}} 11 void returns_void (void) __attribute((malloc)); // expected-warning {{functions returning a pointer type}} 12 int returns_int (void) __attribute((malloc)); // expected-warning {{functions returning a pointer type}} 13 int * returns_intptr(void) __attribute((malloc)); // no-warning 15 iptr returns_iptr (void) __attribute((malloc)); // no-warning 17 __attribute((malloc)) void *(*f)(); // expected-warning{{'malloc' attribute only applies to functions returning a pointer type} [all...] |
implicit-builtin-freestanding.c | 4 int malloc(int a) { return a; } function
|
/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);
|
/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...] |
cxx-method-names.cpp | 7 void malloc(void *); // taint checker, malloc checker 8 void free(); // malloc checker, keychain checker 17 E.malloc(0);
|
malloc-overflow.c | 5 extern void * malloc(size_t); 9 return malloc(n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 14 return malloc(sizeof(int) * n); // // expected-warning {{the computation of the size of the memory allocation may overflow}} 19 return malloc(4 * sizeof(int)); // no-warning 29 return malloc(s->n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 35 return malloc(s2.n * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 40 return malloc((n + 1) * sizeof(int)); // expected-warning {{the computation of the size of the memory allocation may overflow}} 43 extern void * malloc (size_t); 49 return malloc(n * sizeof(int)); // no-warning 55 return malloc(n * sizeof(int)); // no-warnin [all...] |
/external/compiler-rt/lib/asan/lit_tests/TestCases/Darwin/ |
malloc_zone-protected.cc | 2 #include <malloc/malloc.h> 16 zone->malloc = pwn;
|
/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
|