/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 | 35 // Fake std::nothrow_t to avoid including <new>. 37 struct nothrow_t {}; struct in namespace:std 66 void *operator new(size_t size, std::nothrow_t const&) 69 void *operator new[](size_t size, std::nothrow_t const&) 79 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 82 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 101 void operator delete(void *ptr, std::nothrow_t const&) { 105 void operator delete[](void *ptr, std::nothrow_t const&) { 126 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { 129 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 55 void *operator new(__sanitizer::uptr size, std::nothrow_t const&); 56 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { 61 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&); 62 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { 87 void operator delete(void *ptr, std::nothrow_t const&); 88 void operator delete(void *ptr, std::nothrow_t const&) { 93 void operator delete[](void *ptr, std::nothrow_t const&); 94 void operator delete[](void *ptr, std::nothrow_t const&) {
|
/external/valgrind/massif/tests/ |
H A D | overloaded-new.cpp | 3 // operator new(unsigned, std::nothrow_t const&) 4 // operator new[](unsigned, std::nothrow_t const&) 10 using std::nothrow_t; 22 __attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) throw () 32 __attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw ()
|
H A D | new-cpp.cpp | 3 // operator new(unsigned, std::nothrow_t const&) 4 // operator new[](unsigned, std::nothrow_t const&) 10 using std::nothrow_t;
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
H A D | sized_delete_array_calls_unsized_delete_array.pass.cpp | 30 void operator delete[](void* p, const std::nothrow_t&) throw()
|
H A D | sized_delete_array11.pass.cpp | 33 void operator delete[](void* p, const std::nothrow_t&) throw()
|
H A D | sized_delete_array14.pass.cpp | 38 void operator delete[](void* p, const std::nothrow_t&) throw()
|
H A D | sized_delete_array_fsizeddeallocation.sh.cpp | 46 void operator delete[](void* p, const std::nothrow_t&) throw()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
H A D | sized_delete_calls_unsized_delete.pass.cpp | 30 void operator delete(void* p, const std::nothrow_t&) throw()
|
H A D | sized_delete11.pass.cpp | 33 void operator delete(void* p, const std::nothrow_t&) throw()
|
H A D | sized_delete14.pass.cpp | 38 void operator delete(void* p, const std::nothrow_t&) throw()
|
H A D | sized_delete_fsizeddeallocation.sh.cpp | 46 void operator delete(void* p, const std::nothrow_t&) throw()
|
/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/libcxxabi/src/ |
H A D | cxa_new_delete.cpp | 69 operator new(size_t size, const std::nothrow_t&) 110 operator new[](size_t size, const std::nothrow_t&) 154 operator delete(void* ptr, const std::nothrow_t&) 188 operator delete[] (void* ptr, const std::nothrow_t&)
|
/external/libcxx/src/ |
H A D | new.cpp | 73 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT 102 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT 129 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT 150 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT 168 const nothrow_t nothrow = {};
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_allocator_testlib.cc | 152 struct nothrow_t; 157 void *operator new(size_t size, std::nothrow_t const&) ALIAS("malloc"); 158 void *operator new[](size_t size, std::nothrow_t const&) ALIAS("malloc"); 161 void operator delete(void *ptr, std::nothrow_t const&) ALIAS("free"); 162 void operator delete[](void *ptr, std::nothrow_t const&) ALIAS("free");
|
/external/clang/test/Analysis/ |
H A D | NewDelete-custom.cpp | 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
|
/external/clang/test/Analysis/Inputs/ |
H A D | system-header-simulator-cxx.h | 75 struct nothrow_t {}; struct in namespace:std 77 extern const nothrow_t nothrow; 203 void* operator new(std::size_t, const std::nothrow_t&) throw(); 204 void* operator new[](std::size_t, const std::nothrow_t&) throw(); 205 void operator delete(void*, const std::nothrow_t&) throw(); 206 void operator delete[](void*, const std::nothrow_t&) throw();
|
/external/compiler-rt/lib/lsan/ |
H A D | lsan_interceptors.cc | 48 struct nothrow_t; 158 void *operator new(uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } 160 void *operator new[](uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } 171 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } 173 void operator delete[](void *ptr, std::nothrow_t const &) {
|
/external/eigen/Eigen/src/Core/util/ |
H A D | Memory.h | 613 void* operator new(size_t size, const std::nothrow_t&) throw() { \ 619 void* operator new(size_t size, const std::nothrow_t&) throw() { \ 642 void operator delete(void *ptr, const std::nothrow_t&) throw() { \
|