Home
last modified time | relevance | path

Searched refs:__rhs (Results 1 – 25 of 28) sorted by relevance

12

/external/libcxx/include/
Dstrstream156 strstreambuf(strstreambuf&& __rhs);
158 strstreambuf& operator=(strstreambuf&& __rhs);
163 void swap(strstreambuf& __rhs);
197 strstreambuf::strstreambuf(strstreambuf&& __rhs)
198 : streambuf(__rhs),
199 __strmode_(__rhs.__strmode_),
200 __alsize_(__rhs.__alsize_),
201 __palloc_(__rhs.__palloc_),
202 __pfree_(__rhs.__pfree_)
204 __rhs.setg(nullptr, nullptr, nullptr);
[all …]
Dsstream218 basic_stringbuf(basic_stringbuf&& __rhs);
221 basic_stringbuf& operator=(basic_stringbuf&& __rhs);
223 void swap(basic_stringbuf& __rhs);
261 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(basic_stringbuf&& __rhs)
262 : __mode_(__rhs.__mode_)
264 char_type* __p = const_cast<char_type*>(__rhs.__str_.data());
268 if (__rhs.eback() != nullptr)
270 __binp = __rhs.eback() - __p;
271 __ninp = __rhs.gptr() - __p;
272 __einp = __rhs.egptr() - __p;
[all …]
Dchrono1112 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
1115 return _Ct(__lhs).count() == _Ct(__rhs).count();
1123 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const
1124 {return __lhs.count() == __rhs.count();}
1131 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
1133 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs);
1142 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
1144 return !(__lhs == __rhs);
1153 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
1156 return _Ct(__lhs).count() < _Ct(__rhs).count();
[all …]
Dfstream216 basic_filebuf(basic_filebuf&& __rhs);
223 basic_filebuf& operator=(basic_filebuf&& __rhs);
225 void swap(basic_filebuf& __rhs);
317 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
318 : basic_streambuf<_CharT, _Traits>(__rhs)
320 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
323 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
324 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
328 __extbuf_ = __rhs.__extbuf_;
329 __extbufnext_ = __rhs.__extbufnext_;
[all …]
Dcstddef68 constexpr byte operator| (byte __lhs, byte __rhs) noexcept
72 static_cast<unsigned int>(__lhs) | static_cast<unsigned int>(__rhs)
76 constexpr byte& operator|=(byte& __lhs, byte __rhs) noexcept
77 { return __lhs = __lhs | __rhs; }
79 constexpr byte operator& (byte __lhs, byte __rhs) noexcept
83 static_cast<unsigned int>(__lhs) & static_cast<unsigned int>(__rhs)
87 constexpr byte& operator&=(byte& __lhs, byte __rhs) noexcept
88 { return __lhs = __lhs & __rhs; }
90 constexpr byte operator^ (byte __lhs, byte __rhs) noexcept
94 static_cast<unsigned int>(__lhs) ^ static_cast<unsigned int>(__rhs)
[all …]
Dfuture1110 future(future&& __rhs) _NOEXCEPT
1111 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1115 future& operator=(future&& __rhs) _NOEXCEPT
1117 future(std::move(__rhs)).swap(*this);
1134 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1210 future(future&& __rhs) _NOEXCEPT
1211 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1215 future& operator=(future&& __rhs) _NOEXCEPT
1217 future(std::move(__rhs)).swap(*this);
1234 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
[all …]
Dstring_view615 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
617 if ( __lhs.size() != __rhs.size()) return false;
618 return __lhs.compare(__rhs) == 0;
624 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
626 if ( __lhs.size() != __rhs.size()) return false;
627 return __lhs.compare(__rhs) == 0;
633 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
635 if ( __lhs.size() != __rhs.size()) return false;
636 return __lhs.compare(__rhs) == 0;
643 bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs)…
[all …]
Dvariant795 static void __generic_construct(__constructor& __lhs, _Rhs&& __rhs) {
797 if (!__rhs.valueless_by_exception()) {
799 __rhs.index(),
805 __lhs, _VSTD::forward<_Rhs>(__rhs));
806 __lhs.__index = __rhs.index();
1061 __impl* __rhs = _VSTD::addressof(__that);
1062 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) {
1063 _VSTD::swap(__lhs, __rhs);
1065 __impl __tmp(_VSTD::move(*__rhs));
1067 // EXTENSION: When the move construction of `__lhs` into `__rhs` throws
[all …]
Dany237 any & operator=(any const & __rhs) {
238 any(__rhs).swap(*this);
243 any & operator=(any && __rhs) _NOEXCEPT {
244 any(_VSTD::move(__rhs)).swap(*this);
256 any & operator=(_ValueType && __rhs);
281 void swap(any & __rhs) _NOEXCEPT;
541 void any::swap(any & __rhs) _NOEXCEPT
543 if (this == &__rhs)
545 if (__h && __rhs.__h) {
547 __rhs.__call(_Action::_Move, &__tmp);
[all …]
Dios639 basic_ios& copyfmt(const basic_ios& __rhs);
662 void move(basic_ios& __rhs);
665 void move(basic_ios&& __rhs) {move(__rhs);}
668 void swap(basic_ios& __rhs) _NOEXCEPT;
784 basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs)
786 if (this != &__rhs)
789 ios_base::copyfmt(__rhs);
790 __tie_ = __rhs.__tie_;
791 __fill_ = __rhs.__fill_;
793 exceptions(__rhs.exceptions());
[all …]
Dfilesystem970 void swap(path& __rhs) noexcept { __pn_.swap(__rhs.__pn_); }
1154 friend _LIBCPP_INLINE_VISIBILITY bool operator==(const path& __lhs, const path& __rhs) noexcept {
1155 return __lhs.compare(__rhs) == 0;
1157 friend _LIBCPP_INLINE_VISIBILITY bool operator!=(const path& __lhs, const path& __rhs) noexcept {
1158 return __lhs.compare(__rhs) != 0;
1160 friend _LIBCPP_INLINE_VISIBILITY bool operator<(const path& __lhs, const path& __rhs) noexcept {
1161 return __lhs.compare(__rhs) < 0;
1163 friend _LIBCPP_INLINE_VISIBILITY bool operator<=(const path& __lhs, const path& __rhs) noexcept {
1164 return __lhs.compare(__rhs) <= 0;
1166 friend _LIBCPP_INLINE_VISIBILITY bool operator>(const path& __lhs, const path& __rhs) noexcept {
[all …]
Distream197 basic_istream(basic_istream&& __rhs);
201 basic_istream& operator=(basic_istream&& __rhs);
205 void swap(basic_istream& __rhs) {
206 _VSTD::swap(__gc_, __rhs.__gc_);
207 basic_ios<char_type, traits_type>::swap(__rhs);
211 basic_istream (const basic_istream& __rhs) = delete;
212 basic_istream& operator=(const basic_istream& __rhs) = delete;
340 basic_istream<_CharT, _Traits>::basic_istream(basic_istream&& __rhs)
341 : __gc_(__rhs.__gc_)
343 __rhs.__gc_ = 0;
[all …]
Dstring3846 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3849 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(),
3850 __rhs.data(),
3858 const basic_string<char, char_traits<char>, _Allocator>& __rhs) _NOEXCEPT
3861 if (__lhs_sz != __rhs.size())
3864 const char* __rp = __rhs.data();
3877 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3882 if (__lhs_len != __rhs.size()) return false;
3883 return __rhs.compare(0, _String::npos, __lhs, __lhs_len) == 0;
3890 const _CharT* __rhs) _NOEXCEPT
[all …]
Dbitset696 bitset& operator&=(const bitset& __rhs) _NOEXCEPT;
698 bitset& operator|=(const bitset& __rhs) _NOEXCEPT;
700 bitset& operator^=(const bitset& __rhs) _NOEXCEPT;
741 bool operator==(const bitset& __rhs) const _NOEXCEPT;
743 bool operator!=(const bitset& __rhs) const _NOEXCEPT;
818 bitset<_Size>::operator&=(const bitset& __rhs) _NOEXCEPT
820 base::operator&=(__rhs);
827 bitset<_Size>::operator|=(const bitset& __rhs) _NOEXCEPT
829 base::operator|=(__rhs);
836 bitset<_Size>::operator^=(const bitset& __rhs) _NOEXCEPT
[all …]
Dostream171 basic_ostream(basic_ostream&& __rhs);
175 basic_ostream& operator=(basic_ostream&& __rhs);
178 void swap(basic_ostream& __rhs)
179 { basic_ios<char_type, traits_type>::swap(__rhs); }
182 basic_ostream (const basic_ostream& __rhs) = delete;
183 basic_ostream& operator=(const basic_ostream& __rhs) = delete;
185 basic_ostream (const basic_ostream& __rhs); // not defined
186 basic_ostream& operator=(const basic_ostream& __rhs); // not defined
295 basic_ostream<_CharT, _Traits>::basic_ostream(basic_ostream&& __rhs)
297 this->move(__rhs);
[all …]
Dsystem_error221 bool operator==(const error_category& __rhs) const _NOEXCEPT {return this == &__rhs;}
224 bool operator!=(const error_category& __rhs) const _NOEXCEPT {return !(*this == __rhs);}
227 bool operator< (const error_category& __rhs) const _NOEXCEPT {return this < &__rhs;}
Dcompare669 template<class _Tp> constexpr strong_ordering strong_order(const _Tp& __lhs, const _Tp& __rhs);
670 template<class _Tp> constexpr weak_ordering weak_order(const _Tp& __lhs, const _Tp& __rhs);
671 template<class _Tp> constexpr partial_ordering partial_order(const _Tp& __lhs, const _Tp& __rhs);
672 template<class _Tp> constexpr strong_equality strong_equal(const _Tp& __lhs, const _Tp& __rhs);
673 template<class _Tp> constexpr weak_equality weak_equal(const _Tp& __lhs, const _Tp& __rhs);
Dstreambuf234 basic_streambuf(const basic_streambuf& __rhs);
235 basic_streambuf& operator=(const basic_streambuf& __rhs);
236 void swap(basic_streambuf& __rhs);
Dtypeinfo100 int __compare(const type_info &__rhs) const _NOEXCEPT;
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatus_macros.h38 #define SE_ASSIGN_OR_RETURN_IMPL(__lhs, __rhs, __name) \ argument
39 auto __name = (__rhs); \
49 #define SE_ASSIGN_OR_RETURN(__lhs, __rhs) \ argument
50 SE_ASSIGN_OR_RETURN_IMPL(__lhs, __rhs, \
/external/libcxx/src/
Dtypeinfo.cpp15 int std::type_info::__compare(const type_info &__rhs) const _NOEXCEPT { in __compare()
16 if (&__data == &__rhs.__data) in __compare()
18 return strcmp(&__data.__decorated_name[1], &__rhs.__data.__decorated_name[1]); in __compare()
Dstrstream.cpp118 strstreambuf::swap(strstreambuf& __rhs) in swap() argument
120 streambuf::swap(__rhs); in swap()
121 _VSTD::swap(__strmode_, __rhs.__strmode_); in swap()
122 _VSTD::swap(__alsize_, __rhs.__alsize_); in swap()
123 _VSTD::swap(__palloc_, __rhs.__palloc_); in swap()
124 _VSTD::swap(__pfree_, __rhs.__pfree_); in swap()
Dfuture.cpp266 shared_future<void>::operator=(const shared_future& __rhs) in operator =() argument
268 if (__rhs.__state_) in operator =()
269 __rhs.__state_->__add_shared(); in operator =()
272 __state_ = __rhs.__state_; in operator =()
/external/libcxx/include/experimental/
Dmemory_resource129 memory_resource const & __rhs) _NOEXCEPT
131 return &__lhs == &__rhs || __lhs.is_equal(__rhs);
136 memory_resource const & __rhs) _NOEXCEPT
138 return !(__lhs == __rhs);
323 polymorphic_allocator<_Up> const & __rhs) _NOEXCEPT
325 return *__lhs.resource() == *__rhs.resource();
331 polymorphic_allocator<_Up> const & __rhs) _NOEXCEPT
333 return !(__lhs == __rhs);
/external/libcxx/src/support/win32/
Dthread_win32.cpp164 __libcpp_thread_id __rhs) in __libcpp_thread_id_equal() argument
166 return __lhs == __rhs; in __libcpp_thread_id_equal()
169 bool __libcpp_thread_id_less(__libcpp_thread_id __lhs, __libcpp_thread_id __rhs) in __libcpp_thread_id_less() argument
171 return __lhs < __rhs; in __libcpp_thread_id_less()

12