Home
last modified time | relevance | path

Searched refs:__other (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-12-stable/contrib/llvm-project/libcxx/include/__ranges/
Dcopyable_box.h68 constexpr __copyable_box& operator=(__copyable_box const& __other)
71 if (this != _VSTD::addressof(__other)) { in noexcept()
72 if (__other.__has_value()) __val_.emplace(*__other); in noexcept()
82 constexpr __copyable_box& operator=(__copyable_box&& __other)
85 if (this != _VSTD::addressof(__other)) { in noexcept()
86 if (__other.__has_value()) __val_.emplace(_VSTD::move(*__other)); in noexcept()
144 constexpr __copyable_box& operator=(__copyable_box const& __other) noexcept {
146 if (this != _VSTD::addressof(__other)) {
148 _VSTD::construct_at(_VSTD::addressof(__val_), __other.__val_);
154 constexpr __copyable_box& operator=(__copyable_box&& __other) noexcept {
[all …]
Dnon_propagating_cache.h56 constexpr __non_propagating_cache(__non_propagating_cache&& __other) noexcept in __non_propagating_cache() argument
59 __other.__value_.reset(); in __non_propagating_cache()
63 constexpr __non_propagating_cache& operator=(__non_propagating_cache const& __other) noexcept {
64 if (this != _VSTD::addressof(__other)) {
71 constexpr __non_propagating_cache& operator=(__non_propagating_cache&& __other) noexcept {
73 __other.__value_.reset();
/freebsd-12-stable/contrib/llvm-project/libcxx/include/
D__node_handle92 __basic_node_handle(__basic_node_handle&& __other) noexcept
93 : __ptr_(__other.__ptr_),
94 __alloc_(_VSTD::move(__other.__alloc_))
96 __other.__ptr_ = nullptr;
97 __other.__alloc_ = _VSTD::nullopt;
101 __basic_node_handle& operator=(__basic_node_handle&& __other)
106 __alloc_ == __other.__alloc_,
111 __ptr_ = __other.__ptr_;
115 __alloc_ = _VSTD::move(__other.__alloc_);
117 __other.__ptr_ = nullptr;
[all …]
Dany191 any(any const & __other) : __h(nullptr)
193 if (__other.__h) __other.__call(_Action::_Copy, this);
197 any(any && __other) _NOEXCEPT : __h(nullptr)
199 if (__other.__h) __other.__call(_Action::_Move, this);
310 void * __call(_Action __a, any * __other = nullptr,
314 return __h(__a, this, __other, __info, __fallback_info);
318 void * __call(_Action __a, any * __other = nullptr,
322 return __h(__a, this, __other, __info, __fallback_info);
348 static void* __handle(_Action __act, any const * __this, any * __other,
357 __copy(*__this, *__other);
[all …]
Dscoped_allocator228 const __scoped_allocator_storage<_OuterA2, _InnerAllocs...>& __other) _NOEXCEPT
229 : outer_allocator_type(__other.outer_allocator()),
230 __inner_(__other.inner_allocator()) {}
238 __scoped_allocator_storage<_OuterA2, _InnerAllocs...>&& __other) _NOEXCEPT
239 : outer_allocator_type(_VSTD::move(__other.outer_allocator())),
240 __inner_(_VSTD::move(__other.inner_allocator())) {}
307 const __scoped_allocator_storage<_OuterA2>& __other) _NOEXCEPT
308 : outer_allocator_type(__other.outer_allocator()) {}
316 __scoped_allocator_storage<_OuterA2>&& __other) _NOEXCEPT
317 : outer_allocator_type(_VSTD::move(__other.outer_allocator())) {}
[all …]
Dspan262 constexpr span(const span<_OtherElementType, _Extent>& __other,
266 : __data{__other.data()} {}
270 constexpr explicit span(const span<_OtherElementType, dynamic_extent>& __other,
274 …: __data{__other.data()} { _LIBCPP_ASSERT(_Extent == __other.size(), "size mismatch in span's cons…
437 constexpr span(const span<_OtherElementType, _OtherExtent>& __other,
441 : __data{__other.data()}, __size{__other.size()} {}
Dfuture1918 packaged_task(packaged_task&& __other) _NOEXCEPT
1919 : __f_(_VSTD::move(__other.__f_)), __p_(_VSTD::move(__other.__p_)) {}
1921 packaged_task& operator=(packaged_task&& __other) _NOEXCEPT
1923 __f_ = _VSTD::move(__other.__f_);
1924 __p_ = _VSTD::move(__other.__p_);
1928 void swap(packaged_task& __other) _NOEXCEPT
1930 __f_.swap(__other.__f_);
1931 __p_.swap(__other.__p_);
2047 packaged_task(packaged_task&& __other) _NOEXCEPT
2048 : __f_(_VSTD::move(__other.__f_)), __p_(_VSTD::move(__other.__p_)) {}
[all …]
Dexception204 exception_ptr(const exception_ptr& __other) _NOEXCEPT;
205 exception_ptr& operator=(const exception_ptr& __other) _NOEXCEPT;
Dstring_view365 void swap(basic_string_view& __other) _NOEXCEPT
368 __data = __other.__data;
369 __other.__data = __p;
372 __size = __other.__size;
373 __other.__size = __sz;
D__locale226 locale::locale(const locale& __other, _Facet* __f)
228 __install_ctor(__other, __f, __f ? __f->id.__get() : 0);
233 locale::combine(const locale& __other) const
235 if (!_VSTD::has_facet<_Facet>(__other))
238 return locale(*this, &const_cast<_Facet&>(_VSTD::use_facet<_Facet>(__other)));
Dforward_list1447 forward_list& /*__other*/,
1462 forward_list& /*__other*/,
/freebsd-12-stable/contrib/llvm-project/libcxx/include/__iterator/
Dcommon_iterator.h79 constexpr common_iterator(const common_iterator<_I2, _S2>& __other) in common_iterator() argument
81 … _LIBCPP_ASSERT(!__other.__hold_.valueless_by_exception(), "Constructed from valueless iterator."); in common_iterator()
82 if (__other.__hold_.index() == 0) in common_iterator()
83 return variant<_Iter, _Sent>{in_place_index<0>, _VSTD::__unchecked_get<0>(__other.__hold_)}; in common_iterator()
84 return variant<_Iter, _Sent>{in_place_index<1>, _VSTD::__unchecked_get<1>(__other.__hold_)}; in common_iterator()
90 common_iterator& operator=(const common_iterator<_I2, _S2>& __other) {
91 _LIBCPP_ASSERT(!__other.__hold_.valueless_by_exception(), "Assigned from valueless iterator.");
94 auto __other_idx = __other.__hold_.index();
98 _VSTD::__unchecked_get<0>(__hold_) = _VSTD::__unchecked_get<0>(__other.__hold_);
100 _VSTD::__unchecked_get<1>(__hold_) = _VSTD::__unchecked_get<1>(__other.__hold_);
[all …]
Dcounted_iterator.h87 constexpr counted_iterator(const counted_iterator<_I2>& __other)
88 : __current_(__other.__current_), __count_(__other.__count_) {}
93 constexpr counted_iterator& operator=(const counted_iterator<_I2>& __other) {
94 __current_ = __other.__current_;
95 __count_ = __other.__count_;
/freebsd-12-stable/contrib/libstdc++/include/bits/
Dlocale_classes.h132 locale(const locale& __other) throw(); in _GLIBCXX_BEGIN_NAMESPACE()
183 locale(const locale& __other, _Facet* __f); in _GLIBCXX_BEGIN_NAMESPACE()
197 operator=(const locale& __other) throw(); in _GLIBCXX_BEGIN_NAMESPACE()
213 combine(const locale& __other) const; in _GLIBCXX_BEGIN_NAMESPACE()
231 operator==(const locale& __other) const throw (); in _GLIBCXX_BEGIN_NAMESPACE()
240 operator!=(const locale& __other) const throw () in _GLIBCXX_BEGIN_NAMESPACE()
241 { return !(this->operator==(__other)); } in _GLIBCXX_BEGIN_NAMESPACE()
565 locale::locale(const locale& __other, _Facet* __f) in locale() argument
567 _M_impl = new _Impl(*__other._M_impl, 1); in locale()
Dpostypes.h188 operator-(const fpos& __other) const
189 { return _M_off - __other._M_off; }
Dlocale_facets.tcc51 locale::combine(const locale& __other) const in _GLIBCXX_BEGIN_NAMESPACE()
56 __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); in _GLIBCXX_BEGIN_NAMESPACE()
/freebsd-12-stable/contrib/llvm-project/libcxx/src/support/runtime/
Dexception_pointer_msvc.ipp30 exception_ptr::exception_ptr(const exception_ptr& __other) noexcept {
31 __ExceptionPtrCopy(this, &__other);
33 exception_ptr& exception_ptr::operator=(const exception_ptr& __other) noexcept {
34 __ExceptionPtrAssign(this, &__other);
/freebsd-12-stable/contrib/llvm-project/libcxx/include/__functional/
Dperfect_forward.h67 constexpr __perfect_forward_impl(__perfect_forward_impl const& __other)
68 : __bound_(__other.__bound_) {}
72 constexpr __perfect_forward_impl(__perfect_forward_impl && __other)
73 : __bound_(_VSTD::move(__other.__bound_)) {}
/freebsd-12-stable/contrib/libstdc++/src/
Dlocale.cc77 locale::locale(const locale& __other) throw() in locale() argument
78 : _M_impl(__other._M_impl) in locale()
112 locale::operator=(const locale& __other) throw() in operator =() argument
114 __other._M_impl->_M_add_reference(); in operator =()
116 _M_impl = __other._M_impl; in operator =()
Dlocale_init.cc221 locale::global(const locale& __other) in global() argument
228 __other._M_impl->_M_add_reference(); in global()
229 _S_global = __other._M_impl; in global()
230 const string __other_name = __other.name(); in global()
/freebsd-12-stable/contrib/llvm-project/libcxx/include/experimental/
Dmemory_resource115 bool is_equal(memory_resource const & __other) const _NOEXCEPT
116 { return do_is_equal(__other); }
176 polymorphic_allocator(polymorphic_allocator<_Tp> const & __other) _NOEXCEPT
177 : __res_(__other.resource())
404 virtual bool do_is_equal(memory_resource const & __other) const _NOEXCEPT {
406 = dynamic_cast<__resource_adaptor_imp const *>(&__other);
/freebsd-12-stable/contrib/llvm-project/libcxx/src/experimental/
Dmemory_resource.cpp63 virtual bool do_is_equal(memory_resource const & __other) const noexcept in do_is_equal()
64 { return &__other == this; } in do_is_equal()
/freebsd-12-stable/lib/msun/x86/
Dfenv.h81 char __other[16]; member
89 char __other[16]; member
/freebsd-12-stable/contrib/libstdc++/include/tr1/
Darray74 swap(array& __other)
75 { std::swap_ranges(begin(), end(), __other.begin()); }
Dboost_shared_ptr.h690 swap(__shared_ptr<_Tp, _Lp>& __other) // never throws in swap() argument
692 std::swap(_M_ptr, __other._M_ptr); in swap()
693 _M_refcount._M_swap(__other._M_refcount); in swap()

12