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

12

/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dget_mangled_names.cc52 #include <new> // for nothrow_t
61 void* operator new(size_t size, const std::nothrow_t&) throw() { return &m; }
62 void operator delete(void* p, const std::nothrow_t&) throw() { }
63 void* operator new[](size_t size, const std::nothrow_t&) throw() { return &m; }
64 void operator delete[](void* p, const std::nothrow_t&) throw() { }
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dget_mangled_names.cc52 #include <new> // for nothrow_t
61 void* operator new(size_t size, const std::nothrow_t&) throw() { return &m; }
62 void operator delete(void* p, const std::nothrow_t&) throw() { }
63 void* operator new[](size_t size, const std::nothrow_t&) throw() { return &m; }
64 void operator delete[](void* p, const std::nothrow_t&) throw() { }
/external/compiler-rt/lib/msan/
H A Dmsan_new_delete.cc30 // Fake std::nothrow_t to avoid including <new>.
32 struct nothrow_t {}; struct in namespace:std
42 void *operator new(size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
43 void *operator new[](size_t size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
50 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
51 void operator delete[](void *ptr, std::nothrow_t const&) {
/external/compiler-rt/lib/asan/
H A Dasan_new_delete.cc34 // Fake std::nothrow_t to avoid including <new>.
36 struct nothrow_t {}; struct in namespace:std
56 void *operator new(size_t size, std::nothrow_t const&)
59 void *operator new[](size_t size, std::nothrow_t const&)
69 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
72 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
87 void operator delete(void *ptr, std::nothrow_t const&)
90 void operator delete[](void *ptr, std::nothrow_t const&)
100 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) {
103 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t cons
[all...]
/external/valgrind/main/massif/tests/
H A Doverloaded-new.cpp3 // operator new(unsigned, std::nothrow_t const&)
4 // operator new[](unsigned, std::nothrow_t const&)
10 using std::nothrow_t;
22 __attribute__((noinline)) void* operator new (std::size_t n, std::nothrow_t const &) throw ()
32 __attribute__((noinline)) void* operator new[] (std::size_t n, std::nothrow_t const &) throw ()
H A Dnew-cpp.cpp3 // operator new(unsigned, std::nothrow_t const&)
4 // operator new[](unsigned, std::nothrow_t const&)
10 using std::nothrow_t;
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
H A Dtcmalloc.h79 struct nothrow_t;
120 const std::nothrow_t&) __THROW;
123 const std::nothrow_t&) __THROW;
126 const std::nothrow_t&) __THROW;
129 const std::nothrow_t&) __THROW;
H A Dtcmalloc.h.in69 struct nothrow_t;
110 const std::nothrow_t&) __THROW;
113 const std::nothrow_t&) __THROW;
116 const std::nothrow_t&) __THROW;
119 const std::nothrow_t&) __THROW;
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/gperftools/
H A Dtcmalloc.h69 struct nothrow_t;
110 const std::nothrow_t&) __THROW;
113 const std::nothrow_t&) __THROW;
116 const std::nothrow_t&) __THROW;
119 const std::nothrow_t&) __THROW;
H A Dtcmalloc.h.in69 struct nothrow_t;
110 const std::nothrow_t&) __THROW;
113 const std::nothrow_t&) __THROW;
116 const std::nothrow_t&) __THROW;
119 const std::nothrow_t&) __THROW;
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/gperftools/
H A Dtcmalloc.h69 struct nothrow_t;
110 const std::nothrow_t&) __THROW;
113 const std::nothrow_t&) __THROW;
116 const std::nothrow_t&) __THROW;
119 const std::nothrow_t&) __THROW;
H A Dtcmalloc.h.in69 struct nothrow_t;
110 const std::nothrow_t&) __THROW;
113 const std::nothrow_t&) __THROW;
116 const std::nothrow_t&) __THROW;
119 const std::nothrow_t&) __THROW;
/external/clang/test/CodeGenCXX/
H A Dnew.cpp20 struct nothrow_t {}; struct in namespace:std
22 std::nothrow_t nothrow;
31 void *operator new(size_t, const std::nothrow_t &) throw();
32 void *operator new[](size_t, const std::nothrow_t &) throw();
33 void operator delete(void *, const std::nothrow_t &) throw();
34 void operator delete[](void *, const std::nothrow_t &) throw();
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dlibc_override_redefine.h56 void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
59 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
62 void operator delete(void* ptr, const std::nothrow_t& nt) __THROW {
65 void operator delete[](void* ptr, const std::nothrow_t& nt) __THROW {
H A Dlibc_override_gcc_and_weak.h71 void* operator new(size_t size, const std::nothrow_t& nt) __THROW
73 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW
75 void operator delete(void* p, const std::nothrow_t& nt) __THROW
77 void operator delete[](void* p, const std::nothrow_t& nt) __THROW
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dlibc_override_redefine.h56 void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
59 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
62 void operator delete(void* ptr, const std::nothrow_t& nt) __THROW {
65 void operator delete[](void* ptr, const std::nothrow_t& nt) __THROW {
H A Dlibc_override_gcc_and_weak.h64 void* operator new(size_t size, const std::nothrow_t& nt) __THROW
66 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW
68 void operator delete(void* p, const std::nothrow_t& nt) __THROW
70 void operator delete[](void* p, const std::nothrow_t& nt) __THROW
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/
H A Dtcmalloc.h.in69 struct nothrow_t;
110 const std::nothrow_t&) __THROW;
113 const std::nothrow_t&) __THROW;
116 const std::nothrow_t&) __THROW;
119 const std::nothrow_t&) __THROW;
/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h73 struct nothrow_t {}; struct in namespace:std
75 extern const nothrow_t nothrow;
142 void* operator new(std::size_t, const std::nothrow_t&) throw();
143 void* operator new[](std::size_t, const std::nothrow_t&) throw();
144 void operator delete(void*, const std::nothrow_t&) throw();
145 void operator delete[](void*, const std::nothrow_t&) throw();
/external/stlport/stlport/stl/
H A D_new.h66 struct nothrow_t {}; struct
67 # define nothrow nothrow_t()
97 using _STLP_VENDOR_EXCEPT_STD::nothrow_t;
/external/compiler-rt/lib/sanitizer_common/tests/
H A 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/clang/test/Analysis/
H A DNewDelete-custom.cpp14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
/external/chromium/base/allocator/
H A Dgeneric_allocators.cc43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
/external/chromium_org/base/allocator/
H A Dgeneric_allocators.cc43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW {
47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW {
/external/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc57 struct nothrow_t;
150 void *operator new(uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
152 void *operator new[](uptr size, std::nothrow_t const&) { OPERATOR_NEW_BODY; }
163 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; }
165 void operator delete[](void *ptr, std::nothrow_t const &) {

Completed in 591 milliseconds

12