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

/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp25 // Fake std::nothrow_t to avoid including <new>.
27 struct nothrow_t {}; struct in namespace:std
43 void *operator new(size_t size, std::nothrow_t const&) {
47 void *operator new[](size_t size, std::nothrow_t const&) {
60 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
62 void operator delete[](void *ptr, std::nothrow_t const&) {
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_new_delete.cpp65 // Fake std::nothrow_t and std::align_val_t to avoid including <new>.
67 struct nothrow_t {}; struct in namespace:std
104 void *operator new(size_t size, std::nothrow_t const&)
107 void *operator new[](size_t size, std::nothrow_t const&)
116 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
119 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
129 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
132 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
165 void operator delete(void *ptr, std::nothrow_t const&)
168 void operator delete[](void *ptr, std::nothrow_t cons
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_new_delete.cpp25 // Fake std::nothrow_t and std::align_val_t to avoid including <new>.
27 struct nothrow_t {}; struct in namespace:std
49 void *operator new(size_t size, std::nothrow_t const&) {
53 void *operator new[](size_t size, std::nothrow_t const&) {
63 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
66 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
78 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
80 void operator delete[](void *ptr, std::nothrow_t const&) {
95 void operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&)
98 void operator delete[](void *ptr, std::align_val_t align, std::nothrow_t cons
[all...]
/freebsd-13-stable/contrib/llvm-project/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
45 void *operator new(size_t size, std::nothrow_t const&)
48 void *operator new[](size_t size, std::nothrow_t const&)
57 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
60 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
79 void operator delete(void *ptr, std::nothrow_t const&)
82 void operator delete[](void *ptr, std::nothrow_t const&)
97 void operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&)
100 void operator delete[](void *ptr, std::align_val_t align, std::nothrow_t cons
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_new_delete.cpp23 struct nothrow_t {}; struct in namespace:std
74 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
75 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) {
80 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
81 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) {
99 std::nothrow_t const&);
101 std::nothrow_t const&) {
108 std::nothrow_t const&);
110 std::nothrow_t const&) {
136 void operator delete(void *ptr, std::nothrow_t cons
[all...]
/freebsd-13-stable/contrib/llvm-project/libcxx/src/
H A Dnew.cpp33 const nothrow_t nothrow{};
86 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT
112 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT
138 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT
159 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT
207 operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT
233 operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT
263 operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT
284 operator delete[] (void* ptr, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT
/freebsd-13-stable/contrib/libcxxrt/
H A Dmemory.cc44 struct nothrow_t {}; struct in namespace:std
109 void* operator new(size_t size, const std::nothrow_t &) NOEXCEPT
136 void * operator new[](size_t size, const std::nothrow_t &) NOEXCEPT
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp22 struct nothrow_t {}; struct in namespace:std
33 std::nothrow_t const &) NOEXCEPT {
37 std::nothrow_t const &) NOEXCEPT {
49 std::nothrow_t const &) NOEXCEPT {
54 std::nothrow_t const &) NOEXCEPT {
65 INTERFACE WEAK void operator delete(void *ptr, std::nothrow_t const &)NOEXCEPT {
69 std::nothrow_t const &) NOEXCEPT {
88 std::nothrow_t const &)NOEXCEPT {
93 std::nothrow_t const &) NOEXCEPT {
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp49 struct nothrow_t;
239 void *operator new(size_t size, std::nothrow_t const&)
242 void *operator new[](size_t size, std::nothrow_t const&)
251 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
254 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
262 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
264 void operator delete[](void *ptr, std::nothrow_t const &)
279 void operator delete(void *ptr, std::align_val_t, std::nothrow_t const&)
282 void operator delete[](void *ptr, std::align_val_t, std::nothrow_t const&)
297 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t cons
[all...]
/freebsd-13-stable/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api.cpp48 namespace std { const nothrow_t nothrow = nothrow_t(); }

Completed in 284 milliseconds