Searched refs:malloc (Results 76 - 100 of 2881) sorted by relevance

1234567891011>>

/external/clang/test/Analysis/
H A Dmalloc.c8 void *malloc(size_t);
23 int *p = malloc(12);
28 int *p = malloc(12);
34 int *p = malloc(12);
40 int *p = malloc(12);
46 char *p = (char*)malloc(size);
54 int *q = malloc(12);
61 char *p = malloc(12);
71 char *p = malloc(12);
81 char *p = malloc(1
[all...]
H A Dmalloc-plist.c6 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 Dundef-buffers.c3 void *malloc(size_t);
30 char *buf = malloc(2);
38 char *buf = malloc(2);
/external/valgrind/main/memcheck/tests/s390x/
H A Dcu42.c47 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 Dallocators_sanity.cc4 #include <malloc.h>
8 int *p = (int*)malloc(1024 * sizeof(int));
12 p = (int*)malloc(128);
H A Ddll_allocators_sanity.cc5 #include <malloc.h>
10 int *p = (int*)malloc(1024 * sizeof(int));
14 p = (int*)malloc(128);
H A Ddll_stack_use_after_return.cc5 #include <malloc.h>
H A Duse_after_realloc.cc4 #include <malloc.h>
/external/valgrind/main/memcheck/tests/
H A Drealloc3.c5 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);
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........
/external/chromium_org/tools/gyp/test/link-dependency/
H A Dmymalloc.c9 void *malloc(size_t size) { function
/external/cmockery/cmockery_0_1_2/src/example/
H A Dallocate_module.c24 #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/
H A Don_error_callback.cc15 char *x = (char*)malloc(10 * sizeof(char));
/external/compiler-rt/test/lsan/TestCases/
H A Dpointer_to_self.cc11 void *p = malloc(1337);
H A Duse_after_return.cc13 void *stack_var = malloc(1337);
H A Duse_globals_initialized.cc14 data_var = malloc(1337);
H A Duse_globals_uninitialized.cc14 bss_var = malloc(1337);
H A Duse_stacks.cc12 void *stack_var = malloc(1337);
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/lldb/test/functionalities/inferior-changed/
H A Dmain2.c14 int *int_ptr = (int *)malloc(sizeof(int));

Completed in 1388 milliseconds

1234567891011>>