Searched refs:malloc (Results 1 - 25 of 1655) 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);
H A Dpeak.c8 p = malloc(1600); // With --peak-inaccuracy=1000, the first 10 of
9 p = malloc(16); // 'free' calls result in peaks, but after that,
H A Dbig-alloc.c12 malloc(10 * 1024 * 1024);
H A Dculling1.c7 malloc(16); // divisible by 16 -- no slop
H A Dlong-time.c12 x1 = malloc( 800 * 1000);
13 x2 = malloc(1100 * 1000);
15 x3 = malloc(1200 * 1000);
18 x4 = malloc( 900 * 1000);
H A Dthresholds.c7 // 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);
/external/clang/test/SemaCXX/
H A Dbuiltin-exception-spec.cpp2 #include <malloc.h>
5 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.cpp3 extern "C" void * malloc(int);
6 void *malloc(int);
10 inline void *A<T>::malloc(int) function in class:A
16 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/Sema/
H A Dimplicit-builtin-freestanding.c3 int malloc(int a) { return a; } function
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/bison/lib/
H A Dmalloc.c0 /* malloc() function that is glibc compatible.
23 #undef malloc macro
35 return malloc (n);
/external/clang/test/SemaCXX/Inputs/
H A Dmalloc.h2 extern void *malloc (__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
/external/clang/test/Analysis/
H A Dmalloc-overflow.c5 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(
[all...]
/external/compiler-rt/lib/asan/lit_tests/
H A Dsanity_check_pure_c.c11 char *x = (char*)malloc(10 * sizeof(char));
17 // CHECK: malloc
H A Dsleep_before_dying.c6 char *x = (char*)malloc(10 * sizeof(char));
H A Dstrip_path_prefix.c6 char *x = (char*)malloc(10 * sizeof(char));
H A Duse-after-free.cc20 char *x = (char*)malloc(10 * sizeof(char));
40 // CHECK-Linux: {{ #0 0x.* in .*malloc}}
45 // CHECK-Darwin: {{ #2 0x.* in malloc.*}}
/external/valgrind/main/memcheck/tests/
H A Dnanoleak2.c20 a = malloc(1000); // Becomes a reachable leak.

Completed in 2340 milliseconds

1234567891011>>