Home
last modified time | relevance | path

Searched refs:OPERATOR_NEW_BODY (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/compiler-rt/lib/hwasan/
Dhwasan_new_delete.cpp25 #define OPERATOR_NEW_BODY(nothrow) \ macro
41 #define OPERATOR_NEW_BODY(nothrow) return malloc(size) macro
46 #ifdef OPERATOR_NEW_BODY
58 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new()
60 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new[]()
63 OPERATOR_NEW_BODY(true /*nothrow*/); in operator new()
67 OPERATOR_NEW_BODY(true /*nothrow*/); in operator new[]()
/external/compiler-rt/lib/asan/
Dasan_new_delete.cc56 #define OPERATOR_NEW_BODY(type) \ macro
78 void *operator new(size_t size) { OPERATOR_NEW_BODY(FROM_NEW); } in operator new()
80 void *operator new[](size_t size) { OPERATOR_NEW_BODY(FROM_NEW_BR); } in operator new[]()
83 { OPERATOR_NEW_BODY(FROM_NEW); } in operator new()
86 { OPERATOR_NEW_BODY(FROM_NEW_BR); } in operator new[]()
90 OPERATOR_NEW_BODY(FROM_NEW); in INTERCEPTOR()
93 OPERATOR_NEW_BODY(FROM_NEW_BR); in INTERCEPTOR()
96 OPERATOR_NEW_BODY(FROM_NEW); in INTERCEPTOR()
99 OPERATOR_NEW_BODY(FROM_NEW_BR); in INTERCEPTOR()
/external/compiler-rt/lib/msan/
Dmsan_new_delete.cc30 #define OPERATOR_NEW_BODY \ macro
35 void *operator new(size_t size) { OPERATOR_NEW_BODY; } in operator new()
37 void *operator new[](size_t size) { OPERATOR_NEW_BODY; } in operator new[]()
39 void *operator new(size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new()
41 void *operator new[](size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new[]()
/external/llvm-project/compiler-rt/lib/asan/
Dasan_new_delete.cpp74 #define OPERATOR_NEW_BODY(type, nothrow) \ macro
99 { OPERATOR_NEW_BODY(FROM_NEW, false /*nothrow*/); } in operator new()
102 { OPERATOR_NEW_BODY(FROM_NEW_BR, false /*nothrow*/); } in operator new[]()
105 { OPERATOR_NEW_BODY(FROM_NEW, true /*nothrow*/); } in operator new()
108 { OPERATOR_NEW_BODY(FROM_NEW_BR, true /*nothrow*/); } in operator new[]()
124 OPERATOR_NEW_BODY(FROM_NEW, false /*nothrow*/); in INTERCEPTOR()
127 OPERATOR_NEW_BODY(FROM_NEW_BR, false /*nothrow*/); in INTERCEPTOR()
130 OPERATOR_NEW_BODY(FROM_NEW, true /*nothrow*/); in INTERCEPTOR()
133 OPERATOR_NEW_BODY(FROM_NEW_BR, true /*nothrow*/); in INTERCEPTOR()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_new_delete.cc27 #define OPERATOR_NEW_BODY(mangled_name) \ macro
41 OPERATOR_NEW_BODY(_Znwm); in operator new()
47 OPERATOR_NEW_BODY(_Znam); in operator new[]()
53 OPERATOR_NEW_BODY(_ZnwmRKSt9nothrow_t); in operator new()
59 OPERATOR_NEW_BODY(_ZnamRKSt9nothrow_t); in operator new[]()
/external/llvm-project/compiler-rt/lib/msan/
Dmsan_new_delete.cpp33 #define OPERATOR_NEW_BODY(nothrow) \ macro
45 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new()
47 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new[]()
50 OPERATOR_NEW_BODY(true /*nothrow*/); in operator new()
54 OPERATOR_NEW_BODY(true /*nothrow*/); in operator new[]()
/external/llvm-project/compiler-rt/lib/scudo/
Dscudo_new_delete.cpp35 #define OPERATOR_NEW_BODY(Type, NoThrow) \ macro
40 { OPERATOR_NEW_BODY(FromNew, /*NoThrow=*/false); } in operator new()
43 { OPERATOR_NEW_BODY(FromNewArray, /*NoThrow=*/false); } in operator new[]()
46 { OPERATOR_NEW_BODY(FromNew, /*NoThrow=*/true); } in operator new()
49 { OPERATOR_NEW_BODY(FromNewArray, /*NoThrow=*/true); } in operator new[]()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_new_delete.cpp33 #define OPERATOR_NEW_BODY(type, nothrow) \ macro
48 OPERATOR_NEW_BODY(FROM_NEW, false /*nothrow*/); in operator new()
52 OPERATOR_NEW_BODY(FROM_NEW_BR, false /*nothrow*/); in operator new[]()
56 OPERATOR_NEW_BODY(FROM_NEW, true /*nothrow*/); in operator new()
60 OPERATOR_NEW_BODY(FROM_NEW_BR, true /*nothrow*/); in operator new[]()
/external/llvm-project/compiler-rt/lib/lsan/
Dlsan_interceptors.cpp212 #define OPERATOR_NEW_BODY(nothrow)\ macro
238 void *operator new(size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new()
240 void *operator new[](size_t size) { OPERATOR_NEW_BODY(false /*nothrow*/); } in operator new[]()
243 { OPERATOR_NEW_BODY(true /*nothrow*/); } in operator new()
246 { OPERATOR_NEW_BODY(true /*nothrow*/); } in operator new[]()
297 { OPERATOR_NEW_BODY(false /*nothrow*/); } in INTERCEPTOR()
299 { OPERATOR_NEW_BODY(false /*nothrow*/); } in INTERCEPTOR()
301 { OPERATOR_NEW_BODY(true /*nothrow*/); } in INTERCEPTOR()
303 { OPERATOR_NEW_BODY(true /*nothrow*/); } in INTERCEPTOR()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_new_delete.cpp31 #define OPERATOR_NEW_BODY(mangled_name, nothrow) \ macro
64 OPERATOR_NEW_BODY(_Znwm, false /*nothrow*/); in operator new()
70 OPERATOR_NEW_BODY(_Znam, false /*nothrow*/); in operator new[]()
76 OPERATOR_NEW_BODY(_ZnwmRKSt9nothrow_t, true /*nothrow*/); in operator new()
82 OPERATOR_NEW_BODY(_ZnamRKSt9nothrow_t, true /*nothrow*/); in operator new[]()
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc158 #define OPERATOR_NEW_BODY \ macro
164 void *operator new(uptr size) { OPERATOR_NEW_BODY; } in operator new()
166 void *operator new[](uptr size) { OPERATOR_NEW_BODY; } in operator new[]()
168 void *operator new(uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new()
170 void *operator new[](uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new[]()