Searched refs:malloc (Results 76 - 100 of 2359) sorted by relevance
1234567891011>>
/external/valgrind/memcheck/tests/ |
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.c | 8 void *malloc(size_t); 24 int *p = malloc(12); 29 int *p = malloc(12); 35 int *p = malloc(12); 41 int *p = malloc(12); 47 char *p = (char*)malloc(size); 63 int *q = malloc(12); 70 char *p = malloc(12); 80 char *p = malloc(12); 90 char *p = 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 | 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); 93 p = (int*)malloc(12); 103 char *x = (char*)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/asan/TestCases/Posix/ |
H A D | assign_large_valloc_to_global.cc | 6 # include <malloc.h>
|
/external/compiler-rt/test/asan/TestCases/ |
H A D | on_error_callback.cc | 12 char *x = (char*)malloc(10 * sizeof(char));
|
/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);
|
H A D | use_tls_static.cc | 14 tls_var = malloc(1337);
|
/external/compiler-rt/test/msan/ |
H A D | check_mem_is_initialized.cc | 23 int *volatile p = (int *)malloc(sizeof(int)); 30 // CHECK-ORIGINS: {{#0 0x.* in .*malloc}}
|
H A D | keep-going.cc | 27 char *volatile x = (char*)malloc(5 * sizeof(char));
|
H A D | use-after-free.cc | 21 int *volatile p = (int *)malloc(sizeof(int));
|
/external/lldb/test/functionalities/inferior-changed/ |
H A D | main2.c | 14 int *int_ptr = (int *)malloc(sizeof(int));
|
Completed in 412 milliseconds
1234567891011>>