/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/clang/test/SemaCXX/Inputs/ |
malloc.h | 2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
|
/external/valgrind/main/memcheck/tests/ |
nanoleak.supp | 4 fun:malloc
|
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);
|
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);
|
malloc_free_fill.vgtest | 2 vgopts: -q --malloc-fill=0x55 --free-fill=0x77
|
malloc1.c | 16 char* p = malloc(10); 21 p = malloc(10);
|
malloc3.c | 2 /* test of plausible behaviour with malloc and stupid args */ 11 p = malloc(0); 12 printf("malloc(0) = 0x%lx\n", (unsigned long)p); 15 p = malloc(-1); 16 printf("malloc(-1) = 0x%lx\n", (unsigned long)p);
|
/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 | 2 #include <malloc.h> 5 void *malloc(__SIZE_TYPE__);
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
pr5056.cpp | 3 extern "C" void * malloc(int); 6 void *malloc(int); 10 inline void *A<T>::malloc(int) function in class:A 16 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 | 3 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.cpp | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,experimental.deadcode.UnreachableCode,experimental.core.CastSize,unix.Malloc -analyzer-store=region -verify %s 4 void *malloc(size_t); 15 return malloc(10);
|
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...] |
/hardware/ti/omap4xxx/ |
tm.c | 27 ptr[0] = malloc(10); 29 ptr[2] = malloc(30); 30 ptr[3] = malloc(40); 31 ptr[4] = malloc(50); 32 ptr[5] = malloc(60);
|