Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Ddebugallocation_test.cc105 ::operator delete(y, std::nothrow); in TEST()
115 ::operator delete[](y, std::nothrow); in TEST()
120 int* x = new(std::nothrow) int; in TEST()
121 int* y = new(std::nothrow) int; in TEST()
125 ::operator delete(y, std::nothrow); in TEST()
130 int* x = new(std::nothrow) int[1]; in TEST()
131 int* y = new(std::nothrow) int[1]; in TEST()
135 ::operator delete[](y, std::nothrow); in TEST()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Ddebugallocation_test.cc105 ::operator delete(y, std::nothrow); in TEST()
115 ::operator delete[](y, std::nothrow); in TEST()
120 int* x = new(std::nothrow) int; in TEST()
121 int* y = new(std::nothrow) int; in TEST()
125 ::operator delete(y, std::nothrow); in TEST()
130 int* x = new(std::nothrow) int[1]; in TEST()
131 int* y = new(std::nothrow) int[1]; in TEST()
135 ::operator delete[](y, std::nothrow); in TEST()
/external/chromium_org/courgette/
Dassembly_program.cc162 return Emit(new(std::nothrow) PeRelocsInstruction()); in EmitPeRelocsInstruction()
166 return Emit(new(std::nothrow) ElfRelocsInstruction()); in EmitElfRelocationInstruction()
170 return Emit(new(std::nothrow) ElfARMRelocsInstruction()); in EmitElfARMRelocationInstruction()
174 return Emit(new(std::nothrow) OriginInstruction(rva)); in EmitOriginInstruction()
183 return Emit(new(std::nothrow) BytesInstruction(values, len)); in EmitBytesInstruction()
187 return Emit(new(std::nothrow) InstructionWithLabel(REL32, label)); in EmitRel32()
192 return Emit(new(std::nothrow) InstructionWithLabelARM(REL32ARM, op, label, in EmitRel32ARM()
197 return Emit(new(std::nothrow) InstructionWithLabel(ABS32, label)); in EmitAbs32()
252 slot = new(std::nothrow) Label(rva); in FindLabel()
390 scoped_ptr<EncodedProgram> encoded(new(std::nothrow) EncodedProgram()); in Encode()
[all …]
Dmemory_allocator.h220 mem = new(std::nothrow) uint8[bytes]; in allocate()
226 TempMapping* mapping = new(std::nothrow) TempMapping(); in allocate()
295 new(std::nothrow) uint8[count * sizeof(T)]);
/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.cpp44 void *p = operator new(0, std::nothrow); in testGlobalNoThrowPlacementOpNewBeforeOverload()
51 int *p = new(std::nothrow) int; in testGlobalNoThrowPlacementExprNewBeforeOverload()
168 int *p = new(std::nothrow) int[1]; in testAllocDeallocNames()
/external/chromium_org/base/
Dsecurity_unittest.cc26 using std::nothrow;
135 HideValueFromCompiler(new (nothrow) VeryLargeStruct)); in TEST()
143 HideValueFromCompiler(new (nothrow) char[kTooBigAllocSize])); in TEST()
189 scoped_ptr<char[][kArraySize]> array_pointer(new (nothrow) in TEST()
197 scoped_ptr<char[][kArraySize2]> array_pointer(new (nothrow) in TEST()
/external/valgrind/main/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/main/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/CodeGenCXX/
Dnew.cpp22 std::nothrow_t nothrow; variable
301 (void) new (nothrow) S[3]; in f()
325 (void) operator new[](3, nothrow); in g()
/external/chromium/base/allocator/
Dallocator_shim.cc71 inline bool call_new_handler(bool nothrow) { in call_new_handler() argument
92 if (nothrow) in call_new_handler()
102 if (!nothrow) in call_new_handler()
Dgeneric_allocators.cc13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { in generic_cpp_alloc() argument
19 if (!call_new_handler(nothrow)) in generic_cpp_alloc()
/external/clang/test/CodeGen/
Dattributes.c44 void t2() __attribute__((nothrow));
56 void t7() __attribute__((noreturn, nothrow));
Dms-declspecs.c20 void __declspec(nothrow) t22();
/external/chromium_org/courgette/third_party/
Dpaged_array.h47 pages_ = new(std::nothrow) T*[pages_needed]; in Allocate()
52 T* block = new(std::nothrow) T[kPageSize]; in Allocate()
/external/stlport/stlport/stl/
D_new.h67 # define nothrow nothrow_t() macro
98 using _STLP_VENDOR_EXCEPT_STD::nothrow;
/external/chromium_org/base/allocator/
Dgeneric_allocators.cc13 inline void* generic_cpp_alloc(size_t size, bool nothrow) { in generic_cpp_alloc() argument
19 if (!call_new_handler(nothrow)) in generic_cpp_alloc()
Dallocator_shim.cc76 inline bool call_new_handler(bool nothrow) { in call_new_handler() argument
98 if (nothrow) in call_new_handler()
108 if (!nothrow) in call_new_handler()
/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/webrtc/src/system_wrappers/source/
Dsort.cc249 ptrSortKey = new(std::nothrow) SortKey<KeyType>[numOfElements];
271 WebRtc_UWord8* ptrDataSorted = new(std::nothrow) WebRtc_UWord8
439 SortKey* ptrSortKey = new(std::nothrow) SortKey[numOfElements]; in KeySort()
493 WebRtc_UWord8* ptrDataSorted = new(std::nothrow) WebRtc_UWord8 in KeySort()
/external/llvm/test/Transforms/InstCombine/
Dnothrow.ll6 call double @t1(i32 42) ;; dead call even though callee is not nothrow.
/external/clang/test/Sema/
Dattr-args.c10 inline __attribute__((nothrow(a))) void *f7(); // expected-error {{'nothrow' attribute takes no ar…
/external/bison/m4/
Dmsvc-nothrow.m41 # msvc-nothrow.m4 serial 1
/external/clang/test/CodeGenObjC/
Dexceptions-nonfragile.m20 void die(void) __attribute__((nothrow, noreturn));

123