Home
last modified time | relevance | path

Searched refs:nothrow_t (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_new_delete.cpp23 struct nothrow_t {}; struct
74 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
75 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
80 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
81 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
99 std::nothrow_t const&);
101 std::nothrow_t const&) { in operator new()
108 std::nothrow_t const&);
110 std::nothrow_t const&) { in operator new[]()
136 void operator delete(void *ptr, std::nothrow_t const&);
[all …]
/freebsd/contrib/jemalloc/src/
H A Djemalloc_cpp.cpp29 void *operator new(std::size_t size, const std::nothrow_t &) noexcept;
30 void *operator new[](std::size_t size, const std::nothrow_t &) noexcept;
33 void operator delete(void *ptr, const std::nothrow_t &) noexcept;
34 void operator delete[](void *ptr, const std::nothrow_t &) noexcept;
45 void *operator new(std::size_t size, std::align_val_t, const std::nothrow_t &) noexcept;
47 void *operator new[](std::size_t size, std::align_val_t, const std::nothrow_t &) noexcept;
49 void operator delete(void* ptr, std::align_val_t, const std::nothrow_t &) noexcept;
52 void operator delete[](void* ptr, std::align_val_t, const std::nothrow_t &) noexcept;
123 operator new(std::size_t size, const std::nothrow_t &) noexcept { in operator new() argument
128 operator new[](std::size_t size, const std::nothrow_t &) noexcept { in operator new[]() argument
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_new_delete.cpp56 struct nothrow_t {}; struct
113 void *operator new(size_t size, std::nothrow_t const &) { in operator new()
117 void *operator new[](size_t size, std::nothrow_t const &) { in operator new[]()
130 std::nothrow_t const &) { in operator new()
135 std::nothrow_t const &) { in operator new[]()
142 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
145 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
181 void operator delete(void *ptr, std::nothrow_t const &) { in operator delete()
185 void operator delete[](void *ptr, std::nothrow_t const &) { in operator delete[]()
206 std::nothrow_t const &) { in operator delete()
[all …]
/freebsd/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
55 void *operator new(size_t size, std::nothrow_t const&) { in operator new[]()
59 void *operator new[](size_t size, std::nothrow_t const&) {
69 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&)
72 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&)
84 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } in operator delete()
86 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
101 void operator delete(void *ptr, std::align_val_t align, std::nothrow_t const&) in operator delete()
104 void operator delete[](void *ptr, std::align_val_t align, std::nothrow_t cons
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_new_delete.cpp25 struct nothrow_t {}; struct
50 void *operator new(size_t size, std::nothrow_t const &) { in operator new()
54 void *operator new[](size_t size, std::nothrow_t const &) { in operator new[]()
67 std::nothrow_t const &) { in operator new()
72 std::nothrow_t const &) { in operator new[]()
85 void operator delete(void *ptr, std::nothrow_t const &) { in operator delete()
89 void operator delete[](void *ptr, std::nothrow_t const &) { in operator delete[]()
108 std::nothrow_t const &) { in operator delete()
113 std::nothrow_t const &) { in operator delete[]()
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan_new_delete.cpp26 struct nothrow_t {}; struct
52 void *operator new(size_t size, std::nothrow_t const &) { in operator new()
56 void *operator new[](size_t size, std::nothrow_t const &) { in operator new[]()
69 std::nothrow_t const &) { in operator new()
74 std::nothrow_t const &) { in operator new[]()
87 void operator delete(void *ptr, std::nothrow_t const &) { in operator delete()
91 void operator delete[](void *ptr, std::nothrow_t const &) { in operator delete[]()
110 std::nothrow_t const &) { in operator delete()
115 std::nothrow_t const &) { in operator delete[]()
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_new_delete.cpp118 struct nothrow_t {}; struct
129 size_t size, std::nothrow_t const &) { in operator new()
133 size_t size, std::nothrow_t const &) { in operator new[]()
146 void *ptr, std::nothrow_t const &) { in operator delete()
150 void *ptr, std::nothrow_t const &) { in operator delete[]()
179 size_t size, std::align_val_t align, std::nothrow_t const &) { in operator new()
183 size_t size, std::align_val_t align, std::nothrow_t const &) { in operator new[]()
196 void *ptr, std::align_val_t, std::nothrow_t const &) NOEXCEPT { in operator delete()
200 void *ptr, std::align_val_t, std::nothrow_t const &) NOEXCEPT { in operator delete[]()
212 void *ptr, size_t, std::align_val_t, std::nothrow_t const &) NOEXCEPT { in operator delete()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_new_delete.cpp29 struct nothrow_t {}; struct
55 void *operator new(size_t size, std::nothrow_t const &) { in operator new()
59 void *operator new[](size_t size, std::nothrow_t const &) { in operator new[]()
72 std::nothrow_t const &) { in operator new()
77 std::nothrow_t const &) { in operator new[]()
104 void operator delete(void *ptr, std::nothrow_t const &) { in operator delete()
108 void operator delete[](void *ptr, std::nothrow_t const &) { in operator delete[]()
129 std::nothrow_t const &) { in operator delete()
134 std::nothrow_t const &) { in operator delete[]()
/freebsd/contrib/llvm-project/libcxx/include/__new/
H A Dglobal_new_delete.h38 … _LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new(std::size_t __sz, const std::nothrow_t&) _NOEXCEPT
41 _LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete(void* __p, const std::nothrow_t&) _NOEXCEPT;
47 …LIBCPP_OVERRIDABLE_FUNC_VIS void* operator new[](std::size_t __sz, const std::nothrow_t&) _NOEXCEPT
50 _LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete[](void* __p, const std::nothrow_t&) _NOEXCEPT;
58 operator new(std::size_t __sz, std::align_val_t, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
60 _LIBCPP_OVERRIDABLE_FUNC_VIS void operator delete(void* __p, std::align_val_t, const std::nothrow_t
68 operator new[](std::size_t __sz, std::align_val_t, const std::nothrow_t&) _NOEXCEPT _LIBCPP_NOALIAS;
70 …ABLE_FUNC_VIS void operator delete[](void* __p, std::align_val_t, const std::nothrow_t&) _NOEXCEPT;
H A Dnothrow_t.h22 struct _LIBCPP_EXPORTED_FROM_ABI nothrow_t { struct
23 explicit nothrow_t() = default;
25 extern _LIBCPP_EXPORTED_FROM_ABI const nothrow_t nothrow;
/freebsd/contrib/llvm-project/libcxx/include/
H A Dnew42 struct nothrow_t { explicit nothrow_t() = default; };
43 extern const nothrow_t nothrow;
54 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable, nodiscard i…
56 … const std::nothrow_t&) noexcept; // replaceable, C++17, nodiscard in C++20
62 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
64 const std::nothrow_t&) noexcept; // replaceable, C++17
69 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable, nodiscard i…
71 … const std::nothrow_t&) noexcept; // replaceable, C++17, nodiscard in C++20
78 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
80 const std::nothrow_t&) noexcept; // replaceable, C++17
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_cpp.cpp23 struct nothrow_t {};
49 std::nothrow_t const &) NOEXCEPT { in operator new()
55 std::nothrow_t const &) NOEXCEPT { in operator new[]()
73 std::nothrow_t const &) NOEXCEPT { in operator delete()
80 std::nothrow_t const &) NOEXCEPT { in operator delete()
96 std::nothrow_t const &) NOEXCEPT { in operator delete[]()
101 std::nothrow_t const &) NOEXCEPT { in operator delete()
126 std::nothrow_t const &) NOEXCEPT {
132 std::nothrow_t const &) NOEXCEPT {
20 struct nothrow_t {}; global() struct
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dnew42 struct nothrow_t { explicit nothrow_t() = default; };
43 extern const nothrow_t nothrow;
54 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable, nodiscard i…
56 … const std::nothrow_t&) noexcept; // replaceable, C++17, nodiscard in C++20
62 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
64 const std::nothrow_t&) noexcept; // replaceable, C++17
69 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable, nodiscard i…
71 … const std::nothrow_t&) noexcept; // replaceable, C++17, nodiscard in C++20
78 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
80 const std::nothrow_t&) noexcept; // replaceable, C++17
[all …]
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dnew12 // We need the system <new> for the std::nothrow_t. The new/delete operators
13 // which do not use nothrow_t are provided without the <new> header.
28 const std::nothrow_t &) OPENMP_NOEXCEPT {
32 inline void *operator new[](__SIZE_TYPE__ size, const std::nothrow_t &) {
36 inline void operator delete(void *ptr, const std::nothrow_t &)OPENMP_NOEXCEPT {
41 const std::nothrow_t &) OPENMP_NOEXCEPT {
/freebsd/contrib/llvm-project/libcxx/src/
H A Dnew.cpp53 _LIBCPP_WEAK void* operator new(size_t size, const std::nothrow_t&) noexcept { in operator new() argument
79 _LIBCPP_WEAK void* operator new[](size_t size, const std::nothrow_t&) noexcept { in operator new[]() argument
105 _LIBCPP_WEAK void operator delete(void* ptr, const std::nothrow_t&) noexcept { ::operator delete(pt… in operator delete() argument
111 _LIBCPP_WEAK void operator delete[](void* ptr, const std::nothrow_t&) noexcept { ::operator delete[… in operator delete[]() argument
144 _LIBCPP_WEAK void* operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) noe… in operator new() argument
172 _LIBCPP_WEAK void* operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) n… in operator new[]() argument
198 _LIBCPP_WEAK void operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) noe… in operator delete() argument
210 _LIBCPP_WEAK void operator delete[](void* ptr, std::align_val_t alignment, const std::nothrow_t&) n… in operator delete[]() argument
H A Dnew_helpers.cpp15 const nothrow_t nothrow{};
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cpp65 struct nothrow_t;
283 void *operator new(size_t size, std::nothrow_t const&) in operator new()
286 void *operator new[](size_t size, std::nothrow_t const&) in operator new[]()
295 void *operator new(size_t size, std::align_val_t align, std::nothrow_t const&) in operator new()
298 void *operator new[](size_t size, std::align_val_t align, std::nothrow_t const&) in operator new[]()
306 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } in operator delete()
308 void operator delete[](void *ptr, std::nothrow_t const &) in operator delete[]()
323 void operator delete(void *ptr, std::align_val_t, std::nothrow_t const&) in operator delete()
326 void operator delete[](void *ptr, std::align_val_t, std::nothrow_t const&) in operator delete[]()
341 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) in INTERCEPTOR()
[all …]
/freebsd/contrib/libcxxrt/
H A Dmemory.cc44 struct nothrow_t {}; struct
139 void* operator new(size_t size, const std::nothrow_t &) _LIBCXXRT_NOEXCEPT in operator new() argument
160 void * operator new[](size_t size, const std::nothrow_t &) _LIBCXXRT_NOEXCEPT in operator new[]() argument
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dnew51 const std::nothrow_t &) CUDA_NOEXCEPT {
59 const std::nothrow_t &) {
69 const std::nothrow_t &) CUDA_NOEXCEPT {
77 const std::nothrow_t &) CUDA_NOEXCEPT {
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def49 /// void *operator new(unsigned int, const std::nothrow_t&);
59 /// void *operator new(unsigned long long, const std::nothrow_t&);
69 /// void operator delete(void*, const std::nothrow_t&);
84 /// void operator delete(void*, const std::nothrow_t&);
99 /// void *operator new[](unsigned int, const std::nothrow_t&);
109 /// void *operator new[](unsigned long long, const std::nothrow_t&);
119 /// void operator delete[](void*, const std::nothrow_t&);
134 /// void operator delete[](void*, const std::nothrow_t&);
159 /// void operator delete[](void*, const std::nothrow_t&);
169 /// void operator delete[](void*, std::align_val_t, const std::nothrow_t&)
[all …]
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dnew.inc22 using std::nothrow_t;
H A Dnew.cppm
/freebsd/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api.cpp48 namespace std { const nothrow_t nothrow = nothrow_t(); }
/freebsd/lib/libcxxrt/
H A DVersion.map300 "operator new(unsigned %%NEW_DELETE_TYPE%%, std::nothrow_t const&)";
H A DVersion.map.arm301 "operator new(unsigned int, std::nothrow_t const&)";

12