Searched defs:nothrow_t (Results 1 - 7 of 7) sorted by relevance

/external/compiler-rt/lib/scudo/
H A Dscudo_new_delete.cpp24 // 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 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.cc51 // 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 Dtsan_new_delete.cc21 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 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/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h78 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();

Completed in 327 milliseconds