Searched refs:nothrow_t (Results 1 - 22 of 22) sorted by relevance

/external/clang/test/CodeGen/
H A Daddress-sanitizer-and-array-cookie.cpp6 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 Dmsan_new_delete.cc24 // 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 Dasan_new_delete.cc35 // 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 Dtsan_new_delete.cc21 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 Doverloaded-new.cpp3 // 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 Dnew-cpp.cpp3 // 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 Dsized_delete_array_calls_unsized_delete_array.pass.cpp30 void operator delete[](void* p, const std::nothrow_t&) throw()
H A Dsized_delete_array11.pass.cpp33 void operator delete[](void* p, const std::nothrow_t&) throw()
H A Dsized_delete_array14.pass.cpp38 void operator delete[](void* p, const std::nothrow_t&) throw()
H A Dsized_delete_array_fsizeddeallocation.sh.cpp46 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 Dsized_delete_calls_unsized_delete.pass.cpp30 void operator delete(void* p, const std::nothrow_t&) throw()
H A Dsized_delete11.pass.cpp33 void operator delete(void* p, const std::nothrow_t&) throw()
H A Dsized_delete14.pass.cpp38 void operator delete(void* p, const std::nothrow_t&) throw()
H A Dsized_delete_fsizeddeallocation.sh.cpp46 void operator delete(void* p, const std::nothrow_t&) throw()
/external/clang/test/CodeGenCXX/
H A Dnew.cpp23 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 Dcxa_new_delete.cpp69 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 Dnew.cpp73 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 Dsanitizer_allocator_testlib.cc152 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 DNewDelete-custom.cpp14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h75 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 Dlsan_interceptors.cc48 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 DMemory.h613 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() { \

Completed in 68 milliseconds