/external/valgrind/main/memcheck/tests/ |
H A D | new_nothrow.cpp | 3 // 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 D | new-cpp.cpp | 20 s* p2 = new (std::nothrow) s; 22 char* c2 = new (std::nothrow) char[2000];
|
H A D | overloaded-new.cpp | 50 s* p2 = new (std::nothrow) s; 52 char* c2 = new (std::nothrow) char[2000];
|
/external/clang/test/Analysis/ |
H A D | NewDelete-custom.cpp | 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); } argument 60 void *p = operator new(0, std::nothrow); 67 int *p = new(std::nothrow) int;
|
H A D | NewDelete-checker-test.cpp | 42 //----- Standard nothrow placement operators 44 void *p = operator new(0, std::nothrow); 51 int *p = new(std::nothrow) int; 168 int *p = new(std::nothrow) int[1];
|
/external/clang/test/CodeGen/ |
H A D | ms-declspecs.c | 20 void __declspec(nothrow) t22();
|
H A D | attributes.c | 44 void t2() __attribute__((nothrow)); 56 void t7() __attribute__((noreturn, nothrow));
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
H A D | debugallocation_test.cc | 84 // new can be matched only by delete and delete(nothrow) 85 // new[] can be matched only by delete[] and delete[](nothrow) 86 // new(nothrow) can be matched only by delete and delete(nothrow) 87 // new(nothrow)[] can be matched only by delete[] and delete[](nothrow) 105 ::operator delete(y, std::nothrow); 115 ::operator delete[](y, std::nothrow); 118 // Allocate with new(nothrow). 120 int* x = new(std::nothrow) in [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
H A D | debugallocation_test.cc | 84 // new can be matched only by delete and delete(nothrow) 85 // new[] can be matched only by delete[] and delete[](nothrow) 86 // new(nothrow) can be matched only by delete and delete(nothrow) 87 // new(nothrow)[] can be matched only by delete[] and delete[](nothrow) 105 ::operator delete(y, std::nothrow); 115 ::operator delete[](y, std::nothrow); 118 // Allocate with new(nothrow). 120 int* x = new(std::nothrow) in [all...] |
/external/clang/test/Sema/ |
H A D | attr-args.c | 10 inline __attribute__((nothrow(a))) void *f7(); // expected-error {{'nothrow' attribute takes no arguments}}
|
/external/chromium_org/courgette/third_party/ |
H A D | paged_array.h | 13 // For std::nothrow: 47 pages_ = new(std::nothrow) T*[pages_needed]; 52 T* block = new(std::nothrow) T[kPageSize];
|
/external/clang/test/CodeGenCXX/ |
H A D | new.cpp | 22 std::nothrow_t nothrow; 301 (void) new (nothrow) S[3]; 325 (void) operator new[](3, nothrow);
|
/external/chromium/base/allocator/ |
H A D | generic_allocators.cc | 13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { argument 19 if (!call_new_handler(nothrow))
|
H A D | allocator_shim.cc | 71 inline bool call_new_handler(bool nothrow) { argument 92 if (nothrow) 102 if (!nothrow)
|
/external/chromium_org/base/allocator/ |
H A D | generic_allocators.cc | 13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { argument 19 if (!call_new_handler(nothrow))
|
H A D | allocator_shim.cc | 78 inline bool call_new_handler(bool nothrow) { argument 100 if (nothrow) 110 if (!nothrow)
|
/external/stlport/stlport/stl/ |
H A D | _new.h | 67 # define nothrow nothrow_t() macro 98 using _STLP_VENDOR_EXCEPT_STD::nothrow;
|
/external/chromium_org/courgette/ |
H A D | assembly_program.cc | 162 return Emit(new(std::nothrow) PeRelocsInstruction()); 166 return Emit(new(std::nothrow) ElfRelocsInstruction()); 170 return Emit(new(std::nothrow) ElfARMRelocsInstruction()); 174 return Emit(new(std::nothrow) OriginInstruction(rva)); 183 return Emit(new(std::nothrow) BytesInstruction(values, len)); 187 return Emit(new(std::nothrow) InstructionWithLabel(REL32, label)); 192 return Emit(new(std::nothrow) InstructionWithLabelARM(REL32ARM, op, label, 197 return Emit(new(std::nothrow) InstructionWithLabel(ABS32, label)); 252 slot = new(std::nothrow) Label(rva); 390 scoped_ptr<EncodedProgram> encoded(new(std::nothrow) EncodedProgra [all...] |
H A D | memory_allocator.h | 220 mem = new(std::nothrow) uint8[bytes]; 226 TempMapping* mapping = new(std::nothrow) TempMapping(); 295 new(std::nothrow) uint8[count * sizeof(T)]);
|
/external/chromium_org/base/ |
H A D | security_unittest.cc | 26 using std::nothrow; 138 HideValueFromCompiler(new (nothrow) VeryLargeStruct)); 146 HideValueFromCompiler(new (nothrow) char[kTooBigAllocSize])); 178 // IOS doesn't honor nothrow, so disable the test there. 192 scoped_ptr<char[][kArraySize]> array_pointer(new (nothrow) 200 scoped_ptr<char[][kArraySize2]> array_pointer(new (nothrow)
|
/external/webrtc/src/system_wrappers/source/ |
H A D | sort.cc | 20 #include <new> // nothrow new 249 ptrSortKey = new(std::nothrow) SortKey<KeyType>[numOfElements]; 271 WebRtc_UWord8* ptrDataSorted = new(std::nothrow) WebRtc_UWord8 439 SortKey* ptrSortKey = new(std::nothrow) SortKey[numOfElements]; 493 WebRtc_UWord8* ptrDataSorted = new(std::nothrow) WebRtc_UWord8
|
/external/marisa-trie/lib/marisa/ |
H A D | trie.cc | 38 temp.trie_.reset(new (std::nothrow) Trie); 79 temp.trie_.reset(new (std::nothrow) Trie);
|
/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
H A D | trie.cc | 38 temp.trie_.reset(new (std::nothrow) Trie); 79 temp.trie_.reset(new (std::nothrow) Trie);
|
/external/clang/test/Analysis/Inputs/ |
H A D | system-header-simulator-cxx.h | 75 extern const nothrow_t nothrow;
|
/external/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/ |
H A D | sema.cpp | 4 #define P(e) static_assert(noexcept(e), "expected nothrow") 23 void nothrowattr() __attribute__((nothrow));
|