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/libcxx/include/
Dnew43 struct nothrow_t {};
44 extern const nothrow_t nothrow;
53 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable
55 const std::nothrow_t&) noexcept; // replaceable, C++17
61 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
63 const std::nothrow_t&) noexcept; // replaceable, C++17
68 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable
70 const std::nothrow_t&) noexcept; // replaceable, C++17
77 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
79 const std::nothrow_t&) noexcept; // replaceable, C++17
[all …]
/external/libcxx/src/
Dnew.cpp37 const nothrow_t nothrow = {};
89 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT in operator new() argument
115 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
142 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
163 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
211 operator new(size_t size, std::align_val_t alignment, const std::nothrow_t&) _NOEXCEPT in operator new() argument
237 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/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/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.h30 const std::nothrow_t&) __THROW
34 const std::nothrow_t&) __THROW
37 SHIM_ALWAYS_EXPORT void operator delete(void* p, const std::nothrow_t&) __THROW
41 const std::nothrow_t&) __THROW
/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/libcxxabi/src/
Dcxa_new_delete.cpp75 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT in operator new() argument
112 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
150 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
174 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
/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/valgrind/massif/tests/
Doverloaded-new.cpp10 using std::nothrow_t;
22 __attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) in operator new()
32 __attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) in operator new[]()
Doverloaded-new.post.exp-mips3248 ->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp…
54 ->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.c…
Dnew-cpp.cpp10 using std::nothrow_t;
/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/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.cpp48 void operator delete(void* p, const std::nothrow_t&) TEST_NOEXCEPT in operator delete() argument
/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_array11.pass.cpp35 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_array_fsizeddeallocation.sh.cpp48 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