Searched refs:malloc (Results 101 - 125 of 3544) sorted by relevance

1234567891011>>

/external/compiler-rt/test/lsan/TestCases/
H A Duse_tls_static.cc14 tls_var = malloc(1337);
/external/compiler-rt/test/msan/
H A Dcheck_mem_is_initialized.cc23 int *volatile p = (int *)malloc(sizeof(int));
30 // CHECK-ORIGINS: {{#0 0x.* in .*malloc}}
H A Dkeep-going.cc27 char *volatile x = (char*)malloc(5 * sizeof(char));
H A Duse-after-free.cc21 int *volatile p = (int *)malloc(sizeof(int));
/external/compiler-rt/test/scudo/
H A Dquarantine.cpp8 #include <malloc.h>
18 p = malloc(size);
23 p = malloc(size);
33 p = malloc(size);
/external/mesa3d/include/
H A Dc99_alloca.h34 # include <malloc.h>
/external/python/cpython2/Python/
H A Dstrdup.c9 register char *copy = malloc(strlen(str) + 1);
/external/valgrind/memcheck/tests/
H A Dbadaddrvalue.c7 char* aa = malloc(8);
H A Ddoublefree.c8 void* p = malloc(177);
H A Dmalloc3.stdout.exp0 malloc(0) = 0x........
2 malloc(-1) = 0x........
H A Dmanuel2.c7 int *m = malloc(sizeof(int));
H A Dpipe.c11 int *filedes = malloc(2 * sizeof(int));
H A Dtrivialleak.c8 leak = (void*)malloc( 1 );
H A Dwrapmalloc.c4 /* Test that a program that has malloc/free interposed in a shared
10 void *p = malloc (1024);
H A Dwrapmallocso.c4 /* Fake malloc/free functions that just print something. When run
8 void *malloc ( size_t size ) function
10 printf ("malloc\n");
/external/valgrind/memcheck/tests/solaris/
H A Dscalar_frealpathat.c8 long *px = malloc(sizeof(long));
H A Dscalar_getrandom.c8 long *px = malloc(sizeof(long));
H A Dscalar_lwp_kill.c11 long *px = malloc(sizeof(long));
H A Dscalar_uuidsys.c8 long *px = malloc(sizeof(long));
/external/valgrind/memcheck/tests/x86/
H A Despindola2.c11 int* x = malloc(4);
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar_exit_group.c6 long* px = malloc(sizeof(long));
/external/clang/test/Analysis/
H A Dmalloc.c23 void *malloc(size_t);
45 int *p = malloc(12);
50 int *p = malloc(12);
56 int *p = malloc(12);
62 int *p = malloc(12);
68 char *p = (char*)malloc(size);
88 int *q = malloc(12);
95 char *p = malloc(12);
105 char *p = malloc(12);
115 char *p = malloc(1
[all...]
H A DMalloc+MismatchedDeallocator+NewDelete.cpp4 #include "Inputs/system-header-simulator-for-malloc.h"
10 int *p = (int *)malloc(sizeof(int));
16 int *p = (int *)malloc(sizeof(int));
20 int *p = (int *)malloc(sizeof(int));
27 free(&i); // expected-warning{{Argument to free() is the address of the local variable 'i', which is not memory allocated by malloc()}}
31 int *p = (int *)malloc(sizeof(int));
32 free(++p); // expected-warning{{Argument to free() is offset by 4 bytes from the start of memory allocated by malloc()}}
39 int *x = (int *)malloc(sizeof(int));
40 delete x; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not 'delete'}}
83 int *p = (int*)malloc(sizeo
[all...]
H A Dcoverage.c5 void *malloc(size_t);
35 char *m = (char*)malloc(12);
41 char *m = (char*)malloc(12);
48 char *m = (char*)malloc(12);
54 char *m = (char*)malloc(12);
61 char *m = (char*)malloc(12); // no-warning
68 char *m = (char*)malloc(12);
80 char *m = (char*)malloc(12);
H A Dcxx-method-names.cpp7 void malloc(void *); // taint checker, malloc checker
8 void free(); // malloc checker, keychain checker
17 E.malloc(0);

Completed in 1133 milliseconds

1234567891011>>