Home
last modified time | relevance | path

Searched refs:my_malloc (Results 1 – 6 of 6) sorted by relevance

/external/clang/test/Analysis/
Dmalloc-annotations.c7 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 …]
Dmalloc-plist.c189 int *my_malloc() { in my_malloc() function
194 my_malloc(); in testOnlyRefferToVisibleVariables()
DMismatchedDeallocator-checker-test.mm11 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/
D2009-06-01-RecursivePHI.ll12 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/valgrind/auxprogs/
Dvalgrind-di-server.c161 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/
Dtest_ppc_jm1.c298 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()