HomeSort by relevance Sort by last modified time
    Searched refs:nothrow (Results 1 - 25 of 124) sorted by null

1 2 3 4 5

  /external/valgrind/main/memcheck/tests/
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/
new-cpp.cpp 20 s* p2 = new (std::nothrow) s;
22 char* c2 = new (std::nothrow) char[2000];
overloaded-new.cpp 50 s* p2 = new (std::nothrow) s;
52 char* c2 = new (std::nothrow) char[2000];
  /external/clang/test/Analysis/
NewDelete-custom.cpp 14 void *operator new(std::size_t size, std::nothrow_t& nothrow) throw() { return allocator(size); }
58 //----- Custom NoThrow placement operators
60 void *p = operator new(0, std::nothrow);
67 int *p = new(std::nothrow) int;
  /external/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/
new_array_nothrow.pass.cpp 10 // test operator new [] (nothrow)
38 void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow);
46 A* ap = new(std::nothrow) A[3];
new_array_nothrow_replace.pass.cpp 10 // test operator new [] nothrow by replacing only operator new
42 A* ap = new (std::nothrow) A[3];
  /external/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/
new_nothrow.pass.cpp 10 // test operator new (nothrow)
38 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow);
46 A* ap = new(std::nothrow) A;
new_nothrow_replace.pass.cpp 10 // test operator new nothrow by replacing only operator new
42 A* ap = new (std::nothrow) A;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.array/
new_array_nothrow.pass.cpp 10 // test operator new [] (nothrow)
38 void*volatile vp = operator new [] (std::numeric_limits<std::size_t>::max(), std::nothrow);
46 A* ap = new(std::nothrow) A[3];
new_array_nothrow_replace.pass.cpp 10 // test operator new [] nothrow by replacing only operator new
42 A* ap = new (std::nothrow) A[3];
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.dynamic/new.delete/new.delete.single/
new_nothrow.pass.cpp 10 // test operator new (nothrow)
38 void* vp = operator new (std::numeric_limits<std::size_t>::max(), std::nothrow);
46 A* ap = new(std::nothrow) A;
new_nothrow_replace.pass.cpp 10 // test operator new nothrow by replacing only operator new
42 A* ap = new (std::nothrow) A;
  /external/clang/test/CodeGen/
ms-declspecs.c 20 void __declspec(nothrow) t22();
attributes.c 44 void t2() __attribute__((nothrow));
56 void t7() __attribute__((noreturn, nothrow));
  /ndk/tests/device/test-stlport_shared-exception/jni/
new5.cpp 14 Inner * ic = new (std::nothrow) Inner[1]; // SegFault here
operators27.cpp 29 K * pK = new (std::nothrow) K( 10);
delete3_1.cpp 22 return operator new(numBytes, std::nothrow);
  /ndk/tests/device/test-stlport_static-exception/jni/
new5.cpp 14 Inner * ic = new (std::nothrow) Inner[1]; // SegFault here
operators27.cpp 29 K * pK = new (std::nothrow) K( 10);
delete3_1.cpp 22 return operator new(numBytes, std::nothrow);
  /external/chromium_org/courgette/third_party/
paged_array.h 13 // For std::nothrow:
47 pages_ = new(std::nothrow) T*[pages_needed];
52 T* block = new(std::nothrow) T[kPageSize];
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
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) int
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
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) int
    [all...]
  /external/clang/test/Sema/
attr-args.c 10 inline __attribute__((nothrow(a))) void *f7(); // expected-error {{'nothrow' attribute takes no arguments}}
  /bionic/libstdc++/include/
new 11 extern const nothrow_t nothrow;

Completed in 464 milliseconds

1 2 3 4 5