OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:malloc
(Results
101 - 125
of
2813
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/valgrind/main/memcheck/tests/
leak-0.c
16
foo =
malloc
(0);
malloc_usable.c
2
#include "tests/
malloc
.h"
11
int* x =
malloc
(99);
manuel3.c
10
x = (int *)
malloc
(sizeof (int));
realloc1.c
13
char* p =
malloc
(1);
malloc3.c
2
/* test of plausible behaviour with
malloc
and stupid args */
11
p =
malloc
(0);
12
printf("
malloc
(0) = 0x%lx\n", (unsigned long)p);
15
p =
malloc
(-1);
16
printf("
malloc
(-1) = 0x%lx\n", (unsigned long)p);
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));
xml1.c
8
int *a =
malloc
(10 * sizeof(int));
31
a =
malloc
(99 * sizeof(int));
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
clo_redzone_128.stderr.exp
5
at 0x........:
malloc
(vg_replace_malloc.c:...)
dw4.c
23
char* undefp =
malloc
(1);
47
struct s1* onheap =
malloc
(sizeof (struct s1));
execve2.stderr.exp
4
Address 0x........ is not stack'd,
malloc
'd or (recently) free'd
pointer-trace.stderr.exp
2
at 0x........:
malloc
(vg_replace_malloc.c:...)
/external/valgrind/main/memcheck/tests/x86/
fpeflags.c
14
myInstance =
malloc
(sizeof(struct instance));
pushpopmem.c
8
unsigned int* y =
malloc
(sizeof(unsigned int));
9
unsigned int* z =
malloc
(sizeof(unsigned int));
33
unsigned short* y =
malloc
(sizeof(unsigned short));
34
unsigned short* z =
malloc
(sizeof(unsigned short));
/external/valgrind/main/none/tests/
bitfield1.c
14
Fooble* f =
malloc
(sizeof(Fooble));
/external/clang/test/Analysis/
no-outofbounds.c
22
void *
malloc
(size_t);
28
struct vec *a =
malloc
(sizeof(struct vec) + 10); // expected-warning {{Cast a region whose size is not a multiple of the destination type size}}
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);
/external/valgrind/main/helgrind/tests/
bar_bad.c
38
bar1 =
malloc
(sizeof(pthread_barrier_t));
43
bar2 =
malloc
(sizeof(pthread_barrier_t));
50
bar3 =
malloc
(sizeof(pthread_barrier_t));
62
bar4 =
malloc
(sizeof(pthread_barrier_t));
77
bar5 =
malloc
(sizeof(pthread_barrier_t));
/external/jpeg/
jmemnobs.c
11
* can be obtained from
malloc
().
23
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
24
extern void *
malloc
JPP((size_t size));
31
* routines
malloc
() and free().
37
return (void *)
malloc
(sizeofobject);
57
return (void FAR *)
malloc
(sizeofobject);
/external/qemu/distrib/jpeg-6b/
jmemnobs.c
11
* can be obtained from
malloc
().
23
#ifndef HAVE_STDLIB_H /* <stdlib.h> should declare
malloc
(),free() */
24
extern void *
malloc
JPP((size_t size));
31
* routines
malloc
() and free().
37
return (void *)
malloc
(sizeofobject);
57
return (void FAR *)
malloc
(sizeofobject);
/external/valgrind/main/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/main/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/main/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);
/external/oprofile/libutil/
op_libiberty.h
21
#define OP_ATTRIB_MALLOC __attribute__((
malloc
))
40
/* Allocate memory without fail. If
malloc
fails, this will print a
46
realloc type functions are not suitable for attribute
malloc
since
67
#define xmalloc(s)
malloc
(s)
/external/valgrind/main/VEX/test/
fpspeed.c
11
double* a1 =
malloc
(1000 * sizeof(double));
12
double* a2 =
malloc
(1000 * sizeof(double));
Completed in 542 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>