/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/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_wrap.h | 19 #define NOTHROW __THROW 21 #define NOTHROW 43 int NAME(access)(const char* path, int amode) NOTHROW; 44 int NAME(chdir)(const char* path) NOTHROW; 45 int NAME(chmod)(const char* path, chmod_mode_t mode) NOTHROW; 46 int chown(const char* path, uid_t owner, gid_t group) NOTHROW; 48 int NAME(dup)(int oldfd) NOTHROW; 49 int NAME(dup2)(int oldfd, int newfd) NOTHROW; 50 int fchown(int fd, uid_t owner, gid_t group) NOTHROW; 58 int fstat(int fd, struct stat* buf) NOTHROW; [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/detail/ |
sp_counted_base_spin.hpp | 70 virtual ~sp_counted_base() // nothrow 77 virtual void dispose() = 0; // nothrow 81 virtual void destroy() // nothrow 98 void release() // nothrow 107 void weak_add_ref() // nothrow 112 void weak_release() // nothrow 120 long use_count() const // nothrow
|
sp_counted_base_gcc_mips.hpp | 121 virtual ~sp_counted_base() // nothrow 128 virtual void dispose() = 0; // nothrow 132 virtual void destroy() // nothrow 149 void release() // nothrow 158 void weak_add_ref() // nothrow 163 void weak_release() // nothrow 171 long use_count() const // nothrow
|
sp_counted_base_gcc_x86.hpp | 113 virtual ~sp_counted_base() // nothrow 120 virtual void dispose() = 0; // nothrow 124 virtual void destroy() // nothrow 141 void release() // nothrow 150 void weak_add_ref() // nothrow 155 void weak_release() // nothrow 163 long use_count() const // nothrow
|
shared_count.hpp | 75 shared_count(): pi_(0) // nothrow 303 ~shared_count() // nothrow 311 shared_count(shared_count const & r): pi_(r.pi_) // nothrow 321 shared_count(shared_count && r): pi_(r.pi_) // nothrow 334 shared_count & operator= (shared_count const & r) // nothrow 348 void swap(shared_count & r) // nothrow 355 long use_count() const // nothrow 360 bool unique() const // nothrow 365 bool empty() const // nothrow 401 weak_count(): pi_(0) // nothrow [all...] |
/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/bison/m4/ |
msvc-nothrow.m4 | 1 # msvc-nothrow.m4 serial 1
|
/external/llvm/test/Transforms/InstCombine/ |
nothrow.ll | 6 call double @t1(i32 42) ;; dead call even though callee is not nothrow.
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
new5.cpp | 14 Inner * ic = new (std::nothrow) Inner[1]; // SegFault here
|
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
|
delete3_1.cpp | 22 return operator new(numBytes, std::nothrow);
|
/external/clang/test/Analysis/ |
new-with-exceptions.cpp | 15 struct NoThrow { 32 clang_analyzer_eval(new NoThrow); // expected-warning{{UNKNOWN}} 47 clang_analyzer_eval(new NoThrow[2]); 67 clang_analyzer_eval(new (1) NoThrow[2]); // expected-warning{{UNKNOWN}}
|
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/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];
|
/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];
|
/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;
|
/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/CodeGenObjC/ |
exceptions-nonfragile.m | 20 void die(void) __attribute__((nothrow, noreturn));
|
/external/clang/test/Sema/ |
attr-args.c | 10 inline __attribute__((nothrow(a))) void *f7(); // expected-error {{'nothrow' attribute takes no arguments}}
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1_impl/ |
boost_sp_counted_base.h | 112 ~_Sp_counted_base() // nothrow 118 _M_dispose() = 0; // nothrow 122 _M_destroy() // nothrow 136 _M_release() // nothrow 158 _M_weak_add_ref() // nothrow 162 _M_weak_release() // nothrow 178 _M_get_use_count() const // nothrow
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1_impl/ |
boost_sp_counted_base.h | 112 ~_Sp_counted_base() // nothrow 118 _M_dispose() = 0; // nothrow 122 _M_destroy() // nothrow 136 _M_release() // nothrow 158 _M_weak_add_ref() // nothrow 162 _M_weak_release() // nothrow 178 _M_get_use_count() const // nothrow
|