Searched refs:malloc (Results 76 - 100 of 3544) sorted by relevance
1234567891011>>
/external/compiler-rt/test/asan/TestCases/Darwin/ |
H A D | malloc_zone-protected.cc | 2 #include <malloc/malloc.h> 16 zone->malloc = pwn;
|
/external/compiler-rt/test/scudo/ |
H A D | malloc.cpp | 7 #include <malloc.h> 16 p = malloc(size); 21 p = malloc(0);
|
H A D | overflow.cpp | 2 // RUN: not %run %t malloc 2>&1 | FileCheck %s 14 if (!strcmp(argv[1], "malloc")) { 16 void *p = malloc(1U << 4); 23 void *p = malloc(1U << 4); 31 p = malloc(1U << 16);
|
H A D | preinit.cpp | 4 // Verifies that calling malloc in a preinit_array function succeeds, and that 7 #include <malloc.h> 14 global_p = malloc(1); 26 void *p = malloc(1);
|
/external/libgsm/src/ |
H A D | gsm_create.c | 22 # include <malloc.h> 24 extern char * malloc(); 38 r = (gsm)malloc(sizeof(struct gsm_state));
|
/external/valgrind/memcheck/tests/ |
H A D | clo_redzone.c | 6 __attribute__((unused)) char *p = malloc (1); 7 char *b1 = malloc (128); 8 char *b2 = malloc (128);
|
H A D | fprw.c | 11 double* dp = malloc(sizeof(double)); 12 float* fp = malloc(sizeof(float)); 23 ip = malloc(sizeof(int));
|
H A D | mismatches.cpp | 5 int* fpointer = (int*)malloc(10); 7 fpointer = (int*)malloc(10); 9 fpointer = (int*)malloc(10);
|
H A D | static_malloc.c | 5 void* malloc(size_t i) { function 16 p = malloc(10); 17 p = malloc(123);
|
H A D | realloc3.c | 5 but by the previous malloc() or whatever. While this is true in one 14 int* x = malloc(5); 15 int* y = malloc(10); 16 int* z = malloc(2);
|
/external/clang/test/Analysis/ |
H A D | malloc-plist.c | 6 void *malloc(size_t); 12 int *p = malloc(12); 20 A = malloc(2*sizeof(int*)); 25 char * buf = malloc(100); 36 void *x = malloc(100); 54 *x = malloc(100); 75 char *buf = (char *)malloc(100); 82 return (char*)malloc(12); 99 int *p = malloc(sizeof(int)); 108 p = (int*)malloc(1 [all...] |
H A D | malloc-annotations.c | 3 void *malloc(size_t); 7 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); 8 void __attribute((ownership_takes(malloc, 1))) my_free(void *); 10 __attribute((ownership_holds(malloc, 1, 2))); 11 void __attribute((ownership_returns(malloc, 1))) *my_malloc2(size_t); 12 void __attribute((ownership_holds(malloc, 1))) my_hold(void *); 17 void __attribute((ownership_holds(malloc, 1))) 18 __attribute((ownership_holds(malloc, 1))) 19 __attribute((ownership_holds(malloc, 3))) my_hold2(void *, void *, void *); 28 int *p = malloc(1 [all...] |
H A D | undef-buffers.c | 3 void *malloc(size_t); 30 char *buf = malloc(2); 38 char *buf = malloc(2);
|
/external/valgrind/memcheck/tests/s390x/ |
H A D | cu42.c | 47 do_cu42(malloc(1), 10, pattern2, 4); // complaint (2 bytes) 50 do_cu42(malloc(2), 10, pattern2, 4); // no complaint 53 do_cu42(malloc(1), 10, pattern4, 4); // complaint (4 bytes) 56 do_cu42(malloc(2), 10, pattern4, 4); // complaint (4 bytes) 59 do_cu42(malloc(3), 10, pattern4, 4); // complaint (4 bytes) 62 do_cu42(malloc(4), 10, pattern4, 4); // no complaint 71 input = malloc(10); 75 input = malloc(10); 80 input = malloc(10); 85 input = malloc(1 [all...] |
/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | allocators_sanity.cc | 4 #include <malloc.h> 8 int *p = (int*)malloc(1024 * sizeof(int)); 12 p = (int*)malloc(128);
|
H A D | dll_allocators_sanity.cc | 5 #include <malloc.h> 10 int *p = (int*)malloc(1024 * sizeof(int)); 14 p = (int*)malloc(128);
|
H A D | dll_stack_use_after_return.cc | 5 #include <malloc.h>
|
H A D | on_error_callback.cc | 16 char *x = (char*)malloc(10 * sizeof(char));
|
H A D | use_after_realloc.cc | 4 #include <malloc.h>
|
/external/cmockery/cmockery_0_1_2/src/example/ |
H A D | allocate_module.c | 24 #define malloc(size) _test_malloc(size, __FILE__, __LINE__) macro 30 int * const temporary = (int*)malloc(sizeof(int)); 35 char * const memory = (char*)malloc(sizeof(int)); 41 char * const memory = (char*)malloc(sizeof(int));
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | pointer_to_self.cc | 11 void *p = malloc(1337);
|
H A D | use_after_return.cc | 13 void *stack_var = malloc(1337);
|
H A D | use_globals_initialized.cc | 14 data_var = malloc(1337);
|
H A D | use_globals_uninitialized.cc | 14 bss_var = malloc(1337);
|
H A D | use_stacks.cc | 12 void *stack_var = malloc(1337);
|
Completed in 1385 milliseconds
1234567891011>>