/freebsd/contrib/llvm-project/libcxx/include/__stop_token/ |
H A D | intrusive_shared_ptr.h | 53 _LIBCPP_HIDE_FROM_ABI __intrusive_shared_ptr(const __intrusive_shared_ptr& __other) noexcept in __intrusive_shared_ptr() 54 : __raw_ptr_(__other.__raw_ptr_) { in __intrusive_shared_ptr() 59 _LIBCPP_HIDE_FROM_ABI __intrusive_shared_ptr(__intrusive_shared_ptr&& __other) noexcept in __intrusive_shared_ptr() 60 : __raw_ptr_(__other.__raw_ptr_) { in __intrusive_shared_ptr() 61 __other.__raw_ptr_ = nullptr; in __intrusive_shared_ptr() 64 …_LIBCPP_HIDE_FROM_ABI __intrusive_shared_ptr& operator=(const __intrusive_shared_ptr& __other) noe… 65 if (__other.__raw_ptr_ != __raw_ptr_) { 66 if (__other.__raw_ptr_) { 67 __increment_ref_count(*__other.__raw_ptr_); 72 __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
|
H A D | stop_token.h | 35 _LIBCPP_HIDE_FROM_ABI void swap(stop_token& __other) noexcept { __state_.swap(__other.__state_); } in swap() argument
|
/freebsd/contrib/llvm-project/libcxx/include/__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_), 65 __ptr_(__other.__ptr_) { 66 __other.__ptr_ = nullptr; in __allocation_guard() 69 _LIBCPP_HIDE_FROM_ABI __allocation_guard& operator=(const __allocation_guard& __other) = delete; in __allocation_guard() 70 _LIBCPP_HIDE_FROM_ABI __allocation_guard& operator=(__allocation_guard&& __other) _NOEXCEPT { in __allocation_guard() 71 if (std::addressof(__other) != this) { in __allocation_guard() 74 __alloc_ = std::move(__other.__alloc_); 75 __n_ = __other [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() 64 __other.__value_.reset(); 67 _LIBCPP_HIDE_FROM_ABI constexpr __non_propagating_cache& operator=(__non_propagating_cache const& __other) noexcept { in __non_propagating_cache() 68 if (this != std::addressof(__other)) { in __non_propagating_cache() 74 _LIBCPP_HIDE_FROM_ABI constexpr __non_propagating_cache& operator=(__non_propagating_cache&& __other) noexcept { 76 __other.__value_.reset(); 65 __non_propagating_cache(__non_propagating_cache && __other) __non_propagating_cache() argument
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | __node_handle | 121 _LIBCPP_HIDE_FROM_ABI __basic_node_handle(__basic_node_handle&& __other) noexcept 122 : __ptr_(__other.__ptr_), __alloc_(std::move(__other.__alloc_)) { 123 __other.__ptr_ = nullptr; 124 __other.__alloc_ = std::nullopt; 127 _LIBCPP_HIDE_FROM_ABI __basic_node_handle& operator=(__basic_node_handle&& __other) { 130 __alloc_ == __other.__alloc_, 135 __ptr_ = __other.__ptr_; 138 __alloc_ = std::move(__other.__alloc_); 140 __other.__ptr_ = nullptr; 141 __other.__alloc_ = std::nullopt; [all …]
|
H A D | syncstream | 264 _LIBCPP_HIDE_FROM_ABI basic_syncbuf(basic_syncbuf&& __other) 265 …: __wrapped_(__other.get_wrapped()), __str_(std::move(__other.__str_)), __emit_on_sync_(__other.__… 266 __move_common(__other); 283 _LIBCPP_HIDE_FROM_ABI basic_syncbuf& operator=(basic_syncbuf&& __other) { 289 __wrapped_ = __other.get_wrapped(); 290 __str_ = std::move(__other.__str_); 291 __emit_on_sync_ = __other.__emit_on_sync_; 293 __move_common(__other); 298 _LIBCPP_HIDE_FROM_ABI void swap(basic_syncbuf& __other) { 300 …aits<_Allocator>::propagate_on_container_swap::value || get_allocator() == __other.get_allocator(), [all …]
|
H A D | any | 195 _LIBCPP_HIDE_FROM_ABI any(any const& __other) : __h_(nullptr) { 196 if (__other.__h_) 197 __other.__call(_Action::_Copy, this); 200 _LIBCPP_HIDE_FROM_ABI any(any&& __other) _NOEXCEPT : __h_(nullptr) { 201 if (__other.__h_) 202 __other.__call(_Action::_Move, this); 289 …__call(_Action __a, any* __other = nullptr, type_info const* __info = nullptr, const void* __fallb… 291 return __h_(__a, this, __other, __info, __fallback_info); 295 …_Action __a, any* __other = nullptr, type_info const* __info = nullptr, const void* __fallback_inf… 296 return __h_(__a, this, __other, __info, __fallback_info); [all …]
|
H A D | scoped_allocator | 223 …__scoped_allocator_storage(const __scoped_allocator_storage<_OuterA2, _InnerAllocs...>& __other) _… 224 : outer_allocator_type(__other.outer_allocator()), 225 __inner_(__other.inner_allocator()) {} 229 …__scoped_allocator_storage(__scoped_allocator_storage<_OuterA2, _InnerAllocs...>&& __other) _NOEXC… 230 : outer_allocator_type(std::move(__other.outer_allocator())), 231 __inner_(std::move(__other.inner_allocator())) {} 273 …_FROM_ABI __scoped_allocator_storage(const __scoped_allocator_storage<_OuterA2>& __other) _NOEXCEPT 274 : outer_allocator_type(__other.outer_allocator()) {} 277 …_LIBCPP_HIDE_FROM_ABI __scoped_allocator_storage(__scoped_allocator_storage<_OuterA2>&& __other) _… 278 : outer_allocator_type(std::move(__other.outer_allocator())) {} [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__utility/ |
H A D | exception_guard.h | 72 __exception_guard_exceptions(__exception_guard_exceptions&& __other) in __exception_guard_exceptions() 74 : __rollback_(std::move(__other.__rollback_)), __completed_(__other.__completed_) { in __exception_guard_exceptions() 75 __other.__completed_ = true; in __exception_guard_exceptions() 103 __exception_guard_noexceptions(__exception_guard_noexceptions&& __other) in __exception_guard_noexceptions() 105 : __completed_(__other.__completed_) { in __exception_guard_noexceptions() 106 __other.__completed_ = true; in __exception_guard_noexceptions()
|
/freebsd/contrib/llvm-project/libcxx/include/__mdspan/ |
H A D | layout_left.h | 88 mapping(const mapping<_OtherExtents>& __other) noexcept in requires() 89 : __extents_(__other.extents()) { in requires() 93 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires() 100 mapping(const layout_right::mapping<_OtherExtents>& __other) noexcept in mapping() argument 101 : __extents_(__other.extents()) { in mapping() 109 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in mapping() 116 mapping(const layout_stride::mapping<_OtherExtents>& __other) noexcept in requires() 117 : __extents_(__other.extents()) { in requires() 123 … if (static_cast<_CommonType>(stride(__r)) != static_cast<_CommonType>(__other.stride(__r))) in requires() 129 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), in requires()
|
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_stride.h | 227 mapping(const _StridedLayoutMapping& __other) noexcept in requires() 228 : __extents_(__other.extents()), __strides_([&]<size_t... _Pos>(index_sequence<_Pos...>) { in requires() 232 static_cast<index_type>(__other.stride(_Pos))...}; in requires() 241 …return ((static_cast<index_type>(__other.stride(_Pos)) > static_cast<index_type>(0)) && ... && tru… 246 __mdspan_detail::__is_representable_as<index_type>(__other.required_span_size()), 248 _LIBCPP_ASSERT_VALID_ELEMENT_ACCESS(static_cast<index_type>(0) == __offset(__other),
|
H A D | mdspan.h | 154 … const mdspan<_OtherElementType, _OtherExtents, _OtherLayoutPolicy, _OtherAccessor>& __other) in requires() 155 : __ptr_(__other.__ptr_), __map_(__other.__map_), __acc_(__other.__acc_) { in requires() 173 … (static_cast<index_type>(__other.extent(__r)) == static_cast<index_type>(static_extent(__r))), in requires()
|
/freebsd/contrib/llvm-project/libcxx/include/__thread/ |
H A D | jthread.h | 70 _LIBCPP_HIDE_FROM_ABI jthread& operator=(jthread&& __other) noexcept { 71 if (this != &__other) { 76 __stop_source_ = std::move(__other.__stop_source_); 77 __thread_ = std::move(__other.__thread_); 84 _LIBCPP_HIDE_FROM_ABI void swap(jthread& __other) noexcept { in swap() argument 85 std::swap(__stop_source_, __other.__stop_source_); in swap() 86 std::swap(__thread_, __other.__thread_); in swap()
|
/freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | common_iterator.h | 78 _LIBCPP_HIDE_FROM_ABI constexpr common_iterator(const common_iterator<_I2, _S2>& __other) in common_iterator() argument 81 …!__other.__hold_.valueless_by_exception(), "Attempted to construct from a valueless common_iterato… in common_iterator() 82 if (__other.__hold_.index() == 0) in common_iterator() 83 … return variant<_Iter, _Sent>{in_place_index<0>, std::__unchecked_get<0>(__other.__hold_)}; in common_iterator() 84 return variant<_Iter, _Sent>{in_place_index<1>, std::__unchecked_get<1>(__other.__hold_)}; in common_iterator() 90 _LIBCPP_HIDE_FROM_ABI common_iterator& operator=(const common_iterator<_I2, _S2>& __other) { 92 …!__other.__hold_.valueless_by_exception(), "Attempted to assign from a valueless common_iterator"); 95 auto __other_idx = __other.__hold_.index(); 99 std::__unchecked_get<0>(__hold_) = std::__unchecked_get<0>(__other.__hold_); 101 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_;
|
H A D | bounded_iter.h | 71 …_FROM_ABI _LIBCPP_CONSTEXPR __bounded_iter(__bounded_iter<_OtherIterator> const& __other) _NOEXCEPT in __bounded_iter() 72 : __current_(__other.__current_), in __bounded_iter() 73 __begin_(__other.__begin_), in __bounded_iter() 74 __end_(__other.__end_) {} in __bounded_iter()
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | ranges_remove.h | 42 auto __pred = [&](auto&& __other) -> bool { return __value == __other; }; 51 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, &__other); } 30 exception_ptr& exception_ptr::operator=(const exception_ptr& __other) noexcept { 31 __ExceptionPtrAssign(this, &__other);
|
/freebsd/contrib/llvm-project/libcxx/include/experimental/ |
H A D | memory | 83 …_LIBCPP_HIDE_FROM_ABI constexpr observer_ptr(observer_ptr<_W2> __other) noexcept : __ptr_(__other.… 96 _LIBCPP_HIDE_FROM_ABI constexpr void swap(observer_ptr& __other) noexcept { 97 observer_ptr __tmp = __other; 98 __other = *this;
|
/freebsd/contrib/llvm-project/libcxx/include/__expected/ |
H A D | expected.h | 288 _LIBCPP_HIDE_FROM_ABI constexpr explicit __repr(bool __has_val, _OtherUnion&& __other) 291 [&] { return __make_union(__has_val, std::forward<_OtherUnion>(__other)); }), 366 …LIBCPP_HIDE_FROM_ABI static constexpr __union_t __make_union(bool __has_val, _OtherUnion&& __other) 370 return __union_t(in_place, std::forward<_OtherUnion>(__other).__val_); 372 return __union_t(unexpect, std::forward<_OtherUnion>(__other).__unex_); 380 _LIBCPP_HIDE_FROM_ABI static constexpr __repr __make_repr(bool __has_val, _OtherUnion&& __other) 384 return __repr(in_place, std::forward<_OtherUnion>(__other).__val_); 386 return __repr(unexpect, std::forward<_OtherUnion>(__other).__unex_); 414 _LIBCPP_HIDE_FROM_ABI constexpr explicit __expected_base(bool __has_val, _OtherUnion&& __other) 417 [&] { return __make_repr(__has_val, std::forward<_OtherUnion>(__other)); }) {} [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__memory_resource/ |
H A D | memory_resource.h | 44 …IDE_FROM_ABI bool is_equal(const memory_resource& __other) const noexcept { return do_is_equal(__o… in is_equal() argument
|
H A D | unsynchronized_pool_resource.h | 88 …_LIBCPP_HIDE_FROM_ABI_VIRTUAL bool do_is_equal(const memory_resource& __other) const _NOEXCEPT ove… in do_is_equal() argument 89 return &__other == this; in do_is_equal()
|