Home
last modified time | relevance | path

Searched refs:my_malloc (Results 1 – 9 of 9) 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/swiftshader/third_party/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/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/llvm/test/Transforms/InstCombine/
Dallocsize-32.ll9 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)
Dallocsize.ll8 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/
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/pcre/dist2/src/
Dpcre2test.c2375 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); \