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
4379
) 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);
/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
arm-darwin-aapcs.cpp
8
void*
malloc
(size_t);
11
return (
malloc
(size));
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/compiler-rt/test/asan/TestCases/
atexit_stats.cc
11
#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/
malloc_left_oob.cc
4
#include <
malloc
.h>
7
char *buffer = (char*)
malloc
(42);
14
// CHECK-NEXT: {{#0 .*
malloc
}}
malloc_right_oob.cc
4
#include <
malloc
.h>
7
char *buffer = (char*)
malloc
(42);
14
// CHECK-NEXT: {{#0 .*
malloc
}}
malloc_uaf.cc
4
#include <
malloc
.h>
7
char *buffer = (char*)
malloc
(42);
18
// CHECK-NEXT: {{#0 .*
malloc
}}
dll_malloc_left_oob.cc
5
#include <
malloc
.h>
8
char *buffer = (char*)
malloc
(42);
17
// CHECK-NEXT:
malloc
dll_malloc_uaf.cc
5
#include <
malloc
.h>
9
int *buffer = (int*)
malloc
(42);
24
// CHECK-NEXT:
malloc
double_free.cc
4
#include <
malloc
.h>
7
int *x = (int*)
malloc
(42 * sizeof(int));
18
// CHECK-NEXT: {{#0 .*
malloc
}}
/external/clang/test/Analysis/
Malloc+NewDelete_intersections.cpp
1
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.
Malloc
,cplusplus.NewDelete -std=c++11 -verify %s
2
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.
Malloc
,cplusplus.NewDelete,alpha.cplusplus.NewDeleteLeaks -std=c++11 -verify %s
5
void *
malloc
(size_t);
9
// Check that unix.
Malloc
+ cplusplus.NewDelete does not enable
13
int *p = (int *)
malloc
(sizeof(int));
NewDelete+MismatchedDeallocator_intersections.cpp
6
void *
malloc
(size_t);
11
// does not enable warnings produced by the unix.
Malloc
checker.
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/
MallocUsableSize.h
16
// 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/
clo_redzone.c
5
__attribute__((unused)) char *p =
malloc
(1);
6
char *b1 =
malloc
(128);
7
char *b2 =
malloc
(128);
Completed in 228 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>