Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/
Dasan_new_delete.cc36 struct nothrow_t {}; struct
56 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[]()
69 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
72 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { in INTERCEPTOR()
87 void operator delete(void *ptr, std::nothrow_t const&) in operator delete()
90 void operator delete[](void *ptr, std::nothrow_t const&) in operator delete[]()
100 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR()
103 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { in INTERCEPTOR()
/external/compiler-rt/lib/msan/
Dmsan_new_delete.cc30 struct nothrow_t {}; struct
40 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[]()
48 void operator delete(void *ptr, std::nothrow_t const&) { OPERATOR_DELETE_BODY; } in operator delete()
49 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
/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/valgrind/main/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[]()
Dnew-cpp.cpp10 using std::nothrow_t;
/external/webkit/Source/JavaScriptCore/wtf/wince/
DFastMallocWinCE.h74 static inline void* operator new(size_t s, const std::nothrow_t&) throw() { return fastMalloc(s); } in new() argument
75 static inline void operator delete(void* p, const std::nothrow_t&) throw() { fastFree(p); } in delete() argument
76 static inline void* operator new[](size_t s, const std::nothrow_t&) throw() { return fastMalloc(s);… in throw()
77 static inline void operator delete[](void* p, const std::nothrow_t&) throw() { fastFree(p); } in throw()
/external/stlport/stlport/stl/
D_new.h66 struct nothrow_t {}; struct
67 # define nothrow nothrow_t()
97 using _STLP_VENDOR_EXCEPT_STD::nothrow_t;
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.h226 WTF_PRIVATE_INLINE void* operator new(size_t size, const std::nothrow_t&) throw() { return fastMall… in new() argument
228 WTF_PRIVATE_INLINE void operator delete(void* p, const std::nothrow_t&) throw() { fastFree(p); } in delete() argument
230 WTF_PRIVATE_INLINE void* operator new[](size_t size, const std::nothrow_t&) throw() { return fastMa… in throw()
232 WTF_PRIVATE_INLINE void operator delete[](void* p, const std::nothrow_t&) throw() { fastFree(p); } in throw()
DFastMalloc.cpp4083 void* operator new(size_t size, const std::nothrow_t&) __THROW { in CreateCacheIfNecessary() argument
4094 void operator delete(void* p, const std::nothrow_t&) __THROW { in CreateCacheIfNecessary() argument
4110 void* operator new[](size_t size, const std::nothrow_t&) __THROW { in CreateCacheIfNecessary() argument
4121 void operator delete[](void* p, const std::nothrow_t&) __THROW { in CreateCacheIfNecessary() argument
/external/chromium/base/allocator/
Dgeneric_allocators.cc43 void* operator new(size_t size, const std::nothrow_t& nt) __THROW { in operator new()
47 void* operator new[](size_t size, const std::nothrow_t& nt) __THROW { in operator new[]()
/external/stlport/test/eh/
Dnc_alloc.cpp212 void* _STLP_CALL operator new(size_t size, const EH_STD::nothrow_t&) throw() { in operator new() argument
228 void* _STLP_CALL operator new[](size_t size, const EH_STD::nothrow_t&) throw() { in operator new[]() argument
/external/stlport/src/
Ddll_main.cpp90 const nothrow_t nothrow /* = {} */;
/external/eigen/Eigen/src/Core/util/
DMemory.h588 void* operator new(size_t size, const std::nothrow_t&) throw() { \
595 void* operator new(size_t size, const std::nothrow_t&) throw() { \
616 void operator delete(void *ptr, const std::nothrow_t&) throw() { \
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors.cc107 struct nothrow_t {}; struct
424 void *operator new(__sanitizer::uptr size, std::nothrow_t const&) { in operator new()
427 void *operator new[](__sanitizer::uptr size, std::nothrow_t const&) { in operator new[]()
445 void operator delete(void *ptr, std::nothrow_t const&) { in operator delete()
448 void operator delete[](void *ptr, std::nothrow_t const&) { in operator delete[]()
/external/stlport/etc/
DChangeLog-4.0481 * <new> fixed to import nothrow and nothrow_t
DChangeLog-5.17398 * _new.h : class nothrow_t changed to struct nothrow_t (Thanks Francois Dumont)
/external/valgrind/main/
DNEWS3187 operator new(unsigned, std::nothrow_t const&)
3188 operator new[](unsigned, std::nothrow_t const&)
/external/webkit/Source/JavaScriptCore/
DChangeLog-2010-05-2427169 Override operator new/delete with const std::nothrow_t& as the second
27174 std::nothrow_t& must be overrided because some standard template
27178 std::nothrow_t&) is freed by delete(void* p). This causes the umatched