/external/compiler-rt/lib/scudo/ |
H A D | scudo_new_delete.cpp | 24 // Fake std::nothrow_t to avoid including <new>. 26 struct nothrow_t {}; struct in namespace:std 38 void *operator new(size_t size, std::nothrow_t const&) { 42 void *operator new[](size_t size, std::nothrow_t const&) { 55 void operator delete(void *ptr, std::nothrow_t const&) NOEXCEPT { 59 void operator delete[](void *ptr, std::nothrow_t const&) NOEXCEPT {
|
/external/clang/test/CodeGen/ |
H A D | address-sanitizer-and-array-cookie.cpp | 6 struct nothrow_t {}; struct in namespace:std 7 std::nothrow_t nothrow; 9 void *operator new[](size_t, const std::nothrow_t &) throw();
|
/external/compiler-rt/lib/msan/ |
H A D | msan_new_delete.cc | 24 // Fake std::nothrow_t to avoid including <new>. 26 struct nothrow_t {}; struct in namespace:std 39 void *operator new(size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } 41 void *operator new[](size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } 52 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } 54 void operator delete[](void *ptr, std::nothrow_t const&) {
|
/external/compiler-rt/lib/asan/ |
H A D | asan_new_delete.cc | 51 // Fake std::nothrow_t to avoid including <new>. 53 struct nothrow_t {}; struct in namespace:std 82 void *operator new(size_t size, std::nothrow_t const&) 85 void *operator new[](size_t size, std::nothrow_t const&) 95 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 98 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 117 void operator delete(void *ptr, std::nothrow_t const&) { 121 void operator delete[](void *ptr, std::nothrow_t const&) { 142 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { 145 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t cons [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_new_delete.cc | 21 struct nothrow_t {}; struct in namespace:std 51 void *operator new(__sanitizer::uptr size, std::nothrow_t const&); 52 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { 57 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&); 58 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { 83 void operator delete(void *ptr, std::nothrow_t const&); 84 void operator delete(void *ptr, std::nothrow_t const&) { 89 void operator delete[](void *ptr, std::nothrow_t const&); 90 void operator delete[](void *ptr, std::nothrow_t const&) {
|
/external/clang/test/CodeGenCXX/ |
H A D | new.cpp | 23 struct nothrow_t {}; struct in namespace:std 25 std::nothrow_t nothrow; 34 void *operator new(size_t, const std::nothrow_t &) throw(); 35 void *operator new[](size_t, const std::nothrow_t &) throw(); 36 void operator delete(void *, const std::nothrow_t &) throw(); 37 void operator delete[](void *, const std::nothrow_t &) throw();
|
/external/clang/test/Analysis/Inputs/ |
H A D | system-header-simulator-cxx.h | 78 struct nothrow_t {}; struct in namespace:std 80 extern const nothrow_t nothrow; 234 void* operator new(std::size_t, const std::nothrow_t&) throw(); 235 void* operator new[](std::size_t, const std::nothrow_t&) throw(); 236 void operator delete(void*, const std::nothrow_t&) throw(); 237 void operator delete[](void*, const std::nothrow_t&) throw();
|