Home
last modified time | relevance | path

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

12

/external/compiler-rt/lib/tsan/rtl/
Dtsan_new_delete.cc21 struct nothrow_t {}; struct
55 void *operator new(__sanitizer::uptr size, std::nothrow_t const&);
56 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
61 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&);
62 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
87 void operator delete(void *ptr, std::nothrow_t const&);
88 void operator delete(void *ptr, std::nothrow_t const&) { in operator delete()
93 void operator delete[](void *ptr, std::nothrow_t const&);
94 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
/external/compiler-rt/lib/asan/
Dasan_new_delete.cc37 struct nothrow_t {}; struct
66 void *operator new(size_t size, std::nothrow_t const&) in operator new()
69 void *operator new[](size_t size, std::nothrow_t const&) in operator new[]()
79 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
82 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
101 void operator delete(void *ptr, std::nothrow_t const&) { in operator delete()
105 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
126 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR()
129 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR()
/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/libcxx/include/
Dnew42 struct nothrow_t {};
43 extern const nothrow_t nothrow;
51 void* operator new(std::size_t size, const std::nothrow_t&) noexcept; // replaceable
54 void operator delete(void* ptr, const std::nothrow_t&) noexcept; // replaceable
57 void* operator new[](std::size_t size, const std::nothrow_t&) noexcept; // replaceable
60 void operator delete[](void* ptr, const std::nothrow_t&) noexcept; // replaceable
117 struct _LIBCPP_TYPE_VIS nothrow_t {};
118 extern _LIBCPP_FUNC_VIS const nothrow_t nothrow;
136 _LIBCPP_NEW_DELETE_VIS void* operator new(std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _NOALI…
138 _LIBCPP_NEW_DELETE_VIS void operator delete(void* __p, const std::nothrow_t&) _NOEXCEPT;
[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/libcxx/src/
Dnew.cpp73 operator new(size_t size, const std::nothrow_t&) _NOEXCEPT in operator new() argument
102 operator new[](size_t size, const std::nothrow_t&) _NOEXCEPT in operator new[]() argument
129 operator delete(void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete() argument
150 operator delete[] (void* ptr, const std::nothrow_t&) _NOEXCEPT in operator delete[]() argument
168 const nothrow_t nothrow = {};
/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/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_testlib.cc152 struct nothrow_t;
157 void *operator new(size_t size, std::nothrow_t const&) ALIAS("malloc");
158 void *operator new[](size_t size, std::nothrow_t const&) ALIAS("malloc");
161 void operator delete(void *ptr, std::nothrow_t const&) ALIAS("free");
162 void operator delete[](void *ptr, std::nothrow_t const&) ALIAS("free");
/external/libcxxabi/src/
Dcxa_new_delete.cpp69 operator new(size_t size, const std::nothrow_t&) in operator new() argument
110 operator new[](size_t size, const std::nothrow_t&) in operator new[]() argument
154 operator delete(void* ptr, const std::nothrow_t&) in operator delete() argument
188 operator delete[] (void* ptr, const std::nothrow_t&) in operator delete[]() argument
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h75 struct nothrow_t {}; struct
77 extern const nothrow_t nothrow;
203 void* operator new(std::size_t, const std::nothrow_t&) throw();
204 void* operator new[](std::size_t, const std::nothrow_t&) throw();
205 void operator delete(void*, const std::nothrow_t&) throw();
206 void operator delete[](void*, const std::nothrow_t&) throw();
/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 &) throw () in operator new()
32 __attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw () 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/compiler-rt/lib/lsan/
Dlsan_interceptors.cc48 struct nothrow_t;
158 void *operator new(uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new()
160 void *operator new[](uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; } in operator new[]()
171 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } in operator delete()
173 void operator delete[](void *ptr, std::nothrow_t const &) { in operator delete[]()
/external/llvm/test/Transforms/InstSimplify/
Dcall.ll149 %"struct.std::nothrow_t" = type { i8 }
150 @_ZSt7nothrow = external global %"struct.std::nothrow_t"
154 %call = tail call noalias i8* @_ZnamRKSt9nothrow_t(i64 8, %"struct.std::nothrow_t"* @_ZSt7nothrow)
170 declare i8* @_ZnamRKSt9nothrow_t(i64, %"struct.std::nothrow_t"*) nounwind
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/
Dsized_delete_calls_unsized_delete.pass.cpp30 void operator delete(void* p, const std::nothrow_t&) throw() in operator delete() argument
Dsized_delete11.pass.cpp33 void operator delete(void* p, const std::nothrow_t&) throw() in operator delete() argument
Dsized_delete14.pass.cpp38 void operator delete(void* p, const std::nothrow_t&) throw() in operator delete() argument
Dsized_delete_fsizeddeallocation.sh.cpp46 void operator delete(void* p, const std::nothrow_t&) throw() 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.cpp30 void operator delete[](void* p, const std::nothrow_t&) throw() in operator delete[]() argument
Dsized_delete_array14.pass.cpp38 void operator delete[](void* p, const std::nothrow_t&) throw() in operator delete[]() argument
Dsized_delete_array11.pass.cpp33 void operator delete[](void* p, const std::nothrow_t&) throw() in operator delete[]() argument
Dsized_delete_array_fsizeddeallocation.sh.cpp46 void operator delete[](void* p, const std::nothrow_t&) throw() 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()
/external/eigen/Eigen/src/Core/util/
DMemory.h613 void* operator new(size_t size, const std::nothrow_t&) throw() { \
619 void* operator new(size_t size, const std::nothrow_t&) throw() { \
642 void operator delete(void *ptr, const std::nothrow_t&) throw() { \

12