OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:malloc
(Results
1 - 25
of
2813
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/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
...]
one.c
8
malloc
(1);
ignoring.c
13
int* x =
malloc
(1024);
17
malloc
(512);
26
int* y =
malloc
(256);
peak.c
8
p =
malloc
(1600); // With --peak-inaccuracy=1000, the first 10 of
9
p =
malloc
(16); // 'free' calls result in peaks, but after that,
big-alloc.c
12
malloc
(10 * 1024 * 1024);
culling1.c
7
malloc
(16); // divisible by 16 -- no slop
/external/clang/test/SemaCXX/
builtin-exception-spec.cpp
3
#include <
malloc
.h>
6
void *
malloc
(__SIZE_TYPE__);
no-implicit-builtin-decls.cpp
4
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/
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/clang/test/CodeGen/
2009-03-01-MallocNoAlias.c
3
void * __attribute__ ((
malloc
)) foo (void) { return 0; }
merge-attrs.c
3
void *
malloc
(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
6
malloc
(1);
9
void *
malloc
(__SIZE_TYPE__ size) __attribute__ ((__nothrow__));
/external/clang/test/Misc/
freebsd-arm-size_t.c
8
void *
malloc
(size_t);
/external/clang/test/Sema/
implicit-builtin-freestanding.c
4
int
malloc
(int a) { return a; }
function
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-redecl.c
4
static void*
malloc
(int);
5
static void*
malloc
(int size) {
function
/external/valgrind/main/memcheck/tests/
clo_redzone.c
5
__attribute__((unused)) char *p =
malloc
(1);
6
char *b1 =
malloc
(128);
7
char *b2 =
malloc
(128);
/external/clang/test/SemaCXX/Inputs/
malloc.h
2
extern void *
malloc
(__SIZE_TYPE__ __size) throw () __attribute__ ((__malloc__)) ;
/external/clang/test/Analysis/
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/Linux/
malloc_delete_mismatch.cc
1
// Check that we detect
malloc
/delete mismatch only if the approptiate flag
15
x = (char*)
malloc
(10);
19
// CHECK: ERROR: AddressSanitizer: alloc-dealloc-mismatch (
malloc
vs operator delete) on 0x
24
// CHECK-NEXT: #0{{.*}}
malloc
/external/compiler-rt/lib/asan/lit_tests/
sanity_check_pure_c.c
11
char *x = (char*)
malloc
(10 * sizeof(char));
17
// CHECK:
malloc
sleep_before_dying.c
6
char *x = (char*)
malloc
(10 * sizeof(char));
strip_path_prefix.c
6
char *x = (char*)
malloc
(10 * sizeof(char));
use-after-free-right.cc
23
volatile char *x = (char*)
malloc
(sizeof(char));
41
// CHECK-Linux: {{ #0 0x.* in .*
malloc
}}
use-after-free.cc
20
char *x = (char*)
malloc
(10 * sizeof(char));
38
// CHECK-Linux: {{ #0 0x.* in .*
malloc
}}
Completed in 1298 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>