Searched refs:malloc (Results 151 - 175 of 2881) sorted by relevance

1234567891011>>

/external/compiler-rt/test/tsan/
H A Dfree_race2.c13 int *mem = (int*)malloc(100);
/external/libgsm/src/
H A Dgsm_destroy.c17 # include <malloc.h>
/external/mesa3d/src/egl/main/
H A Deglstring.c45 char *s2 = malloc(l + 1);
/external/valgrind/main/massif/tests/
H A Dalloc-fns.c3 void a4(int n) { malloc(n); }
8 void b4(int n) { malloc(n); }
13 void c4(int n) { malloc(n); }
18 void d4(int n) { malloc(n); }
H A Doverloaded-new.cpp19 return malloc(n);
24 return malloc(n);
29 return malloc(n);
34 return malloc(n);
/external/valgrind/main/memcheck/tests/
H A Daccounting.c14 p = malloc(1);
H A Dholey_buffer_too_small.c19 a = malloc(8);
25 a = malloc(8);
31 a = malloc(8);
37 a = malloc(8);
H A Dleak-0.c16 foo = malloc(0);
H A Dmalloc_usable.c2 #include "tests/malloc.h"
11 int* x = malloc(99);
H A Dmanuel3.c10 x = (int *) malloc (sizeof (int));
H A Drealloc1.c13 char* p = malloc(1);
H A Dmalloc3.c2 /* 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);
H A Dorigin4-many.c32 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));
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));
/external/valgrind/main/memcheck/tests/x86/
H A Dfpeflags.c14 myInstance = malloc(sizeof(struct instance));
H A Dpushpopmem.c8 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/
H A Dbitfield1.c14 Fooble* f = malloc(sizeof(Fooble));
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/
H A Daligned_ptr.c20 aligned_ptr = (struct AlignedPtr*) malloc(sizeof(*aligned_ptr));
21 aligned_ptr->raw_pointer_ = malloc(bytes + alignment);
/external/clang/test/Analysis/
H A Dno-outofbounds.c23 void *malloc(size_t);
28 struct vec *a = malloc(sizeof(struct vec) + 10*sizeof(int));
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...]
/external/libcxx/test/utilities/memory/c.malloc/
H A DAndroid.mk17 test_makefile := external/libcxx/test/utilities/memory/c.malloc/Android.mk
19 test_name := utilities/memory/c.malloc/nothing_to_do
/external/valgrind/main/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/chromium_org/third_party/libjpeg_turbo/
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/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;

Completed in 336 milliseconds

1234567891011>>