Searched refs:malloc (Results 176 - 200 of 2724) sorted by relevance

1234567891011>>

/external/valgrind/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));
/external/valgrind/memcheck/tests/solaris/
H A Dscalar_lwp_sigqueue.c10 long *px = malloc(sizeof(long));
H A Dscalar_lwp_sigqueue_pid.c10 long *px = malloc(sizeof(long));
H A Dscalar_system_stats.c9 long *px = malloc(sizeof(long));
H A Dexecx.stderr.exp3 Address 0x........ is not stack'd, malloc'd or (recently) free'd
/external/valgrind/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/none/tests/
H A Dbitfield1.c14 Fooble* f = malloc(sizeof(Fooble));
/external/vboot_reference/firmware/stub/
H A Dvboot_api_stub_static_sf.c17 void *p = malloc(size);
/external/clang/test/Analysis/
H A Dmalloc-sizeof.cpp5 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'}}
H A Dno-outofbounds.c23 void *malloc(size_t);
28 struct vec *a = malloc(sizeof(struct vec) + 10*sizeof(int));
/external/compiler-rt/test/asan/TestCases/
H A Dstrcasestr_strict.c16 char *s1 = (char*)malloc(size);
17 char *s2 = (char*)malloc(size);
H A Dstrcmp_strict.c13 char *s1 = (char*)malloc(size);
15 char *s2 = (char*)malloc(size);
H A Dstrcspn_strict.c13 char *s1 = (char*)malloc(size);
14 char *s2 = (char*)malloc(size);
H A Dstrpbrk_strict.c13 char *s1 = (char*)malloc(size);
14 char *s2 = (char*)malloc(2);
H A Dstrspn_strict.c13 char *s1 = (char*)malloc(size);
14 char *s2 = (char*)malloc(2);
H A Dstrstr_strict.c13 char *s1 = (char*)malloc(size);
14 char *s2 = (char*)malloc(size);
/external/curl/lib/
H A Dstrdup.c43 newstr = malloc((len+1)*sizeof(char));
66 char *buffer = malloc(length);

Completed in 427 milliseconds

1234567891011>>