Searched refs:malloc (Results 1 - 25 of 2881) sorted by relevance

1234567891011>>

/external/valgrind/main/massif/tests/
H A Dinsig.c8 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(1
[all...]
H A Dzero.c8 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(
[all...]
H A Done.c8 malloc(1);
H A Dignoring.c13 int* x = malloc(1024);
17 malloc(512);
26 int* y = malloc(256);
/external/clang/test/SemaCXX/
H A Dbuiltin-exception-spec.cpp3 #include <malloc.h>
6 void *malloc(__SIZE_TYPE__);
H A Dno-implicit-builtin-decls.cpp4 void *p = malloc(sizeof(int) * 10); // expected-error{{use of undeclared identifier 'malloc'}}
7 int malloc(double);
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dpr5056.cpp4 extern "C" void * malloc(int);
7 void *malloc(int);
11 inline void *A<T>::malloc(int) function in class:A
17 malloc(10);
/external/clang/test/CodeGen/
H A D2009-03-01-MallocNoAlias.c3 void * __attribute__ ((malloc)) foo (void) { return 0; }
H A Dmerge-attrs.c3 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
6 malloc(1);
9 void *malloc(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
/external/clang/test/Misc/
H A Dfreebsd-arm-size_t.c8 void *malloc(size_t);
/external/clang/test/Sema/
H A Dimplicit-builtin-freestanding.c4 int malloc(int a) { return a; } function
H A Darm-darwin-aapcs.cpp8 void* malloc(size_t);
11 return (malloc(size));
H A Dattr-malloc.c6 // 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' attribut
[all...]
H A Dimplicit-builtin-redecl.c4 static void* malloc(int);
5 static void* malloc(int size) { function
/external/compiler-rt/test/asan/TestCases/
H A Datexit_stats.cc11 #include <malloc.h>
13 int *p1 = (int*)malloc(900);
14 int *p2 = (int*)malloc(90000);
15 int *p3 = (int*)malloc(9000000);
/external/compiler-rt/test/asan/TestCases/Windows/
H A Dmalloc_left_oob.cc4 #include <malloc.h>
7 char *buffer = (char*)malloc(42);
14 // CHECK-NEXT: {{#0 .* malloc }}
H A Dmalloc_right_oob.cc4 #include <malloc.h>
7 char *buffer = (char*)malloc(42);
14 // CHECK-NEXT: {{#0 .* malloc }}
H A Dmalloc_uaf.cc4 #include <malloc.h>
7 char *buffer = (char*)malloc(42);
18 // CHECK-NEXT: {{#0 .* malloc }}
H A Ddll_malloc_left_oob.cc5 #include <malloc.h>
8 char *buffer = (char*)malloc(42);
17 // CHECK-NEXT: malloc
H A Ddll_malloc_uaf.cc5 #include <malloc.h>
9 int *buffer = (int*)malloc(42);
24 // CHECK-NEXT: malloc
H A Ddouble_free.cc4 #include <malloc.h>
7 int *x = (int*)malloc(42 * sizeof(int));
18 // CHECK-NEXT: {{#0 .* malloc }}
/external/clang/test/Analysis/
H A DMalloc+NewDelete_intersections.cpp5 void *malloc(size_t);
13 int *p = (int *)malloc(sizeof(int));
H A DNewDelete+MismatchedDeallocator_intersections.cpp6 void *malloc(size_t);
17 int *p1 = (int *)malloc(sizeof(int));
20 int *p2 = (int *)malloc(sizeof(int));
24 int *p3 = (int *)malloc(sizeof(int)); // no warn
26 int *p4 = (int *)malloc(sizeof(int));
/external/qemu/android/base/memory/
H A DMallocUsableSize.h16 // system has malloc_usable_size(). Which takes the address of a malloc-ed
27 # include <malloc.h>
30 # include <malloc/malloc.h>
/external/valgrind/main/memcheck/tests/
H A Dclo_redzone.c5 __attribute__((unused)) char *p = malloc (1);
6 char *b1 = malloc (128);
7 char *b2 = malloc (128);

Completed in 4443 milliseconds

1234567891011>>