/external/valgrind/memcheck/tests/ |
H A D | new_nothrow.cpp | 3 // At one point, Valgrind wasn't overriding these 'nothrow' versions; since 8 int * a = new (std::nothrow) int; 9 int * b = new (std::nothrow) int[5];
|
/external/clang/test/CodeGen/ |
H A D | address-sanitizer-and-array-cookie.cpp | 7 std::nothrow_t nothrow; member in namespace:std 29 return new (std::nothrow) C[10];
|
H A D | ms-declspecs.c | 26 void __declspec(nothrow) t22();
|
H A D | attributes.c | 44 void t2() __attribute__((nothrow)); 56 void t7() __attribute__((noreturn, nothrow));
|
/external/valgrind/massif/tests/ |
H A D | new-cpp.cpp | 20 s* p2 = new (std::nothrow) s; 22 char* c2 = new (std::nothrow) char[2000];
|
H A D | overloaded-new.cpp | 50 s* p2 = new (std::nothrow) s; 52 char* c2 = new (std::nothrow) char[2000];
|
/external/clang/test/Analysis/ |
H A D | NewDelete-custom.cpp | 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); } argument 60 void *p = operator new(0, std::nothrow); 67 int *p = new(std::nothrow) int;
|
H A D | NewDelete-checker-test.cpp | 43 //----- Standard nothrow placement operators 45 void *p = operator new(0, std::nothrow); 52 int *p = new(std::nothrow) int; 188 int *p = new(std::nothrow) int[1];
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
H A D | new_array_nothrow.pass.cpp | 10 // test operator new [] (nothrow) 41 void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow); 49 A* ap = new(std::nothrow) A[3];
|
H A D | new_array_nothrow_replace.pass.cpp | 10 // test operator new [] nothrow by replacing only operator new 44 A* ap = new (std::nothrow) A[3];
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
H A D | new_nothrow.pass.cpp | 10 // test operator new (nothrow) 41 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow); 49 A* ap = new(std::nothrow) A;
|
H A D | new_nothrow_replace.pass.cpp | 10 // test operator new nothrow by replacing only operator new 44 A* ap = new (std::nothrow) A;
|
/external/clang/test/Sema/ |
H A D | attr-args.c | 10 inline __attribute__((nothrow(a))) void *f7(); // expected-error {{'nothrow' attribute takes no arguments}}
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | sized_delete_test.cc | 41 operator delete(x, std::nothrow); 49 operator delete[](x, std::nothrow); 62 // but [] and nothrow variants of delete are not sized.
|
/external/clang/test/CodeGenCXX/ |
H A D | new.cpp | 25 std::nothrow_t nothrow; 334 (void) new (nothrow) S[3]; 358 (void) operator new[](3, nothrow);
|
/external/libchrome/base/ |
H A D | security_unittest.cc | 27 using std::nothrow; 95 // IOS doesn't honor nothrow, so disable the test there. 110 scoped_ptr<char[][kArraySize]> array_pointer(new (nothrow) 120 scoped_ptr<char[][kArraySize2]> array_pointer(new (nothrow)
|
/external/jemalloc/include/jemalloc/ |
H A D | jemalloc_macros.h | 55 # define JEMALLOC_NOTHROW __declspec(nothrow) 87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
|
H A D | jemalloc.h | 145 # define JEMALLOC_NOTHROW __declspec(nothrow) 177 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
|
/external/libvpx/libvpx/third_party/libwebm/ |
H A D | mkvmuxer.cpp | 51 dst = new (std::nothrow) char[size]; // NOLINT 170 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT 185 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT 331 new (std::nothrow) CuePoint*[new_capacity]; // NOLINT 466 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT 592 new (std::nothrow) ContentEncoding*[count]; // NOLINT 597 new (std::nothrow) ContentEncoding(); // NOLINT 786 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT 801 codec_id_ = new (std::nothrow) char[length]; // NOLINT 818 language_ = new (std::nothrow) cha [all...] |
H A D | mkvparser.cpp | 53 return new (std::nothrow) Type[static_cast<size_t>(num_bytes)]; 799 pSegment = new (std::nothrow) Segment(pReader, idpos, pos, size); 937 m_pInfo = new (std::nothrow) 951 m_pTracks = new (std::nothrow) 963 m_pCues = new (std::nothrow) 971 m_pSeekHead = new (std::nothrow) 984 m_pChapters = new (std::nothrow) 997 m_pTags = new (std::nothrow) 1143 m_pCues = new (std::nothrow) Cues(this, pos, size, idpos, element_size); 1351 Cluster** const qq = new (std::nothrow) Cluste [all...] |
/external/libcxx/src/ |
H A D | new.cpp | 168 const nothrow_t nothrow = {}; member in namespace:std
|
/external/webrtc/webrtc/system_wrappers/source/ |
H A D | sort.cc | 21 #include <new> // nothrow new 209 ptr_sort_key = new(std::nothrow) SortKey<KeyType>[num_of_elements]; 230 new(std::nothrow) uint8_t[num_of_elements * size_of_element]; 381 SortKey* ptr_sort_key = new(std::nothrow) SortKey[num_of_elements]; 434 new(std::nothrow) uint8_t[num_of_elements * size_of_element];
|
/external/libvpx/libwebm/mkvparser/ |
H A D | mkvparser.cc | 52 return new (std::nothrow) Type[static_cast<size_t>(num_bytes)]; 798 pSegment = new (std::nothrow) Segment(pReader, idpos, pos, size); 936 m_pInfo = new (std::nothrow) 950 m_pTracks = new (std::nothrow) 962 m_pCues = new (std::nothrow) 970 m_pSeekHead = new (std::nothrow) 983 m_pChapters = new (std::nothrow) 996 m_pTags = new (std::nothrow) 1142 m_pCues = new (std::nothrow) Cues(this, pos, size, idpos, element_size); 1350 Cluster** const qq = new (std::nothrow) Cluste [all...] |
/external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/ |
H A D | sema.cpp | 4 #define P(e) static_assert(noexcept(e), "expected nothrow") 23 void nothrowattr() __attribute__((nothrow));
|
/external/dng_sdk/source/ |
H A D | dng_pthread.cpp | 259 newAttrs = new (std::nothrow) dng_pthread_attr_impl; 316 std::auto_ptr<trampoline_args> args(new (std::nothrow) trampoline_args); 317 std::auto_ptr<void *> resultHolder(new (std::nothrow) (void *)); 865 newRWLock = new (std::nothrow) dng_pthread_rwlock_impl;
|