/external/libcxx/test/libcxx/language.support/support.dynamic/ |
D | new_faligned_allocation.sh.cpp | 53 void *ptr = ::operator new(1, std::align_val_t(128), std::nothrow); in main() 56 ::operator delete(ptr, std::align_val_t(128), std::nothrow); in main() 65 void *ptr = ::operator new[](1, std::align_val_t(128), std::nothrow); in main() 68 ::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/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));
|
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/ |
D | new_array_nothrow.pass.cpp | 45 void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow); in main() 55 A* ap = new(std::nothrow) A[3]; in main()
|
D | new_align_val_t_nothrow.pass.cpp | 51 std::nothrow); in test_max_alloc() 72 A* ap = new(std::nothrow) A[3]; in main()
|
D | new_align_val_t_nothrow_replace.pass.cpp | 66 A* ap = new (std::nothrow) A[2]; in main() 75 B* bp = new (std::nothrow) B[2]; in main()
|
/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 | 51 std::nothrow); in test_max_alloc() 72 A* ap = new(std::nothrow) A; in main()
|
D | new_align_val_t_nothrow_replace.pass.cpp | 67 A* ap = new (std::nothrow) A; in main() 76 B* bp = new (std::nothrow) B; in main()
|
/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/libchrome/base/ |
D | security_unittest.cc | 28 using std::nothrow; 113 new (nothrow) char[kDynamicArraySize2][kArraySize]); in TEST() 123 new (nothrow) char[kDynamicArraySize][kArraySize2]); in TEST()
|
/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 | 62 dst = new (std::nothrow) char[size]; // NOLINT in StrCpy() 76 dst->reset(new (std::nothrow) PrimaryChromaticity(src->x(), src->y())); in CopyChromaticity() 220 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in Init() 235 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in AddAdditionalData() 402 new (std::nothrow) CuePoint*[new_capacity]; // NOLINT in AddCue() 542 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in SetEncryptionID() 681 new (std::nothrow) ContentEncoding*[count]; // NOLINT in AddContentEncoding() 686 new (std::nothrow) ContentEncoding(); // NOLINT in AddContentEncoding() 895 new (std::nothrow) uint8_t[static_cast<size_t>(length)]; // NOLINT in SetCodecPrivate() 910 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/libvpx/libvpx/test/ |
D | idct_test.cc | 33 input = new (std::nothrow) Buffer<int16_t>(4, 4, 0); in SetUp() 35 predict = new (std::nothrow) Buffer<uint8_t>(4, 4, 3); in SetUp() 37 output = new (std::nothrow) Buffer<uint8_t>(4, 4, 3); in SetUp()
|
/external/jemalloc/include/jemalloc/ |
D | jemalloc_macros.h | 55 # define JEMALLOC_NOTHROW __declspec(nothrow) 87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
|
/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.
|