| /freebsd/contrib/llvm-project/libcxx/include/__stop_token/ |
| H A D | intrusive_shared_ptr.h | 54 _LIBCPP_HIDE_FROM_ABI __intrusive_shared_ptr(const __intrusive_shared_ptr& __other) noexcept in __intrusive_shared_ptr() 55 : __raw_ptr_(__other.__raw_ptr_) { in __intrusive_shared_ptr() 60 _LIBCPP_HIDE_FROM_ABI __intrusive_shared_ptr(__intrusive_shared_ptr&& __other) noexcept in __intrusive_shared_ptr() 61 : __raw_ptr_(__other.__raw_ptr_) { in __intrusive_shared_ptr() 62 __other.__raw_ptr_ = nullptr; in __intrusive_shared_ptr() 65 …_LIBCPP_HIDE_FROM_ABI __intrusive_shared_ptr& operator=(const __intrusive_shared_ptr& __other) noe… 66 if (__other.__raw_ptr_ != __raw_ptr_) { 67 if (__other.__raw_ptr_) { 68 __increment_ref_count(*__other.__raw_ptr_); 73 __raw_ptr_ = __other.__raw_ptr_; [all …]
|
| H A D | stop_source.h | 39 …_LIBCPP_HIDE_FROM_ABI stop_source(const stop_source& __other) noexcept : __state_(__other.__state_… in stop_source() argument 45 _LIBCPP_HIDE_FROM_ABI stop_source(stop_source&& __other) noexcept = default; 47 _LIBCPP_HIDE_FROM_ABI stop_source& operator=(const stop_source& __other) noexcept { 49 if (__other.__state_) { 50 __other.__state_->__increment_stop_source_counter(); 55 __state_ = __other.__state_; 67 …_LIBCPP_HIDE_FROM_ABI void swap(stop_source& __other) noexcept { __state_.swap(__other.__state_); } in swap() argument
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/ |
| H A D | allocation_guard.h | 62 _LIBCPP_HIDE_FROM_ABI __allocation_guard(__allocation_guard&& __other) _NOEXCEPT in __allocation_guard() 63 : __alloc_(std::move(__other.__alloc_)), in __allocation_guard() 64 __n_(__other.__n_), in __allocation_guard() 65 __ptr_(__other.__ptr_) { in __allocation_guard() 66 __other.__ptr_ = nullptr; in __allocation_guard() 69 _LIBCPP_HIDE_FROM_ABI __allocation_guard& operator=(const __allocation_guard& __other) = delete; 70 _LIBCPP_HIDE_FROM_ABI __allocation_guard& operator=(__allocation_guard&& __other) _NOEXCEPT { 71 if (std::addressof(__other) != this) { 74 __alloc_ = std::move(__other.__alloc_); 75 __n_ = __other.__n_; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | allocation_guard.h | 61 __allocation_guard& operator=(const __allocation_guard& __other) = delete; 63 …STEXPR_SINCE_CXX26 _LIBCPP_HIDE_FROM_ABI __allocation_guard(__allocation_guard&& __other) _NOEXCEPT in __allocation_guard() 64 : __alloc_(std::move(__other.__alloc_)), in __allocation_guard() 65 __n_(__other.__n_), in __allocation_guard() 66 __ptr_(__other.__ptr_) { in __allocation_guard() 67 __other.__ptr_ = nullptr; in __allocation_guard() 71 operator=(__allocation_guard&& __other) _NOEXCEPT { 72 if (std::addressof(__other) != this) { 75 __alloc_ = std::move(__other.__alloc_); 76 __n_ = __other.__n_; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | movable_box.h | 74 operator=(__movable_box const& __other) noexcept(is_nothrow_copy_constructible_v<_Tp>) in noexcept() 79 if (this != std::addressof(__other)) { in noexcept() 80 if (__other.__has_value()) in noexcept() 81 __val_.emplace(*__other); in noexcept() 93 operator=(__movable_box&& __other) noexcept(is_nothrow_move_constructible_v<_Tp>) { in noexcept() 94 if (this != std::addressof(__other)) { in noexcept() 95 if (__other.__has_value()) in noexcept() 96 __val_.emplace(std::move(*__other)); in noexcept() 211 _LIBCPP_HIDE_FROM_ABI constexpr __movable_box& operator=(__movable_box const& __other) noexcept { 214 if (this != std::addressof(__other)) { [all …]
|
| H A D | non_propagating_cache.h | 62 …_LIBCPP_HIDE_FROM_ABI constexpr __non_propagating_cache(__non_propagating_cache&& __other) noexcept in __non_propagating_cache() argument 64 __other.__value_.reset(); in __non_propagating_cache() 67 …ABI constexpr __non_propagating_cache& operator=(__non_propagating_cache const& __other) noexcept { 68 if (this != std::addressof(__other)) { 74 …FROM_ABI constexpr __non_propagating_cache& operator=(__non_propagating_cache&& __other) noexcept { 76 __other.__value_.reset();
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/ |
| H A D | exception_guard.h | 70 _LIBCPP_HIDE_FROM_ABI __exception_guard_exceptions(__exception_guard_exceptions&& __other) in __exception_guard_exceptions() 71 : __rollback_(std::move(__other.__rollback_)), __completed_(__other.__completed_) { in __exception_guard_exceptions() 72 __other.__completed_ = true; in __exception_guard_exceptions() 98 …E_FROM_ABI _LIBCPP_NODEBUG __exception_guard_noexceptions(__exception_guard_noexceptions&& __other) in __exception_guard_noexceptions() 99 : __completed_(__other.__completed_) { in __exception_guard_noexceptions() 100 __other.__completed_ = true; in __exception_guard_noexceptions()
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | __node_handle | 122 _LIBCPP_HIDE_FROM_ABI __basic_node_handle(__basic_node_handle&& __other) noexcept 123 : __ptr_(__other.__ptr_), __alloc_(std::move(__other.__alloc_)) { 124 __other.__ptr_ = nullptr; 125 __other.__alloc_ = std::nullopt; 128 _LIBCPP_HIDE_FROM_ABI __basic_node_handle& operator=(__basic_node_handle&& __other) { 131 __alloc_ == __other.__alloc_, 136 __ptr_ = __other.__ptr_; 139 __alloc_ = std::move(__other.__alloc_); 141 __other.__ptr_ = nullptr; 142 __other.__alloc_ = std::nullopt; [all …]
|
| H A D | syncstream | 272 _LIBCPP_HIDE_FROM_ABI basic_syncbuf(basic_syncbuf&& __other) 273 …: __wrapped_(__other.get_wrapped()), __str_(std::move(__other.__str_)), __emit_on_sync_(__other.__… 274 __move_common(__other); 291 _LIBCPP_HIDE_FROM_ABI basic_syncbuf& operator=(basic_syncbuf&& __other) { 297 __wrapped_ = __other.get_wrapped(); 298 __str_ = std::move(__other.__str_); 299 __emit_on_sync_ = __other.__emit_on_sync_; 301 __move_common(__other); 306 _LIBCPP_HIDE_FROM_ABI void swap(basic_syncbuf& __other) { 308 …aits<_Allocator>::propagate_on_container_swap::value || get_allocator() == __other.get_allocator(), [all …]
|
| H A D | any | 197 _LIBCPP_HIDE_FROM_ABI any(any const& __other) : __h_(nullptr) { 198 if (__other.__h_) 199 __other.__call(_Action::_Copy, this); 202 _LIBCPP_HIDE_FROM_ABI any(any&& __other) _NOEXCEPT : __h_(nullptr) { 203 if (__other.__h_) 204 __other.__call(_Action::_Move, this); 292 …__call(_Action __a, any* __other = nullptr, type_info const* __info = nullptr, const void* __fallb… 294 return __h_(__a, this, __other, __info, __fallback_info); 298 …_Action __a, any* __other = nullptr, type_info const* __info = nullptr, const void* __fallback_inf… 299 return __h_(__a, this, __other, __info, __fallback_info); [all …]
|
| H A D | scoped_allocator | 226 …__scoped_allocator_storage(const __scoped_allocator_storage<_OuterA2, _InnerAllocs...>& __other) _… 227 : outer_allocator_type(__other.outer_allocator()), 228 __inner_(__other.inner_allocator()) {} 232 …__scoped_allocator_storage(__scoped_allocator_storage<_OuterA2, _InnerAllocs...>&& __other) _NOEXC… 233 : outer_allocator_type(std::move(__other.outer_allocator())), 234 __inner_(std::move(__other.inner_allocator())) {} 276 …_FROM_ABI __scoped_allocator_storage(const __scoped_allocator_storage<_OuterA2>& __other) _NOEXCEPT 277 : outer_allocator_type(__other.outer_allocator()) {} 280 …_LIBCPP_HIDE_FROM_ABI __scoped_allocator_storage(__scoped_allocator_storage<_OuterA2>&& __other) _… 281 : outer_allocator_type(std::move(__other.outer_allocator())) {} [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__utility/ |
| H A D | exception_guard.h | 71 __exception_guard_exceptions(__exception_guard_exceptions&& __other) in __exception_guard_exceptions() 73 : __rollback_(std::move(__other.__rollback_)), __completed_(__other.__completed_) { in __exception_guard_exceptions() 74 __other.__completed_ = true; in __exception_guard_exceptions() 102 __exception_guard_noexceptions(__exception_guard_noexceptions&& __other) in __exception_guard_noexceptions() 104 : __completed_(__other.__completed_) { in __exception_guard_noexceptions() 105 __other.__completed_ = true; in __exception_guard_noexceptions()
|
| /freebsd/contrib/llvm-project/libcxx/include/__mdspan/ |
| H A D | layout_right.h | 87 mapping(const mapping<_OtherExtents>& __other) noexcept in requires() 88 : __extents_(__other.extents()) { in requires() 92 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires() 99 mapping(const layout_left::mapping<_OtherExtents>& __other) noexcept in mapping() argument 100 : __extents_(__other.extents()) { in mapping() 108 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in mapping() 115 mapping(const layout_stride::mapping<_OtherExtents>& __other) noexcept in requires() 116 : __extents_(__other.extents()) { in requires() 122 … if (static_cast<_CommonType>(stride(__r)) != static_cast<_CommonType>(__other.stride(__r))) in requires() 128 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires()
|
| H A D | layout_left.h | 87 mapping(const mapping<_OtherExtents>& __other) noexcept in requires() 88 : __extents_(__other.extents()) { in requires() 92 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires() 99 mapping(const layout_right::mapping<_OtherExtents>& __other) noexcept in mapping() argument 100 : __extents_(__other.extents()) { in mapping() 108 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in mapping() 115 mapping(const layout_stride::mapping<_OtherExtents>& __other) noexcept in requires() 116 : __extents_(__other.extents()) { in requires() 122 … if (static_cast<_CommonType>(stride(__r)) != static_cast<_CommonType>(__other.stride(__r))) in requires() 128 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires()
|
| H A D | layout_stride.h | 232 mapping(const _StridedLayoutMapping& __other) noexcept in requires() 233 : __extents_(__other.extents()), __strides_([&]<size_t... _Pos>(index_sequence<_Pos...>) { in requires() 237 static_cast<index_type>(__other.stride(_Pos))...}; in requires() 246 …return ((static_cast<index_type>(__other.stride(_Pos)) > static_cast<index_type>(0)) && ... && tru… 251 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), 253 _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(static_cast<index_type>(0) == __offset(__other),
|
| /freebsd/contrib/llvm-project/libcxx/include/__thread/ |
| H A D | jthread.h | 72 _LIBCPP_HIDE_FROM_ABI jthread& operator=(jthread&& __other) noexcept { 73 if (this != &__other) { 78 __stop_source_ = std::move(__other.__stop_source_); 79 __thread_ = std::move(__other.__thread_); 86 _LIBCPP_HIDE_FROM_ABI void swap(jthread& __other) noexcept { in swap() argument 87 std::swap(__stop_source_, __other.__stop_source_); in swap() 88 std::swap(__thread_, __other.__thread_); in swap()
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | common_iterator.h | 80 _LIBCPP_HIDE_FROM_ABI constexpr common_iterator(const common_iterator<_I2, _S2>& __other) in common_iterator() argument 83 …!__other.__hold_.valueless_by_exception(), "Attempted to construct from a valueless common_iterato… in common_iterator() 84 if (__other.__hold_.index() == 0) in common_iterator() 85 … return variant<_Iter, _Sent>{in_place_index<0>, std::__unchecked_get<0>(__other.__hold_)}; in common_iterator() 86 return variant<_Iter, _Sent>{in_place_index<1>, std::__unchecked_get<1>(__other.__hold_)}; in common_iterator() 92 _LIBCPP_HIDE_FROM_ABI common_iterator& operator=(const common_iterator<_I2, _S2>& __other) { 94 …!__other.__hold_.valueless_by_exception(), "Attempted to assign from a valueless common_iterator"); 97 auto __other_idx = __other.__hold_.index(); 101 std::__unchecked_get<0>(__hold_) = std::__unchecked_get<0>(__other.__hold_); 103 std::__unchecked_get<1>(__hold_) = std::__unchecked_get<1>(__other.__hold_); [all …]
|
| H A D | counted_iterator.h | 90 _LIBCPP_HIDE_FROM_ABI constexpr counted_iterator(const counted_iterator<_I2>& __other) 91 : __current_(__other.__current_), __count_(__other.__count_) {} 95 …_LIBCPP_HIDE_FROM_ABI constexpr counted_iterator& operator=(const counted_iterator<_I2>& __other) { 96 __current_ = __other.__current_; 97 __count_ = __other.__count_;
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | ranges_remove.h | 41 auto __pred = [&](auto&& __other) -> bool { return __value == __other; }; 50 auto __pred = [&](auto&& __other) -> bool { return __value == __other; };
|
| /freebsd/contrib/llvm-project/libcxx/src/support/runtime/ |
| H A D | exception_pointer_msvc.ipp | 29 exception_ptr::exception_ptr(const exception_ptr& __other) noexcept { __ExceptionPtrCopy(this, &__o… 30 exception_ptr& exception_ptr::operator=(const exception_ptr& __other) noexcept { 31 __ExceptionPtrAssign(this, &__other);
|
| /freebsd/contrib/llvm-project/libcxx/include/__flat_set/ |
| H A D | flat_multiset.h | 120 _LIBCPP_HIDE_FROM_ABI flat_multiset(flat_multiset&& __other) noexcept( in flat_multiset() argument 125 : __keys_(std::move(__other.__keys_)), __compare_(std::move(__other.__compare_)) { in flat_multiset() 126 __other.clear(); in flat_multiset() 129 __other.clear(); 224 _LIBCPP_HIDE_FROM_ABI flat_multiset(const flat_multiset& __other, const _Allocator& __alloc) in flat_multiset() argument 225 : __keys_(std::make_obj_using_allocator<container_type>(__alloc, __other.__keys_)), in flat_multiset() 226 __compare_(__other.__compare_) {} in flat_multiset() 230 _LIBCPP_HIDE_FROM_ABI flat_multiset(flat_multiset&& __other, const _Allocator& __alloc) in flat_multiset() argument 234 : __keys_(std::make_obj_using_allocator<container_type>(__alloc, std::move(__other.__keys_))), in flat_multiset() 235 __compare_(std::move(__other.__compare_)) { in flat_multiset() [all …]
|
| H A D | flat_set.h | 116 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 flat_set(flat_set&& __other) noexcept( in flat_set() argument 121 : __keys_(std::move(__other.__keys_)), __compare_(std::move(__other.__compare_)) { in flat_set() 122 __other.clear(); in flat_set() 125 __other.clear(); 229 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 flat_set(const flat_set& __other, const _Alloc… in flat_set() argument 230 : __keys_(std::make_obj_using_allocator<container_type>(__alloc, __other.__keys_)), in flat_set() 231 __compare_(__other.__compare_) {} in flat_set() 235 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 flat_set(flat_set&& __other, const _Allocator&… in flat_set() argument 239 : __keys_(std::make_obj_using_allocator<container_type>(__alloc, std::move(__other.__keys_))), in flat_set() 240 __compare_(std::move(__other.__compare_)) { in flat_set() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/experimental/ |
| H A D | memory | 88 …_LIBCPP_HIDE_FROM_ABI constexpr observer_ptr(observer_ptr<_W2> __other) noexcept : __ptr_(__other.… 101 _LIBCPP_HIDE_FROM_ABI constexpr void swap(observer_ptr& __other) noexcept { 102 observer_ptr __tmp = __other; 103 __other = *this;
|
| /freebsd/contrib/llvm-project/libcxx/include/__flat_map/ |
| H A D | flat_multimap.h | 150 _LIBCPP_HIDE_FROM_ABI flat_multimap(flat_multimap&& __other) noexcept( in flat_multimap() argument 156 : __containers_(std::move(__other.__containers_)), __compare_(std::move(__other.__compare_)) { in flat_multimap() 157 __other.clear(); in flat_multimap() 160 __other.clear(); 171 _LIBCPP_HIDE_FROM_ABI flat_multimap(const flat_multimap& __other, const _Allocator& __alloc) in flat_multimap() argument 174 __other.__containers_.keys, 175 __other.__containers_.values, 176 __other.__compare_) {} 180 _LIBCPP_HIDE_FROM_ABI flat_multimap(flat_multimap&& __other, const _Allocator& __alloc) in flat_multimap() argument 186 std::move(__other.__containers_.keys), [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__expected/ |
| H A D | expected.h | 292 _LIBCPP_HIDE_FROM_ABI constexpr explicit __repr(bool __has_val, _OtherUnion&& __other) 295 [&] { return __make_union(__has_val, std::forward<_OtherUnion>(__other)); }), 370 …LIBCPP_HIDE_FROM_ABI static constexpr __union_t __make_union(bool __has_val, _OtherUnion&& __other) 374 return __union_t(in_place, std::forward<_OtherUnion>(__other).__val_); 376 return __union_t(unexpect, std::forward<_OtherUnion>(__other).__unex_); 384 _LIBCPP_HIDE_FROM_ABI static constexpr __repr __make_repr(bool __has_val, _OtherUnion&& __other) 388 return __repr(in_place, std::forward<_OtherUnion>(__other).__val_); 390 return __repr(unexpect, std::forward<_OtherUnion>(__other).__unex_); 418 _LIBCPP_HIDE_FROM_ABI constexpr explicit __expected_base(bool __has_val, _OtherUnion&& __other) 421 [&] { return __make_repr(__has_val, std::forward<_OtherUnion>(__other)); }) {} [all …]
|