Home
last modified time | relevance | path

Searched refs:throw (Results 1 – 25 of 250) sorted by relevance

12345678910

/minix/external/bsd/libc++/dist/libcxxrt/src/
H A Dstdexcept.h38 exception() throw();
39 exception(const exception&) throw();
42 virtual const char* what() const throw();
52 bad_alloc() throw();
53 bad_alloc(const bad_alloc&) throw();
56 virtual const char* what() const throw();
64 bad_cast() throw();
65 bad_cast(const bad_cast&) throw();
68 virtual const char* what() const throw();
77 bad_typeid() throw();
[all …]
/minix/external/bsd/llvm/dist/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx.h58 exception() throw();
59 virtual ~exception() throw();
60 virtual const char *what() const throw() { in what()
67 bad_alloc() throw();
68 bad_alloc(const bad_alloc&) throw();
69 bad_alloc& operator=(const bad_alloc&) throw();
70 virtual const char* what() const throw() { in what()
205 void operator delete(void*, const std::nothrow_t&) throw();
206 void operator delete[](void*, const std::nothrow_t&) throw();
210 void operator delete (void* ptr, void*) throw() {}; in delete()
[all …]
/minix/external/bsd/libc++/dist/libcxx/test/support/
H A Dtest_allocator.h56 test_allocator() throw() : data_(0) {++count;} in throw() function
57 explicit test_allocator(int i) throw() : data_(i) {++count;} in test_allocator()
58 test_allocator(const test_allocator& a) throw() in throw() function
70 throw std::bad_alloc();
81 size_type max_size() const throw() in max_size()
130 throw std::bad_alloc();
141 size_type max_size() const throw() in max_size()
174 test_allocator() throw() : data_(-1) {} in throw() function
175 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
176 test_allocator(const test_allocator& a) throw() in throw() function
[all …]
H A Dany_helpers.h88 small_type(small_type const & other) throw() { in throw() function
95 small_type(small_type& other) throw() { in throw() function
102 small_type(small_type && other) throw() { in throw() function
220 throw my_any_exception(); in throwMyAnyExpression()
241 small_throws_on_copy(small_throws_on_copy && other) throw() { in throw() function
272 large_throws_on_copy(large_throws_on_copy && other) throw() { in throw() function
/minix/external/bsd/llvm/dist/clang/test/SemaObjC/
H A Dtry-catch.m43 @throw 42; // expected-error {{@throw requires an Objective-C object type ('int' invalid)}}
44 @throw agg; // expected-error {{@throw requires an Objective-C object type ('struct s' invalid)}}
45 …@throw pagg; // expected-error {{@throw requires an Objective-C object type ('struct s *' invalid)…
46 @throw; // expected-error {{@throw (rethrow) used outside of a @catch block}}
H A Dno-objc-exceptions.m4 @throw @"Hello"; // expected-error {{cannot use '@throw' with Objective-C exceptions disabled}}
H A Dinvalid-code.m18 // This previously triggered a crash because a ';' was expected after the @throw statement.
20 @throw (id)0 // expected-error{{expected ';' after @throw}}
H A Dreturn.m5 @throw a;
20 @throw (id)0;
/minix/external/bsd/libc++/dist/libcxx/test/std/thread/futures/
H A Dtest_allocator.h50 test_allocator() throw() : data_(-1) {} in throw() function
51 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
52 test_allocator(const test_allocator& a) throw() in throw() function
54 template <class U> test_allocator(const test_allocator<U>& a) throw() in test_allocator()
56 ~test_allocator() throw() {data_ = 0;} in throw() function
63 throw std::bad_alloc();
73 size_type max_size() const throw() in max_size()
106 test_allocator() throw() : data_(-1) {} in throw() function
107 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
108 test_allocator(const test_allocator& a) throw() in throw() function
[all …]
/minix/external/bsd/libc++/dist/libcxx/test/thread/futures/
H A Dtest_allocator.h49 test_allocator() throw() : data_(-1) {} in throw() function
50 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
51 test_allocator(const test_allocator& a) throw() in throw() function
53 template <class U> test_allocator(const test_allocator<U>& a) throw() in test_allocator()
55 ~test_allocator() throw() {data_ = 0;} in throw() function
62 throw std::bad_alloc();
72 size_type max_size() const throw() in max_size()
105 test_allocator() throw() : data_(-1) {} in throw() function
106 explicit test_allocator(int i) throw() : data_(i) {} in test_allocator()
107 test_allocator(const test_allocator& a) throw() in throw() function
[all …]
/minix/external/bsd/libc++/dist/libcxx/include/
H A Dcodecvt106 virtual int do_encoding() const throw();
110 virtual int do_max_length() const throw();
141 virtual int do_encoding() const throw();
145 virtual int do_max_length() const throw();
176 virtual int do_encoding() const throw();
229 virtual int do_encoding() const throw();
264 virtual int do_encoding() const throw();
299 virtual int do_encoding() const throw();
334 virtual int do_encoding() const throw();
369 virtual int do_encoding() const throw();
[all …]
H A D__sso_allocator46 _LIBCPP_INLINE_VISIBILITY __sso_allocator() throw() : __allocated_(false) {}
47 … _LIBCPP_INLINE_VISIBILITY __sso_allocator(const __sso_allocator&) throw() : __allocated_(false) {}
48 …ate <class _Up> _LIBCPP_INLINE_VISIBILITY __sso_allocator(const __sso_allocator<_Up, _Np>&) throw()
69 … _LIBCPP_INLINE_VISIBILITY size_type max_size() const throw() {return size_type(~0) / sizeof(_Tp);}
/minix/external/bsd/llvm/dist/clang/test/Parser/
H A Dobjc-try-catch-1.m20 @throw;
23 @throw proc();
30 @throw 1,2; // expected-error {{@throw requires an Objective-C object type ('int' invalid)}} \
37 @throw (4,3,proc()); // expected-warning {{expression result unused}} \
/minix/external/bsd/llvm/dist/clang/test/Rewriter/
H A Drewrite-modern-throw.m19 @catch (...) { SPLATCH(); @throw; }
31 @throw localException;
61 @throw [self ThrowThis];
64 @throw [throw_val ThrowThis];
88 …@throw [NSException exceptionWithName: *_imp__NSInvalidArgumentException reason: [NSString stringW…
H A Drewrite-try-catch.m8 @catch (...) { SPLATCH(); @throw; }
20 @throw;
/minix/external/bsd/kyua-cli/dist/utils/
H A Dauto_array.ipp60 auto_array< T >::auto_array(T* ptr) throw() :
71 auto_array< T >::auto_array(auto_array< T >& ptr) throw() :
92 auto_array< T >::~auto_array(void) throw()
104 auto_array< T >::get(void) throw()
115 auto_array< T >::get(void) const throw()
126 auto_array< T >::release(void) throw()
142 auto_array< T >::reset(T* ptr) throw()
156 auto_array< T >::operator=(auto_array< T >& ptr) throw()
169 auto_array< T >::operator=(detail::auto_array_ref< T > ref) throw()
189 auto_array< T >::operator[](int pos) throw()
[all …]
/minix/external/bsd/kyua-cli/dist/utils/config/
H A Dtree.ipp74 /// \throw invalid_key_error If the provided key has an invalid format.
75 /// \throw unknown_key_error If the provided key is unknown.
87 throw unknown_key_error(key);
89 throw unknown_key_error(key);
101 /// \throw invalid_key_error If the provided key has an invalid format.
102 /// \throw unknown_key_error If the provided key is unknown.
115 throw unknown_key_error(key);
117 throw unknown_key_error(key);
129 /// \throw unknown_key_error If the provided key is unknown.
130 /// \throw value_error If the value mismatches the node type.
[all …]
/minix/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DPreprocessingRecord.h35 unsigned alignment = 8) throw();
39 unsigned) throw();
101 unsigned alignment = 8) throw() { in throw() function
105 void* operator new(size_t bytes, void* mem) throw() { in new()
110 unsigned alignment) throw() { in delete()
114 void operator delete(void*, std::size_t) throw() { } in delete()
115 void operator delete(void*, void*) throw() { } in delete()
119 void* operator new(size_t bytes) throw();
120 void operator delete(void* data) throw();
607 unsigned alignment) throw() { in new()
[all …]
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DAttr.h58 void* operator new(size_t bytes) throw() { in new()
61 void operator delete(void* data) throw() { in delete()
68 size_t Alignment = 16) throw() { in throw() function
72 size_t Alignment) throw() { in delete()
/minix/external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/
H A Dtrivial-throw.ll8 define void @throw(i32 %n) #0 {
18 ; CHECK: invoke void @throw
19 ; CHECK-NOT: call void @throw
20 invoke void @throw(i32 42) #0
/minix/external/bsd/llvm/dist/clang/test/CodeGenObjC/
H A Dnested-rethrow.m9 @throw @"foo";
13 @throw;
H A Dexceptions-nonfragile.m11 @throw;
16 @throw(@"error!");
/minix/external/bsd/llvm/dist/clang/test/PCH/
H A Dcxx_exprs.h58 throw; in g()
59 throw 42; in g()
/minix/external/bsd/llvm/dist/clang/test/Analysis/
H A Dexceptions.mm13 @throw getException();
27 throw -1;
/minix/external/bsd/llvm/dist/llvm/test/Transforms/Inline/
H A Dinvoke_test-2.ll2 ; throw, that the dead handler is now unreachable.
22 ; caller returns true if might_throw throws an exception... callee cannot throw.

12345678910