Searched refs:malloc (Results 201 - 225 of 2724) sorted by relevance

1234567891011>>

/external/valgrind/memcheck/tests/
H A Dsuppfree.c32 char* x = malloc(10);
33 char* y = malloc(10);
H A Dxml1.c8 int *a = malloc(10 * sizeof(int));
31 a = malloc(99 * sizeof(int));
H A Dvarinforestrict.c21 char* undefp = malloc(1);
51 char *earth = malloc (l);
55 void *bad = malloc (16);
H A Dexecve1.stderr.exp4 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
H A Dclo_redzone_128.stderr.exp5 at 0x........: malloc (vg_replace_malloc.c:...)
H A Dexecve2.stderr.exp4 Address 0x........ is not stack'd, malloc'd or (recently) free'd
H A Dpointer-trace.stderr.exp2 at 0x........: malloc (vg_replace_malloc.c:...)
H A Dsignal2.stderr.exp3 Address 0x........ is not stack'd, malloc'd or (recently) free'd
/external/valgrind/helgrind/tests/
H A Dbar_bad.c38 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/clang/test/Analysis/
H A Dnew.cpp7 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
139 int *x = (int *)malloc(sizeof(int));
144 int *p = (int *)malloc(sizeof(int));
150 int *p = (int *)malloc(sizeo
[all...]
H A Dmalloc-interprocedural.c5 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/clang/test/Sema/
H A Dextern-redecl.c52 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/
H A Dstart-deactivated.cc36 char *p = (char *)malloc(100);
66 void *p = malloc((unsigned long)-2);
84 char *volatile p = (char *)malloc(100);
/external/jemalloc/test/integration/
H A Doverflow.c23 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/libjpeg-turbo/
H A Djmemnobs.c13 * can be obtained from malloc().
25 #ifndef HAVE_STDLIB_H /* <stdlib.h> should declare malloc(),free() */
26 extern void * malloc (size_t size);
33 * routines malloc() and free().
39 return (void *) malloc(sizeofobject);
56 return (void *) malloc(sizeofobject);
/external/opencv3/3rdparty/libjpeg/
H A Djmemnobs.c11 * 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/callgrind/tests/
H A Dsimwork.c54 a = (double*) malloc(SIZE * sizeof(double));
55 b = (double*) malloc(SIZE * sizeof(double));
56 c = (double*) malloc(SIZE * sizeof(double));
/external/valgrind/tests/
H A Dmalloc.h1 // 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/
H A Dbug137714-amd64.c20 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/
H A Dbug137714-x86.c20 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/compiler-rt/test/asan/TestCases/Windows/
H A Ddemangled_names.cc6 #include <malloc.h>
42 char *buffer = (char*)malloc(42);
/external/compiler-rt/test/asan/TestCases/
H A Dmemset_test.cc43 char * volatile p = (char *)malloc(3000);
51 char * volatile q = (char *)malloc(3000);
/external/curl/tests/unit/
H A Dunit1602.c66 value = malloc(sizeof(int));
67 value2 = malloc(sizeof(int));
/external/valgrind/VEX/test/
H A Dfpspeed.c11 double* a1 = malloc(1000 * sizeof(double));
12 double* a2 = malloc(1000 * sizeof(double));
/external/valgrind/memcheck/tests/solaris/
H A Dstrlcpy.c11 char *src = malloc(100);
18 char *dst = malloc(10);

Completed in 655 milliseconds

1234567891011>>