/external/clang/test/Analysis/ |
D | NewDelete-custom.cpp | 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); } in operator new() argument 60 void *p = operator new(0, std::nothrow); in testOpNewNoThrow() 67 int *p = new(std::nothrow) int; in testNewExprNoThrow()
|
D | NewDelete-checker-test.cpp | 45 void *p = operator new(0, std::nothrow); in testGlobalNoThrowPlacementOpNewBeforeOverload() 52 int *p = new(std::nothrow) int; in testGlobalNoThrowPlacementExprNewBeforeOverload() 188 int *p = new(std::nothrow) int[1]; in testAllocDeallocNames()
|
/external/valgrind/memcheck/tests/ |
D | new_nothrow.cpp | 8 int * a = new (std::nothrow) int; in main() 9 int * b = new (std::nothrow) int[5]; in main()
|
/external/valgrind/massif/tests/ |
D | new-cpp.cpp | 20 s* p2 = new (std::nothrow) s; in main() 22 char* c2 = new (std::nothrow) char[2000]; in main()
|
D | overloaded-new.cpp | 50 s* p2 = new (std::nothrow) s; in main() 52 char* c2 = new (std::nothrow) char[2000]; in main()
|
/external/clang/test/CodeGen/ |
D | address-sanitizer-and-array-cookie.cpp | 7 std::nothrow_t nothrow; variable 29 return new (std::nothrow) C[10]; in CallNewNoThrow()
|
D | attributes.c | 44 void t2() __attribute__((nothrow)); 56 void t7() __attribute__((noreturn, nothrow));
|
D | ms-declspecs.c | 26 void __declspec(nothrow) t22();
|
/external/libvpx/libvpx/third_party/libwebm/ |
D | mkvmuxer.cpp | 51 dst = new (std::nothrow) char[size]; // NOLINT in StrCpy() 170 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in Init() 185 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in AddAdditionalData() 331 new (std::nothrow) CuePoint*[new_capacity]; // NOLINT in AddCue() 466 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in SetEncryptionID() 592 new (std::nothrow) ContentEncoding*[count]; // NOLINT in AddContentEncoding() 597 new (std::nothrow) ContentEncoding(); // NOLINT in AddContentEncoding() 786 new (std::nothrow) uint8[static_cast<size_t>(length)]; // NOLINT in SetCodecPrivate() 801 codec_id_ = new (std::nothrow) char[length]; // NOLINT in set_codec_id() 818 language_ = new (std::nothrow) char[length]; // NOLINT in set_language() [all …]
|
D | mkvparser.cpp | 53 return new (std::nothrow) Type[static_cast<size_t>(num_bytes)]; in SafeArrayAlloc() 799 pSegment = new (std::nothrow) Segment(pReader, idpos, pos, size); in CreateInstance() 937 m_pInfo = new (std::nothrow) in ParseHeaders() 951 m_pTracks = new (std::nothrow) in ParseHeaders() 963 m_pCues = new (std::nothrow) in ParseHeaders() 971 m_pSeekHead = new (std::nothrow) in ParseHeaders() 984 m_pChapters = new (std::nothrow) in ParseHeaders() 997 m_pTags = new (std::nothrow) in ParseHeaders() 1143 m_pCues = new (std::nothrow) Cues(this, pos, size, idpos, element_size); in DoLoadCluster() 1351 Cluster** const qq = new (std::nothrow) Cluster*[n]; in AppendCluster() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | new.cpp | 25 std::nothrow_t nothrow; variable 334 (void) new (nothrow) S[3]; in f() 358 (void) operator new[](3, nothrow); in g()
|
/external/libchrome/base/ |
D | security_unittest.cc | 27 using std::nothrow; 110 scoped_ptr<char[][kArraySize]> array_pointer(new (nothrow) in TEST() 120 scoped_ptr<char[][kArraySize2]> array_pointer(new (nothrow) in TEST()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
D | new_nothrow.pass.cpp | 41 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() 49 A* ap = new(std::nothrow) A; in main()
|
D | new_nothrow_replace.pass.cpp | 44 A* ap = new (std::nothrow) A; in main()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_array_nothrow.pass.cpp | 41 void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() 49 A* ap = new(std::nothrow) A[3]; in main()
|
D | new_array_nothrow_replace.pass.cpp | 44 A* ap = new (std::nothrow) A[3]; in main()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | sized_delete_test.cc | 41 operator delete(x, std::nothrow); in Del12NoThrow() 49 operator delete[](x, std::nothrow); in Del12ArNoThrow()
|
/external/llvm/docs/HistoricalNotes/ |
D | 2001-09-18-OptimizeExceptions.txt | 10 throws an exception, unless it is defined as 'nothrow'. This means 15 2. Declaring a function nothrow causes catch blocks to be added to every 16 call that isnot provably nothrow. This makes them very slow.
|
/external/jemalloc/include/jemalloc/ |
D | jemalloc_macros.h | 55 # define JEMALLOC_NOTHROW __declspec(nothrow) 87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
|
D | jemalloc_macros.h.in | 55 # define JEMALLOC_NOTHROW __declspec(nothrow) 87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | sort.cc | 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]; in KeySort() 434 new(std::nothrow) uint8_t[num_of_elements * size_of_element]; in KeySort()
|
/external/llvm/test/Transforms/LICM/ |
D | preheader-safe.ll | 6 define void @nothrow(i64 %x, i64 %y, i1* %cond) { 7 ; CHECK-LABEL: nothrow
|
/external/libvpx/libwebm/mkvparser/ |
D | mkvparser.cc | 52 return new (std::nothrow) Type[static_cast<size_t>(num_bytes)]; in SafeArrayAlloc() 798 pSegment = new (std::nothrow) Segment(pReader, idpos, pos, size); in CreateInstance() 936 m_pInfo = new (std::nothrow) in ParseHeaders() 950 m_pTracks = new (std::nothrow) in ParseHeaders() 962 m_pCues = new (std::nothrow) in ParseHeaders() 970 m_pSeekHead = new (std::nothrow) in ParseHeaders() 983 m_pChapters = new (std::nothrow) in ParseHeaders() 996 m_pTags = new (std::nothrow) in ParseHeaders() 1142 m_pCues = new (std::nothrow) Cues(this, pos, size, idpos, element_size); in DoLoadCluster() 1350 Cluster** const qq = new (std::nothrow) Cluster*[n]; in AppendCluster() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 34 /// void *new(unsigned int, nothrow); 42 /// void *new(unsigned long long, nothrow); 50 /// void operator delete(void*, nothrow); 62 /// void operator delete(void*, nothrow); 74 /// void *new[](unsigned int, nothrow); 82 /// void *new[](unsigned long long, nothrow); 90 /// void operator delete[](void*, nothrow); 102 /// void operator delete[](void*, nothrow); 119 /// void operator delete[](void*, nothrow); 131 /// void operator delete(void*, nothrow); [all …]
|
/external/llvm/test/Transforms/InstCombine/ |
D | nothrow.ll | 6 call double @t1(i32 42) ;; dead call even though callee is not nothrow.
|