Home
last modified time | relevance | path

Searched refs:noexcept (Results 1 – 25 of 204) sorted by relevance

123456789

/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dcompare76 constexpr operator partial_ordering() const noexcept;
103 constexpr operator partial_ordering() const noexcept;
104 constexpr operator weak_ordering() const noexcept;
160 _CmpUnspecifiedParam(int _CmpUnspecifiedParam::*) noexcept {}
170 explicit constexpr partial_ordering(_EqResult __v) noexcept
174 explicit constexpr partial_ordering(_OrdResult __v) noexcept
181 constexpr bool __is_ordered() const noexcept {
260 constexpr operator partial_ordering() const noexcept {
335 constexpr operator partial_ordering() const noexcept {
341 constexpr operator weak_ordering() const noexcept {
[all …]
H A Dchrono35 static constexpr Rep zero(); // noexcept in C++20
274 static time_point now() noexcept;
310 static time_point now() noexcept;
537 operator/(const year& y, int m) noexcept;
541 operator/(const month& m, int d) noexcept;
543 operator/(int m, const day& d) noexcept;
547 operator/(const day& d, int m) noexcept;
551 operator/(int m, last_spec) noexcept;
555 operator/(last_spec, int m) noexcept;
2008 constexpr bool ok() const noexcept;
[all …]
H A Dmemory300 pointer get() const noexcept;
306 pointer release() noexcept;
336 pointer get() const noexcept;
342 pointer release() noexcept;
394 bad_weak_ptr() noexcept;
441 void reset() noexcept;
447 T* get() const noexcept;
448 T& operator*() const noexcept;
451 bool unique() const noexcept;
531 constexpr weak_ptr() noexcept;
[all …]
H A Dspan58 constexpr span() noexcept;
74 ~span() noexcept = default;
90 constexpr size_type size() const noexcept;
92 constexpr bool empty() const noexcept;
98 constexpr pointer data() const noexcept;
101 constexpr iterator begin() const noexcept;
102 constexpr iterator end() const noexcept;
277 // ~span() noexcept = default;
311 constexpr auto subspan() const noexcept
443 // ~span() noexcept = default;
[all …]
H A Dsystem_error22 virtual ~error_category() noexcept;
58 error_code() noexcept;
61 error_code(ErrorCodeEnum e) noexcept;
67 void clear() noexcept;
70 int value() const noexcept;
74 explicit operator bool() const noexcept;
87 error_condition() noexcept;
96 void clear() noexcept;
99 int value() const noexcept;
101 string message() const noexcept;
[all …]
H A Datomic80 operator T() const noexcept;
84 T operator=(T) noexcept;
107 void notify_one() noexcept;
109 void notify_all() noexcept;
122 atomic() noexcept = default;
190 void notify_one() noexcept;
192 void notify_all() noexcept;
219 T* operator=(T*) noexcept;
249 T* operator++() noexcept;
251 T* operator--() noexcept;
[all …]
H A Dutility40 swap(T (&a)[N], T (&b)[N]) noexcept(noexcept(swap(*a, *b)));
54 move_if_noexcept(T& x) noexcept; // constexpr in C++14
108 swap(pair<T1, T2>& x, pair<T1, T2>& y) noexcept(noexcept(x.swap(y))); // constexpr in C+…
122 get(pair<T1, T2>&) noexcept; // constexpr in C++14
126 get(const pair<T1, T2>&) noexcept; // constexpr in C++14
130 get(pair<T1, T2>&&) noexcept; // constexpr in C++14
137 constexpr T1& get(pair<T1, T2>&) noexcept; // C++14
143 constexpr T1&& get(pair<T1, T2>&&) noexcept; // C++14
149 constexpr T1& get(pair<T2, T1>&) noexcept; // C++14
155 constexpr T1&& get(pair<T2, T1>&&) noexcept; // C++14
[all …]
H A Dexception22 exception() noexcept;
23 exception(const exception&) noexcept;
25 virtual ~exception() noexcept;
26 virtual const char* what() const noexcept;
33 bad_exception() noexcept;
36 virtual ~bad_exception() noexcept;
47 terminate_handler get_terminate() noexcept;
48 [[noreturn]] void terminate() noexcept;
50 bool uncaught_exception() noexcept;
55 exception_ptr current_exception() noexcept;
[all …]
H A Dstring_view81 constexpr basic_string_view() noexcept;
100 constexpr size_type size() const noexcept;
103 constexpr bool empty() const noexcept;
130 … size_type find(const charT* s, size_type pos, size_type n) const noexcept; // noexcept as an exte…
131 …constexpr size_type find(const charT* s, size_type pos = 0) const noexcept; // noexcept as an exte…
134 …size_type rfind(const charT* s, size_type pos, size_type n) const noexcept; // noexcept as an exte…
135 …constexpr size_type rfind(const charT* s, size_type pos = npos) const noexcept; // noexcept as an …
139 … size_type find_first_of(const charT* s, size_type pos = 0) const noexcept; // noexcept as an exte…
143 …ize_type find_last_of(const charT* s, size_type pos = npos) const noexcept; // noexcept as an exte…
147 …e_type find_first_not_of(const charT* s, size_type pos = 0) const noexcept; // noexcept as an exte…
[all …]
H A Dnew23 bad_alloc() noexcept;
24 bad_alloc(const bad_alloc&) noexcept;
25 bad_alloc& operator=(const bad_alloc&) noexcept;
26 virtual const char* what() const noexcept;
32 bad_array_new_length() noexcept;
45 new_handler set_new_handler(new_handler new_p) noexcept;
46 new_handler get_new_handler() noexcept;
49 template <class T> constexpr T* launder(T* p) noexcept; // C++17
84 void operator delete (void* ptr, void*) noexcept;
85 void operator delete[](void* ptr, void*) noexcept;
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/__ranges/
H A Dview_interface.h76 noexcept(noexcept(ranges::empty(declval<_D2>()))) in noexcept() function
85 noexcept(noexcept(ranges::empty(declval<const _D2>()))) in noexcept() function
94 noexcept(noexcept(_VSTD::to_address(ranges::begin(__derived())))) in data()
103 noexcept(noexcept(_VSTD::to_address(ranges::begin(__derived())))) in data()
112 noexcept(noexcept(ranges::end(__derived()) - ranges::begin(__derived()))) in size()
132 noexcept(noexcept(*ranges::begin(__derived()))) in decltype()
143 noexcept(noexcept(*ranges::begin(__derived()))) in decltype()
154 noexcept(noexcept(*ranges::prev(ranges::end(__derived())))) in decltype()
165 noexcept(noexcept(*ranges::prev(ranges::end(__derived())))) in decltype()
176 noexcept(noexcept(ranges::begin(__derived())[__index])) in decltype()
[all …]
H A Daccess.h67 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Tp& __t) const noexcept { in operator()
80 noexcept(noexcept(_VSTD::__decay_copy(__t.begin()))) in operator()
88 noexcept(noexcept(_VSTD::__decay_copy(begin(__t)))) in operator()
132 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto operator()(_Tp (&__t)[_Np]) const noexcept { in operator()
145 noexcept(noexcept(_VSTD::__decay_copy(__t.end()))) in operator()
153 noexcept(noexcept(_VSTD::__decay_copy(end(__t)))) in operator()
171 noexcept(noexcept(ranges::begin(_VSTD::as_const(__t)))) in operator()
179 noexcept(noexcept(ranges::begin(static_cast<_Tp const&&>(__t)))) in operator()
195 noexcept(noexcept(ranges::end(_VSTD::as_const(__t)))) in operator()
203 noexcept(noexcept(ranges::end(static_cast<_Tp const&&>(__t)))) in operator()
H A Dcopyable_box.h54 noexcept(is_nothrow_constructible_v<_Tp, _Args...>) in __copyable_box()
59 constexpr __copyable_box() noexcept(is_nothrow_default_constructible_v<_Tp>) in __copyable_box()
69 noexcept(is_nothrow_copy_constructible_v<_Tp>) in noexcept() function
83 noexcept(is_nothrow_move_constructible_v<_Tp>) in noexcept() function
93 _LIBCPP_HIDE_FROM_ABI constexpr _Tp& operator*() noexcept { return *__val_; }
125 noexcept(is_nothrow_constructible_v<_Tp, _Args...>) in __copyable_box()
130 constexpr __copyable_box() noexcept(is_nothrow_default_constructible_v<_Tp>) in __copyable_box()
144 constexpr __copyable_box& operator=(__copyable_box const& __other) noexcept {
154 constexpr __copyable_box& operator=(__copyable_box&& __other) noexcept {
164 _LIBCPP_HIDE_FROM_ABI constexpr _Tp& operator*() noexcept { return __val_; }
[all …]
H A Dsize.h71 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr size_t operator()(_Tp (&&)[_Sz]) const noexcept { in operator()
76 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr size_t operator()(_Tp (&)[_Sz]) const noexcept { in operator()
82 noexcept(noexcept(_VSTD::forward<_Tp>(__t).size())) { in operator()
88 noexcept(noexcept(size(_VSTD::forward<_Tp>(__t)))) { in operator()
94 noexcept(noexcept(ranges::end(__t) - ranges::begin(__t))) { in operator()
109 noexcept(noexcept(ranges::size(__t))) { in operator()
/freebsd-13.1/contrib/llvm-project/libcxx/src/support/runtime/
H A Dexception_fallback.ipp26 get_unexpected() noexcept
47 get_terminate() noexcept
54 terminate() noexcept
85 exception::~exception() noexcept
104 bad_alloc::bad_alloc() noexcept
108 bad_alloc::~bad_alloc() noexcept
113 bad_alloc::what() const noexcept
132 bad_cast::bad_cast() noexcept
136 bad_typeid::bad_typeid() noexcept
140 bad_cast::~bad_cast() noexcept
[all …]
H A Dexception_msvc.ipp58 void terminate() noexcept
86 bad_cast::bad_cast() noexcept
90 bad_cast::~bad_cast() noexcept
95 bad_cast::what() const noexcept
100 bad_typeid::bad_typeid() noexcept
104 bad_typeid::~bad_typeid() noexcept
109 bad_typeid::what() const noexcept
114 exception::~exception() noexcept
134 bad_alloc::bad_alloc() noexcept
138 bad_alloc::~bad_alloc() noexcept
[all …]
H A Dstdexcept_default.ipp28 logic_error& logic_error::operator=(const logic_error& le) noexcept {
37 runtime_error::runtime_error(const runtime_error& re) noexcept
51 logic_error::~logic_error() noexcept {}
52 domain_error::~domain_error() noexcept {}
53 invalid_argument::~invalid_argument() noexcept {}
54 length_error::~length_error() noexcept {}
55 out_of_range::~out_of_range() noexcept {}
57 runtime_error::~runtime_error() noexcept {}
58 range_error::~range_error() noexcept {}
59 overflow_error::~overflow_error() noexcept {}
[all …]
H A Dexception_pointer_msvc.ipp27 exception_ptr::exception_ptr() noexcept { __ExceptionPtrCreate(this); }
28 exception_ptr::exception_ptr(nullptr_t) noexcept { __ExceptionPtrCreate(this); }
30 exception_ptr::exception_ptr(const exception_ptr& __other) noexcept {
38 exception_ptr& exception_ptr::operator=(nullptr_t) noexcept {
44 exception_ptr::~exception_ptr() noexcept { __ExceptionPtrDestroy(this); }
46 exception_ptr::operator bool() const noexcept {
50 bool operator==(const exception_ptr& __x, const exception_ptr& __y) noexcept {
55 void swap(exception_ptr& lhs, exception_ptr& rhs) noexcept {
66 exception_ptr current_exception() noexcept {
75 nested_exception::nested_exception() noexcept : __ptr_(current_exception()) {}
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/experimental/
H A Dfilesystem18 void swap(path& lhs, path& rhs) noexcept;
19 size_t hash_value(const path& p) noexcept;
127 bool exists(file_status s) noexcept;
140 bool is_block_file(file_status s) noexcept;
148 bool is_directory(file_status s) noexcept;
155 bool is_fifo(file_status s) noexcept;
159 bool is_other(file_status s) noexcept;
163 bool is_regular_file(file_status s) noexcept;
167 bool is_socket(file_status s) noexcept;
171 bool is_symlink(file_status s) noexcept;
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dnew.cpp86 operator new(size_t size, const std::nothrow_t&) noexcept in operator new()
112 operator new[](size_t size, const std::nothrow_t&) noexcept in operator new[]()
131 operator delete(void* ptr) noexcept in operator delete()
138 operator delete(void* ptr, const std::nothrow_t&) noexcept in operator delete()
145 operator delete(void* ptr, size_t) noexcept in operator delete()
152 operator delete[] (void* ptr) noexcept in operator delete[]()
159 operator delete[] (void* ptr, const std::nothrow_t&) noexcept in operator delete[]()
166 operator delete[] (void* ptr, size_t) noexcept in operator delete[]()
252 operator delete(void* ptr, std::align_val_t) noexcept in operator delete()
266 operator delete(void* ptr, size_t, std::align_val_t alignment) noexcept in operator delete()
[all …]
H A Dmemory.cpp23 bad_weak_ptr::~bad_weak_ptr() noexcept {} in ~bad_weak_ptr()
26 bad_weak_ptr::what() const noexcept in what()
41 __shared_count::__add_shared() noexcept in __add_shared()
47 __shared_count::__release_shared() noexcept in __release_shared()
58 __shared_weak_count::__add_shared() noexcept in __add_shared()
64 __shared_weak_count::__add_weak() noexcept in __add_weak()
70 __shared_weak_count::__release_shared() noexcept in __release_shared()
79 __shared_weak_count::__release_weak() noexcept in __release_weak()
114 __shared_weak_count::lock() noexcept in lock()
150 __sp_mut::lock() noexcept in lock()
[all …]
H A Dsystem_error.cpp31 error_category::error_category() noexcept in error_category()
36 error_category::~error_category() noexcept in ~error_category()
41 error_category::default_error_condition(int ev) const noexcept in default_error_condition()
144 virtual const char* name() const noexcept;
149 __generic_error_category::name() const noexcept in name()
165 generic_category() noexcept in generic_category()
175 virtual const char* name() const noexcept;
181 __system_error_category::name() const noexcept in name()
197 __system_error_category::default_error_condition(int ev) const noexcept in default_error_condition()
207 system_category() noexcept in system_category()
[all …]
H A Dcharconv.cpp35 append1(char* buffer, T i) noexcept in append1()
43 append2(char* buffer, T i) noexcept in append2()
51 append3(char* buffer, T i) noexcept in append3()
58 append4(char* buffer, T i) noexcept in append4()
65 append2_no_zeros(char* buffer, T v) noexcept in append2_no_zeros()
75 append4_no_zeros(char* buffer, T v) noexcept in append4_no_zeros()
87 append8_no_zeros(char* buffer, T v) noexcept in append8_no_zeros()
102 __u32toa(uint32_t value, char* buffer) noexcept in __u32toa()
123 __u64toa(uint64_t value, char* buffer) noexcept in __u64toa()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/orc/
H A Dadt.h41 constexpr span() noexcept = default;
42 constexpr span(T *first, size_type count) noexcept in span()
48 constexpr iterator begin() const noexcept { return Data; } in begin()
49 constexpr iterator end() const noexcept { return Data + Size; } in end()
50 constexpr pointer data() const noexcept { return Data; } in data()
52 constexpr size_type size() const noexcept { return Size; } in size()
53 constexpr bool empty() const noexcept { return Size == 0; } in empty()
75 constexpr string_view() noexcept = default;
82 constexpr const_pointer data() const noexcept { return Data; } in data()
84 constexpr size_type size() const noexcept { return Size; } in size()
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/include/__functional/
H A Dranges_operations.h30 noexcept(noexcept(bool(_VSTD::forward<_Tp>(__t) == _VSTD::forward<_Up>(__u)))) { in operator()
41 noexcept(noexcept(bool(!(_VSTD::forward<_Tp>(__t) == _VSTD::forward<_Up>(__u))))) { in operator()
52 noexcept(noexcept(bool(_VSTD::forward<_Tp>(__t) < _VSTD::forward<_Up>(__u)))) { in operator()
63 noexcept(noexcept(bool(!(_VSTD::forward<_Up>(__u) < _VSTD::forward<_Tp>(__t))))) { in operator()
74 noexcept(noexcept(bool(_VSTD::forward<_Up>(__u) < _VSTD::forward<_Tp>(__t)))) { in operator()
85 noexcept(noexcept(bool(!(_VSTD::forward<_Tp>(__t) < _VSTD::forward<_Up>(__u))))) { in operator()

123456789