Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/tsan/rtl/
Dtsan_new_delete.cc21 struct nothrow_t {}; struct
51 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
52 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
57 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
58 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
83 void operator delete(void *ptr, std::nothrow_t const&);
84 void operator delete(void *ptr, std::nothrow_t const&) { in operator delete()
89 void operator delete[](void *ptr, std::nothrow_t const&);
90 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
/external/compiler-rt/lib/asan/
Dasan_new_delete.cc53 struct nothrow_t {}; struct
82 void *operator new(size_t size, std::nothrow_t const&) in operator new()
85 void *operator new[](size_t size, std::nothrow_t const&) in operator new[]()
95 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
98 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
117 void operator delete(void *ptr, std::nothrow_t const&) { in operator delete()
121 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
142 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR()
145 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR()
/external/jemalloc_new/src/
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;
96 operator new(std::size_t size, const std::nothrow_t &) noexcept { in operator new() argument
101 operator new[](std::size_t size, const std::nothrow_t &) noexcept { in operator new[]() argument
116 operator delete(void *ptr, const std::nothrow_t &) noexcept { in operator delete() argument
120 void operator delete[](void *ptr, const std::nothrow_t &) noexcept { in operator delete[]() argument
/external/libcxx/src/
Dnew.cpp38 const nothrow_t nothrow = {};
91 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT in operator new() argument
117 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
143 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
164 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
212 operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator new() argument
238 operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
268 operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
289 operator delete[] (void* ptr, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
/external/libcxxabi/src/
Dstdlib_new_delete.cpp51 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT in operator new() argument
77 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
104 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
125 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
173 operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator new() argument
199 operator new[](size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
230 operator delete(void* ptr, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
251 operator delete[] (void* ptr, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
/external/compiler-rt/lib/msan/
Dmsan_new_delete.cc26 struct nothrow_t {}; struct
39 void *operator new(size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new()
41 void *operator new[](size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new[]()
52 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } in operator delete()
54 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
/external/compiler-rt/lib/scudo/
Dscudo_new_delete.cpp26 struct nothrow_t {}; struct
38 void *operator new(size_t size, std::nothrow_t const&) { in operator new()
42 void *operator new[](size_t size, std::nothrow_t const&) { in operator new[]()
55 void operator delete(void *ptr, std::nothrow_t const&) NOEXCEPT { in operator delete()
59 void operator delete[](void *ptr, std::nothrow_t const&) NOEXCEPT { in operator delete[]()
/external/libcxx/include/
Dnew37 struct nothrow_t {};
38 extern const nothrow_t nothrow;
49 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable, nodiscard i…
51 … const std::nothrow_t&) noexcept; // replaceable, C++17, nodiscard in C++2a
57 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
59 const std::nothrow_t&) noexcept; // replaceable, C++17
64 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable, nodiscard i…
66 … const std::nothrow_t&) noexcept; // replaceable, C++17, nodiscard in C++2a
73 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
75 const std::nothrow_t&) noexcept; // replaceable, C++17
[all …]
/external/clang/test/CodeGenCXX/
Dnew.cpp23 struct nothrow_t {}; struct
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/libchrome/base/allocator/
Dallocator_shim_override_cpp_symbols.h35 const std::nothrow_t&) __THROW { in new() argument
40 const std::nothrow_t&) __THROW {
44 SHIM_ALWAYS_EXPORT void operator delete(void* p, const std::nothrow_t&) __THROW { in delete() argument
49 const std::nothrow_t&) __THROW {
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc154 struct nothrow_t;
159 void *operator new(size_t size, std::nothrow_t const&) ALIAS("malloc");
160 void *operator new[](size_t size, std::nothrow_t const&) ALIAS("malloc");
163 void operator delete(void *ptr, std::nothrow_t const&) ALIAS("free");
164 void operator delete[](void *ptr, std::nothrow_t const&) ALIAS("free");
/external/clang/test/CodeGen/
Daddress-sanitizer-and-array-cookie.cpp6 struct nothrow_t {}; struct
7 std::nothrow_t nothrow;
9 void *operator new[](size_t, const std::nothrow_t &) throw();
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h78 struct nothrow_t {}; struct
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();
/external/compiler-rt/lib/lsan/
Dlsan_interceptors.cc50 struct nothrow_t;
168 void *operator new(uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new()
170 void *operator new[](uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new[]()
181 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } in operator delete()
183 void operator delete[](void *ptr, std::nothrow_t const &) { in operator delete[]()
/external/libcxx/fuzzing/
Dfuzz_test.cpp62 void* operator new(std::size_t size, const std::nothrow_t&) noexcept in operator new() argument
74 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept in operator new[]() argument
88 void operator delete(void* ptr, const std::nothrow_t&) noexcept in operator delete() argument
98 void operator delete[](void* ptr, const std::nothrow_t&) noexcept in operator delete[]() argument
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dsized_delete_calls_unsized_delete.pass.cpp32 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete() argument
Dsized_delete11.pass.cpp35 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete() argument
Dsized_delete14.pass.cpp40 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete() argument
Dsized_delete_fsizeddeallocation.sh.cpp53 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete() argument
/external/llvm/test/Transforms/InstSimplify/
Dcall.ll150 %"struct.std::nothrow_t" = type { i8 }
151 @_ZSt7nothrow = external global %"struct.std::nothrow_t"
155 %call = tail call noalias i8* @_ZnamRKSt9nothrow_t(i64 8, %"struct.std::nothrow_t"* @_ZSt7nothrow)
171 declare i8* @_ZnamRKSt9nothrow_t(i64, %"struct.std::nothrow_t"*) nounwind
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dsized_delete_array_calls_unsized_delete_array.pass.cpp32 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]() argument
Dsized_delete_array14.pass.cpp40 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]() argument
Dsized_delete_array11.pass.cpp35 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]() argument
Dsized_delete_array_fsizeddeallocation.sh.cpp54 void operator delete[](void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete[]() argument
/external/clang/test/Analysis/
DNewDelete-custom.cpp14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); } in operator new()

12