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

/external/valgrind/main/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/valgrind/main/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/CodeGen/
H A Dattributes.c44 void t2() __attribute__((nothrow));
56 void t7() __attribute__((noreturn, nothrow));
/external/chromium/base/allocator/
H A Dgeneric_allocators.cc13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { argument
19 if (!call_new_handler(nothrow))
H A Dallocator_shim.cc71 inline bool call_new_handler(bool nothrow) { argument
92 if (nothrow)
102 if (!nothrow)
/external/stlport/stlport/stl/
H A D_new.h67 # define nothrow nothrow_t() macro
98 using _STLP_VENDOR_EXCEPT_STD::nothrow;
/external/webrtc/src/system_wrappers/source/
H A Dsort.cc20 #include <new> // nothrow new
249 ptrSortKey = new(std::nothrow) SortKey<KeyType>[numOfElements];
271 WebRtc_UWord8* ptrDataSorted = new(std::nothrow) WebRtc_UWord8
441 SortKey* ptrSortKey = new(std::nothrow) SortKey[numOfElements];
495 WebRtc_UWord8* ptrDataSorted = new(std::nothrow) WebRtc_UWord8
/external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/
H A Dsema.cpp3 #define P(e) static_assert(noexcept(e), "expected nothrow")
22 void nothrowattr() __attribute__((nothrow));
/external/stlport/src/
H A Ddll_main.cpp90 const nothrow_t nothrow /* = {} */; variable
/external/llvm/lib/Support/
H A DMemoryBuffer.cpp129 char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow));
316 // new(std::nothrow) returns 0.
/external/valgrind/unittest/
H A Dracecheck_unittest.cc6540 char *mem = new (std::nothrow) char;
6542 operator delete (mem, std::nothrow);
6547 char *mem = new (std::nothrow) char [100];
6549 operator delete [] (mem, std::nothrow);
6568 p = new (std::nothrow) char;
6569 operator delete (p, std::nothrow);
6572 p = new (std::nothrow) char[10];
6573 operator delete [](p, std::nothrow);
/external/libvpx/mkvparser/
H A Dmkvparser.cpp575 buf = new (std::nothrow) unsigned char[buflen_];
1018 pSegment = new (std::nothrow) Segment(pReader, pos, size);
2470 m_entries = new (std::nothrow) Entry[count];
2697 m_pCues = new (std::nothrow) Cues(
/external/webkit/Source/JavaScriptCore/wtf/
H A DFastMalloc.cpp4032 static inline void* cpp_alloc(size_t size, bool nothrow) {
4051 if (nothrow) return 0;
4060 if (!nothrow) throw;

Completed in 1506 milliseconds