/external/libcxx/test/libcxx/language.support/support.dynamic/ |
D | new_faligned_allocation.sh.cpp | 68 void *ptr = ::operator new(1, std::align_val_t(128), std::nothrow); in main() 71 ::operator delete(ptr, std::align_val_t(128), std::nothrow); in main() 80 void *ptr = ::operator new[](1, std::align_val_t(128), std::nothrow); in main() 83 ::operator delete[](ptr, std::align_val_t(128), std::nothrow); in main()
|
/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/libusb/libusb/os/ |
D | haiku_pollfs.cpp | 73 WatchedEntry *child = new(std::nothrow) WatchedEntry(fMessenger, ref); in WatchedEntry() 93 fDevice = new(std::nothrow) USBDevice(path.Path()); in WatchedEntry() 201 WatchedEntry *child = new(std::nothrow) WatchedEntry(fMessenger, ref); in EntryCreated() 259 fMessenger = new(std::nothrow) BMessenger(this); in RosterLooper() 268 fRoot = new(std::nothrow) WatchedEntry(fMessenger, &ref); in RosterLooper() 349 fLooper = new(std::nothrow) RosterLooper(this); in Start()
|
/external/libchrome/base/ |
D | security_unittest.cc | 29 using std::nothrow; 97 new (nothrow) char[kDynamicArraySize2][kArraySize]); in TEST() 109 new (nothrow) char[kDynamicArraySize][kArraySize2]); in TEST()
|
/external/clang/test/CodeGenCXX/ |
D | new.cpp | 25 std::nothrow_t nothrow; variable 334 (void) new (nothrow) S[3]; in f() 357 (void) operator new[](3, nothrow); in g()
|
D | vla-consruct.cpp | 8 __attribute__((nothrow)) { printf("%d: S()\n", ++N); } in S() 9 ~S() __attribute__((nothrow)) { printf("%d: ~S()\n", N--); } in ~S()
|
/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));
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/ |
D | new_nothrow.pass.cpp | 45 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() 55 A* ap = new(std::nothrow) A; in main()
|
D | new_align_val_t_nothrow.pass.cpp | 76 std::nothrow); in test_max_alloc() 97 A* ap = new(std::nothrow) A; in main()
|
D | new_align_val_t_nothrow_replace.pass.cpp | 93 A* ap = new (std::nothrow) A; in main() 102 B* bp = new (std::nothrow) B; in main()
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_array_nothrow.pass.cpp | 45 void* vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() 56 A* ap = new(std::nothrow) A[3]; in main()
|
D | new_align_val_t_nothrow.pass.cpp | 76 std::nothrow); in test_max_alloc() 97 A* ap = new(std::nothrow) A[3]; in main()
|
D | new_align_val_t_nothrow_replace.pass.cpp | 91 A* ap = new (std::nothrow) A[2]; in main() 100 B* bp = new (std::nothrow) B[2]; in main()
|
/external/clang/test/SemaCXX/ |
D | vla-consruct.cpp | 12 S() __attribute__ ((nothrow)) { printf("%d: S()\n", ++N); } in S() 13 ~S() __attribute__ ((nothrow)) { printf("%d: ~S()\n", N--); } in ~S()
|
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 64 dst = new (std::nothrow) char[size]; // NOLINT in StrCpy() 78 dst->reset(new (std::nothrow) PrimaryChromaticity(src->x(), src->y())); in CopyChromaticity() 222 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in Init() 237 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in AddAdditionalData() 404 new (std::nothrow) CuePoint*[new_capacity]; // NOLINT in AddCue() 544 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in SetEncryptionID() 683 new (std::nothrow) ContentEncoding*[count]; // NOLINT in AddContentEncoding() 688 new (std::nothrow) ContentEncoding(); // NOLINT in AddContentEncoding() 905 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in SetCodecPrivate() 920 codec_id_ = new (std::nothrow) char[length]; // NOLINT in set_codec_id() [all …]
|
/external/libaom/libaom/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.cc | 64 dst = new (std::nothrow) char[size]; // NOLINT in StrCpy() 78 dst->reset(new (std::nothrow) PrimaryChromaticity(src->x(), src->y())); in CopyChromaticity() 222 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in Init() 237 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in AddAdditionalData() 404 new (std::nothrow) CuePoint*[new_capacity]; // NOLINT in AddCue() 544 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in SetEncryptionID() 683 new (std::nothrow) ContentEncoding*[count]; // NOLINT in AddContentEncoding() 688 new (std::nothrow) ContentEncoding(); // NOLINT in AddContentEncoding() 905 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in SetCodecPrivate() 920 codec_id_ = new (std::nothrow) char[length]; // NOLINT in set_codec_id() [all …]
|
/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/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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); 125 /// void operator delete[](void*, align_val_t, nothrow) [all …]
|
/external/jemalloc/include/jemalloc/ |
D | jemalloc_macros.h | 55 # define JEMALLOC_NOTHROW __declspec(nothrow) 87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
|
/external/jemalloc_new/src/ |
D | jemalloc_cpp.cpp | 44 handleOOM(std::size_t size, bool nothrow) { in handleOOM() argument 69 if (ptr == nullptr && !nothrow) in handleOOM()
|