OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:malloc
(Results
226 - 250
of
5328
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/valgrind/memcheck/tests/
origin4-many.c
32
int* p_ui1 =
malloc
(sizeof(int));
33
int* p_ui2 =
malloc
(sizeof(int));
34
int* p_ui3 =
malloc
(sizeof(int));
35
int* p_ui4 =
malloc
(sizeof(int));
36
int* p_ui5 =
malloc
(sizeof(int));
37
int* p_ui6 =
malloc
(sizeof(int));
38
int* p_ui7 =
malloc
(sizeof(int));
39
int* p_ui8 =
malloc
(sizeof(int));
suppfree.c
32
char* x =
malloc
(10);
33
char* y =
malloc
(10);
xml1.c
8
int *a =
malloc
(10 * sizeof(int));
31
a =
malloc
(99 * sizeof(int));
varinforestrict.c
21
char* undefp =
malloc
(1);
51
char *earth =
malloc
(l);
55
void *bad =
malloc
(16);
execve1.stderr.exp
4
Address 0x........ is not stack'd,
malloc
'd or (recently) free'd
9
Address 0x........ is not stack'd,
malloc
'd or (recently) free'd
14
Address 0x........ is not stack'd,
malloc
'd or (recently) free'd
/external/valgrind/memcheck/tests/solaris/
execx.stderr.exp
3
Address 0x........ is not stack'd,
malloc
'd or (recently) free'd
/toolchain/binutils/binutils-2.27/libiberty/
spaces.c
43
extern PTR
malloc
(size_t);
57
buf = (char *)
malloc
(count + 1);
strndup.c
26
in memory obtained from @code{
malloc
}, or @code{NULL} if insufficient
37
extern PTR
malloc
(size_t);
49
result = (char *)
malloc
(len + 1);
/external/pdfium/third_party/libopenjpeg20/
opj_malloc.h
58
#define opj_malloc(size) ((size_t)(size) >= (size_t)-0x100 ? NULL :
malloc
(size))
60
#define opj_malloc(size)
malloc
(size)
88
/* Someone should tell the mingw people that their
malloc
.h ought to provide _mm_malloc() */
93
#include <
malloc
.h>
106
#include <
malloc
.h>
110
#define opj_aligned_malloc(size)
malloc
(size)
111
#define opj_aligned_32_malloc(size)
malloc
(size)
137
static INLINE void* __attribute__ ((
malloc
)) opj_aligned_malloc(size_t size){
144
static INLINE void* __attribute__ ((
malloc
)) opj_aligned_32_malloc(size_t size){
191
#pragma GCC poison
malloc
calloc realloc fre
[
all
...]
/external/clang/test/Analysis/
new.cpp
1
// RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.
Malloc
,debug.ExprInspection -analyzer-store region -std=c++11 -verify %s
7
extern "C" void *
malloc
(size_t);
31
int *x = (int *)
malloc
(sizeof(int));
55
int *x = (int *)
malloc
(sizeof(int));
85
return new PtrWrapper(static_cast<int *>(
malloc
(4))); // no-warning
90
new (w) PtrWrapper(static_cast<int *>(
malloc
(4))); // no-warning
95
return new (int *)(static_cast<int *>(
malloc
(4))); // no-warning
100
new (p) (int *)(static_cast<int *>(
malloc
(4))); // no-warning
119
// bounded with unix.
Malloc
137
// unix.
Malloc
does not know about operators new/delete
[
all
...]
malloc-interprocedural.c
1
// RUN: %clang_cc1 -analyze -analyzer-checker=unix.
Malloc
-analyzer-inline-max-stack-depth=5 -verify %s
5
void *
malloc
(size_t);
17
*d =
malloc
(size);
22
data =
malloc
(size);
82
char *v =
malloc
(12);
96
int *x = (int*)
malloc
(12);
103
// If we inline any of the
malloc
-family functions, the checker shouldn't also
118
char *result =
malloc
(n + 1);
bstring.cpp
4
#include "Inputs/system-header-simulator-for-
malloc
.h"
10
int *buf = (int *)
malloc
(n * sizeof(int));
26
int *buf = (int *)
malloc
(n * sizeof(int));
malloc-sizeof.cpp
5
void *
malloc
(size_t size);
15
A* a = static_cast<A*>(
malloc
(sizeof(int))); // expected-warning {{Result of '
malloc
' is converted to a pointer of type 'struct A', which is incompatible with sizeof operand type 'int'}}
/external/clang/test/Sema/
extern-redecl.c
52
float *
malloc
(); // expected-warning {{incompatible redeclaration of library function}} expected-note 2 {{is a builtin}}
57
float *
malloc
(); // expected-warning {{incompatible redeclaration of library function}}
62
void *(*_malloc)() = &
malloc
;
/external/compiler-rt/test/asan/TestCases/Posix/
start-deactivated.cc
36
char *p = (char *)
malloc
(100);
66
void *p =
malloc
((unsigned long)-2);
84
char *volatile p = (char *)
malloc
(100);
/external/jemalloc/test/integration/
overflow.c
23
assert_ptr_null(
malloc
(max_size_class + 1),
25
assert_ptr_null(
malloc
(SIZE_T_MAX),
33
p =
malloc
(1);
34
assert_ptr_not_null(p, "Unexpected
malloc
() OOM");
/external/swiftshader/third_party/LLVM/tools/llvm-stub/
llvm-stub.c
44
Args = (const char**)
malloc
(sizeof(char*) * (argc+2));
55
argv[0] = strcat(strcpy((char*)
malloc
(len + 5), argv[0]), ".exe");
61
Args[1] = strcat(strcpy((char*)
malloc
(strlen(argv[0])+4), argv[0]), ".bc");
/external/valgrind/callgrind/tests/
simwork.c
54
a = (double*)
malloc
(SIZE * sizeof(double));
55
b = (double*)
malloc
(SIZE * sizeof(double));
56
c = (double*)
malloc
(SIZE * sizeof(double));
/external/valgrind/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.
/external/valgrind/none/tests/amd64/
bug137714-amd64.c
20
UChar* dst =
malloc
(8);
42
UChar* dst =
malloc
(16);
67
UChar* regL =
malloc
(8);
68
UChar* regR =
malloc
(8);
89
UChar* regL =
malloc
(16);
90
UChar* regR =
malloc
(16);
/external/valgrind/none/tests/x86/
bug137714-x86.c
20
UChar* dst =
malloc
(8);
42
UChar* dst =
malloc
(16);
67
UChar* regL =
malloc
(8);
68
UChar* regR =
malloc
(8);
89
UChar* regL =
malloc
(16);
90
UChar* regR =
malloc
(16);
/bionic/libc/bionic/
malloc_info.h
19
#include <
malloc
.h>
/external/compiler-rt/test/asan/TestCases/Windows/
demangled_names.cc
6
#include <
malloc
.h>
42
char *buffer = (char*)
malloc
(42);
/external/compiler-rt/test/asan/TestCases/
memset_test.cc
43
char * volatile p = (char *)
malloc
(3000);
51
char * volatile q = (char *)
malloc
(3000);
/external/curl/lib/
strdup.c
47
newstr =
malloc
((len + 1)*sizeof(char));
70
void *buffer =
malloc
(length);
Completed in 414 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>