Home
last modified time | relevance | path

Searched refs:__rhs (Results 1 – 25 of 26) 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 …]
Dfstream199 basic_filebuf(basic_filebuf&& __rhs);
206 basic_filebuf& operator=(basic_filebuf&& __rhs);
208 void swap(basic_filebuf& __rhs);
287 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
288 : basic_streambuf<_CharT, _Traits>(__rhs)
290 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
293 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
294 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
298 __extbuf_ = __rhs.__extbuf_;
299 __extbufnext_ = __rhs.__extbufnext_;
[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 …]
Dcstddef67 constexpr byte operator| (byte __lhs, byte __rhs) noexcept
71 static_cast<unsigned int>(__lhs) | static_cast<unsigned int>(__rhs)
75 constexpr byte& operator|=(byte& __lhs, byte __rhs) noexcept
76 { return __lhs = __lhs | __rhs; }
78 constexpr byte operator& (byte __lhs, byte __rhs) noexcept
82 static_cast<unsigned int>(__lhs) & static_cast<unsigned int>(__rhs)
86 constexpr byte& operator&=(byte& __lhs, byte __rhs) noexcept
87 { return __lhs = __lhs & __rhs; }
89 constexpr byte operator^ (byte __lhs, byte __rhs) noexcept
93 static_cast<unsigned int>(__lhs) ^ static_cast<unsigned int>(__rhs)
[all …]
Dfuture1109 future(future&& __rhs) _NOEXCEPT
1110 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1114 future& operator=(future&& __rhs) _NOEXCEPT
1116 future(std::move(__rhs)).swap(*this);
1133 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1212 future(future&& __rhs) _NOEXCEPT
1213 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1217 future& operator=(future&& __rhs) _NOEXCEPT
1219 future(std::move(__rhs)).swap(*this);
1236 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
[all …]
Dstring_view612 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
614 if ( __lhs.size() != __rhs.size()) return false;
615 return __lhs.compare(__rhs) == 0;
621 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
623 if ( __lhs.size() != __rhs.size()) return false;
624 return __lhs.compare(__rhs) == 0;
630 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
632 if ( __lhs.size() != __rhs.size()) return false;
633 return __lhs.compare(__rhs) == 0;
640 bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs)…
[all …]
Dchrono606 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
609 return _Ct(__lhs).count() == _Ct(__rhs).count();
617 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const
618 {return __lhs.count() == __rhs.count();}
625 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
627 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs);
636 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
638 return !(__lhs == __rhs);
647 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
650 return _Ct(__lhs).count() < _Ct(__rhs).count();
[all …]
Dvariant793 static void __generic_construct(__constructor& __lhs, _Rhs&& __rhs) {
795 if (!__rhs.valueless_by_exception()) {
797 __rhs.index(),
803 __lhs, _VSTD::forward<_Rhs>(__rhs));
804 __lhs.__index = __rhs.index();
1059 __impl* __rhs = _VSTD::addressof(__that);
1060 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) {
1061 _VSTD::swap(__lhs, __rhs);
1063 __impl __tmp(_VSTD::move(*__rhs));
1065 // EXTENSION: When the move construction of `__lhs` into `__rhs` throws
[all …]
Dany235 any & operator=(any const & __rhs) {
236 any(__rhs).swap(*this);
241 any & operator=(any && __rhs) _NOEXCEPT {
242 any(_VSTD::move(__rhs)).swap(*this);
254 any & operator=(_ValueType && __rhs);
279 void swap(any & __rhs) _NOEXCEPT;
539 void any::swap(any & __rhs) _NOEXCEPT
541 if (this == &__rhs)
543 if (__h && __rhs.__h) {
545 __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 …]
Dstring3569 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3572 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(),
3573 __rhs.data(),
3581 const basic_string<char, char_traits<char>, _Allocator>& __rhs) _NOEXCEPT
3584 if (__lhs_sz != __rhs.size())
3587 const char* __rp = __rhs.data();
3600 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3605 if (__lhs_len != __rhs.size()) return false;
3606 return __rhs.compare(0, _String::npos, __lhs, __lhs_len) == 0;
3613 const _CharT* __rhs) _NOEXCEPT
[all …]
Distream196 basic_istream(basic_istream&& __rhs);
200 basic_istream& operator=(basic_istream&& __rhs);
204 void swap(basic_istream& __rhs) {
205 _VSTD::swap(__gc_, __rhs.__gc_);
206 basic_ios<char_type, traits_type>::swap(__rhs);
210 basic_istream (const basic_istream& __rhs) = delete;
211 basic_istream& operator=(const basic_istream& __rhs) = delete;
339 basic_istream<_CharT, _Traits>::basic_istream(basic_istream&& __rhs)
340 : __gc_(__rhs.__gc_)
342 __rhs.__gc_ = 0;
[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 …]
Dostream170 basic_ostream(basic_ostream&& __rhs);
174 basic_ostream& operator=(basic_ostream&& __rhs);
177 void swap(basic_ostream& __rhs)
178 { basic_ios<char_type, traits_type>::swap(__rhs); }
181 basic_ostream (const basic_ostream& __rhs) = delete;
182 basic_ostream& operator=(const basic_ostream& __rhs) = delete;
184 basic_ostream (const basic_ostream& __rhs); // not defined
185 basic_ostream& operator=(const basic_ostream& __rhs); // not defined
294 basic_ostream<_CharT, _Traits>::basic_ostream(basic_ostream&& __rhs)
296 this->move(__rhs);
[all …]
Dsystem_error407 bool operator==(const error_category& __rhs) const _NOEXCEPT {return this == &__rhs;}
410 bool operator!=(const error_category& __rhs) const _NOEXCEPT {return !(*this == __rhs);}
413 bool operator< (const error_category& __rhs) const _NOEXCEPT {return this < &__rhs;}
Dstreambuf234 basic_streambuf(const basic_streambuf& __rhs);
235 basic_streambuf& operator=(const basic_streambuf& __rhs);
236 void swap(basic_streambuf& __rhs);
Dtypeinfo104 int __compare(const type_info &__rhs) const _NOEXCEPT;
Drandom6109 param_type & operator=(const param_type& __rhs);
6224 (const param_type& __rhs)
6227 __b_.reserve (__rhs.__b_.size ());
6228 __densities_.reserve(__rhs.__densities_.size());
6229 __areas_.reserve (__rhs.__areas_.size());
6232 __b_ = __rhs.__b_;
6233 __densities_ = __rhs.__densities_;
6234 __areas_ = __rhs.__areas_;
6432 param_type & operator=(const param_type& __rhs);
6547 (const param_type& __rhs)
[all …]
/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.cpp291 shared_future<void>::operator=(const shared_future& __rhs) in operator =() argument
293 if (__rhs.__state_) in operator =()
294 __rhs.__state_->__add_shared(); in operator =()
297 __state_ = __rhs.__state_; in operator =()
/external/libcxx/include/experimental/
Dfilesystem899 void swap(path& __rhs) _NOEXCEPT {
900 __pn_.swap(__rhs.__pn_);
1039 void swap(path& __lhs, path& __rhs) _NOEXCEPT {
1040 __lhs.swap(__rhs);
1047 bool operator==(const path& __lhs, const path& __rhs) _NOEXCEPT
1048 { return __lhs.compare(__rhs) == 0; }
1051 bool operator!=(const path& __lhs, const path& __rhs) _NOEXCEPT
1052 { return __lhs.compare(__rhs) != 0; }
1055 bool operator<(const path& __lhs, const path& __rhs) _NOEXCEPT
1056 { return __lhs.compare(__rhs) < 0; }
[all …]
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