Searched refs:my_malloc (Results 1 – 10 of 10) sorted by relevance
/external/clang/test/Analysis/ |
D | malloc-annotations.c | 7 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); 61 int *p = my_malloc(12); in af1() 66 int *p = my_malloc(12); in af1_b() 70 myglobalpointer = my_malloc(12); // no-warning in af1_c() 75 mystuff.somefield = my_malloc(12); in af1_d() 80 *pp = my_malloc(42); // no-warning in af1_e() 84 somestuff->somefield = my_malloc(12); // no-warning in af1_f() 89 *pps = my_malloc(sizeof(struct stuff)); // no-warning in af1_g() 90 (*pps)->somefield = my_malloc(42); // no-warning in af1_g() 94 int *p = my_malloc(12); in af2() [all …]
|
D | malloc-plist.c | 189 int *my_malloc() { in my_malloc() function 194 my_malloc(); in testOnlyRefferToVisibleVariables()
|
D | MismatchedDeallocator-checker-test.mm | 11 void __attribute((ownership_returns(malloc))) *my_malloc(size_t); function 43 int *p = (int *)my_malloc(sizeof(int)); 44 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no…
|
/external/llvm/test/Transforms/GlobalOpt/ |
D | 2009-06-01-RecursivePHI.ll | 12 br i1 undef, label %bb.i, label %my_malloc.exit 17 my_malloc.exit: ; preds = %entry 18 br i1 undef, label %bb.i81, label %my_malloc.exit83 20 bb.i81: ; preds = %my_malloc.exit 23 my_malloc.exit83: ; preds = %my_malloc.exit 26 bb.i.i57: ; preds = %my_malloc.exit83 29 my_calloc.exit.i: ; preds = %my_malloc.exit83 55 br i1 undef, label %bb.i1.i68, label %my_malloc.exit.i70 60 my_malloc.exit.i70: ; preds = %bb8.i67 64 bb9.i71: ; preds = %bb9.i71, %my_malloc.exit.i70 [all …]
|
/external/swiftshader/third_party/LLVM/test/Transforms/GlobalOpt/ |
D | 2009-06-01-RecursivePHI.ll | 12 br i1 undef, label %bb.i, label %my_malloc.exit 17 my_malloc.exit: ; preds = %entry 18 br i1 undef, label %bb.i81, label %my_malloc.exit83 20 bb.i81: ; preds = %my_malloc.exit 23 my_malloc.exit83: ; preds = %my_malloc.exit 26 bb.i.i57: ; preds = %my_malloc.exit83 29 my_calloc.exit.i: ; preds = %my_malloc.exit83 55 br i1 undef, label %bb.i1.i68, label %my_malloc.exit.i70 60 my_malloc.exit.i70: ; preds = %bb8.i67 64 bb9.i71: ; preds = %bb9.i71, %my_malloc.exit.i70 [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | allocsize-32.ll | 9 declare i8* @my_malloc(i8*, i64) allocsize(1) 12 %1 = call i8* @my_malloc(i8* null, i64 100) 20 %3 = call i8* @my_malloc(i8* null, i64 5000000000)
|
D | allocsize.ll | 8 declare i8* @my_malloc(i8*, i32) allocsize(1) 13 %1 = call i8* @my_malloc(i8* null, i32 100) 36 %1 = call i8* @my_malloc(i8* null, i32 %n)
|
/external/valgrind/auxprogs/ |
D | valgrind-di-server.c | 161 static void *my_malloc(size_t amount) in my_malloc() function 827 UChar* unzBuf = my_malloc(req_len); in handle_transaction() 846 UChar* zBuf = my_malloc(zLenMax); in handle_transaction() 1098 conn_state = my_malloc(M_CONNECTIONS * sizeof conn_state[0]); in main() 1202 tmp_pollfd = my_malloc(M_CONNECTIONS * sizeof tmp_pollfd[0]); in main() 1209 my_malloc(M_CONNECTIONS * sizeof tmp_pollfd_to_conn_state[0]); in main()
|
/external/valgrind/VEX/switchback/ |
D | test_ppc_jm1.c | 298 void* my_malloc ( int n ) in my_malloc() function 3608 fargs = my_malloc(200 * sizeof(double)); in build_fargs_table() 3676 iargs = my_malloc(400 * sizeof(uint32_t)); in build_iargs_table() 3695 ii16 = my_malloc(200 * sizeof(uint32_t)); in build_ii16_table()
|
/external/pcre/dist2/src/ |
D | pcre2test.c | 2375 static void *my_malloc(size_t size, void *data) in my_malloc() function 7443 G(general_context,BITS) = G(pcre2_general_context_create_,BITS)(&my_malloc, &my_free, NULL); \
|