Home
last modified time | relevance | path

Searched refs:nothrow (Results 1 – 25 of 61) sorted by relevance

123

/external/clang/test/Analysis/
DNewDelete-custom.cpp14 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()
DNewDelete-checker-test.cpp45 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/
Dnew_nothrow.cpp8 int * a = new (std::nothrow) int; in main()
9 int * b = new (std::nothrow) int[5]; in main()
/external/valgrind/massif/tests/
Dnew-cpp.cpp20 s* p2 = new (std::nothrow) s; in main()
22 char* c2 = new (std::nothrow) char[2000]; in main()
Doverloaded-new.cpp50 s* p2 = new (std::nothrow) s; in main()
52 char* c2 = new (std::nothrow) char[2000]; in main()
/external/clang/test/CodeGen/
Daddress-sanitizer-and-array-cookie.cpp7 std::nothrow_t nothrow; variable
29 return new (std::nothrow) C[10]; in CallNewNoThrow()
Dattributes.c44 void t2() __attribute__((nothrow));
56 void t7() __attribute__((noreturn, nothrow));
Dms-declspecs.c26 void __declspec(nothrow) t22();
/external/libvpx/libvpx/third_party/libwebm/
Dmkvmuxer.cpp51 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 …]
Dmkvparser.cpp53 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/
Dnew.cpp25 std::nothrow_t nothrow; variable
334 (void) new (nothrow) S[3]; in f()
358 (void) operator new[](3, nothrow); in g()
/external/libchrome/base/
Dsecurity_unittest.cc27 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/
Dnew_nothrow.pass.cpp41 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow); in main()
49 A* ap = new(std::nothrow) A; in main()
Dnew_nothrow_replace.pass.cpp44 A* ap = new (std::nothrow) A; in main()
/external/libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/
Dnew_array_nothrow.pass.cpp41 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()
Dnew_array_nothrow_replace.pass.cpp44 A* ap = new (std::nothrow) A[3]; in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dsized_delete_test.cc41 operator delete(x, std::nothrow); in Del12NoThrow()
49 operator delete[](x, std::nothrow); in Del12ArNoThrow()
/external/llvm/docs/HistoricalNotes/
D2001-09-18-OptimizeExceptions.txt10 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/
Djemalloc_macros.h55 # define JEMALLOC_NOTHROW __declspec(nothrow)
87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
Djemalloc_macros.h.in55 # define JEMALLOC_NOTHROW __declspec(nothrow)
87 # define JEMALLOC_NOTHROW JEMALLOC_ATTR(nothrow)
/external/webrtc/webrtc/system_wrappers/source/
Dsort.cc209 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/
Dpreheader-safe.ll6 define void @nothrow(i64 %x, i64 %y, i1* %cond) {
7 ; CHECK-LABEL: nothrow
/external/libvpx/libwebm/mkvparser/
Dmkvparser.cc52 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/
DTargetLibraryInfo.def34 /// 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/
Dnothrow.ll6 call double @t1(i32 42) ;; dead call even though callee is not nothrow.

123