Searched refs:nothrow (Results 1 - 25 of 35) sorted by relevance

12

/external/valgrind/memcheck/tests/
H A Dnew_nothrow.cpp3 // 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 Daddress-sanitizer-and-array-cookie.cpp7 std::nothrow_t nothrow; member in namespace:std
29 return new (std::nothrow) C[10];
H A Dms-declspecs.c26 void __declspec(nothrow) t22();
H A Dattributes.c44 void t2() __attribute__((nothrow));
56 void t7() __attribute__((noreturn, nothrow));
/external/valgrind/massif/tests/
H A Dnew-cpp.cpp20 s* p2 = new (std::nothrow) s;
22 char* c2 = new (std::nothrow) char[2000];
H A Doverloaded-new.cpp50 s* p2 = new (std::nothrow) s;
52 char* c2 = new (std::nothrow) char[2000];
/external/clang/test/Analysis/
H A DNewDelete-custom.cpp14 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 DNewDelete-checker-test.cpp43 //----- 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 Dnew_array_nothrow.pass.cpp10 // 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 Dnew_array_nothrow_replace.pass.cpp10 // 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 Dnew_nothrow.pass.cpp10 // 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 Dnew_nothrow_replace.pass.cpp10 // test operator new nothrow by replacing only operator new
44 A* ap = new (std::nothrow) A;
/external/clang/test/Sema/
H A Dattr-args.c10 inline __attribute__((nothrow(a))) void *f7(); // expected-error {{'nothrow' attribute takes no arguments}}
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dsized_delete_test.cc41 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 Dnew.cpp25 std::nothrow_t nothrow;
334 (void) new (nothrow) S[3];
358 (void) operator new[](3, nothrow);
/external/libchrome/base/
H A Dsecurity_unittest.cc27 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 Djemalloc_macros.h55 # define JEMALLOC_NOTHROW __declspec(nothrow)
87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
H A Djemalloc.h145 # define JEMALLOC_NOTHROW __declspec(nothrow)
177 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
/external/libvpx/libvpx/third_party/libwebm/
H A Dmkvmuxer.cpp51 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 Dmkvparser.cpp53 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 Dnew.cpp168 const nothrow_t nothrow = {}; member in namespace:std
/external/webrtc/webrtc/system_wrappers/source/
H A Dsort.cc21 #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 Dmkvparser.cc52 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 Dsema.cpp4 #define P(e) static_assert(noexcept(e), "expected nothrow")
23 void nothrowattr() __attribute__((nothrow));
/external/dng_sdk/source/
H A Ddng_pthread.cpp259 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;

Completed in 968 milliseconds

12