Searched refs:malloc (Results 126 - 150 of 2852) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dbounds-checking.c19 short *b = malloc(64);
/external/compiler-rt/SDKs/darwin/usr/include/
H A Dstdlib.h29 void *malloc(size_t);
/external/compiler-rt/lib/msan/tests/
H A Dmsan_loadable.cc29 dso_global = malloc(4);
/external/compiler-rt/test/asan/TestCases/Darwin/
H A Dmalloc_set_zone_name-mprotect.cc9 #include <malloc/malloc.h>
19 // (For the case malloc() returns memory chunks in descending order)
21 mem[i] = (char*)malloc(8 * i);
23 // Try to allocate a page-aligned malloc zone. Otherwise the mprotect() call
43 mem[i + kNumIter] = (char*)malloc(8 * i);
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dasan_preload_test-1.cc23 void *p = malloc(1);
H A Dasan_preload_test-2.cc19 void *p = malloc(1);
H A Dasan_rt_confict_test-2.cc18 void *p = malloc(1);
H A Dinterception_failure_test.cc17 char *x = (char*)malloc(10 * sizeof(char));
/external/compiler-rt/test/asan/TestCases/Windows/
H A Dintercept_strdup.cc6 #include <malloc.h>
23 // CHECK: {{#0 .* malloc }}
/external/compiler-rt/test/asan/TestCases/
H A Ddouble-free.cc4 // Also works if no malloc context is available.
12 char *x = (char*)malloc(10 * sizeof(char));
H A Dfrexp_interceptor.cc10 int *exp = (int*)malloc(sizeof(int));
H A Dheap-overflow.cc13 char *x = (char*)malloc(10 * sizeof(char));
21 // CHECK: {{ #0 0x.* in .*malloc}}
H A Dhuge_negative_hea_oob.cc7 char *x = (char*)malloc(1 << 20);
H A Dinline.cc14 int * volatile x = (int*)malloc(2*sizeof(int) + 2);
H A Dinvalid-free.cc4 // Also works if no malloc context is available.
12 char *x = (char*)malloc(10 * sizeof(char));
H A Dlog-path_test.cc36 char *x = (char*)malloc(10);
/external/compiler-rt/test/lsan/TestCases/
H A Dignore_object_errors.cc12 void *p = malloc(1337);
H A Dleak_check_at_exit.cc14 fprintf(stderr, "Test alloc: %p.\n", malloc(1337));
H A Dprint_suppressions.cc21 void *p = malloc(666);
H A Duse_poisoned_asan.cc17 *p = malloc(1337);
H A Duse_unaligned.cc14 void *p = malloc(1337);
/external/compiler-rt/test/msan/
H A Dkeep-going-dso.cc25 char *volatile x = (char*)malloc(5 * sizeof(char));
H A Dmallinfo.cc4 #include <malloc.h>
H A Dpoison_in_free.cc10 char *volatile x = (char*)malloc(50 * sizeof(char));
/external/compiler-rt/test/tsan/
H A Dfree_race2.c13 int *mem = (int*)malloc(100);

Completed in 246 milliseconds

1234567891011>>