Home
last modified time | relevance | path

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

/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 …]
Dfstream197 basic_filebuf(basic_filebuf&& __rhs);
204 basic_filebuf& operator=(basic_filebuf&& __rhs);
206 void swap(basic_filebuf& __rhs);
282 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
283 : basic_streambuf<_CharT, _Traits>(__rhs)
285 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
288 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
289 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
293 __extbuf_ = __rhs.__extbuf_;
294 __extbufnext_ = __rhs.__extbufnext_;
[all …]
Dsstream216 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 …]
Dstring_view580 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
582 if ( __lhs.size() != __rhs.size()) return false;
583 return __lhs.compare(__rhs) == 0;
589 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
591 if ( __lhs.size() != __rhs.size()) return false;
592 return __lhs.compare(__rhs) == 0;
598 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
600 if ( __lhs.size() != __rhs.size()) return false;
601 return __lhs.compare(__rhs) == 0;
608 bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs)…
[all …]
Dfuture1105 future(future&& __rhs) _NOEXCEPT
1106 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1110 future& operator=(future&& __rhs) _NOEXCEPT
1112 future(std::move(__rhs)).swap(*this);
1129 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1208 future(future&& __rhs) _NOEXCEPT
1209 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1213 future& operator=(future&& __rhs) _NOEXCEPT
1215 future(std::move(__rhs)).swap(*this);
1232 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
[all …]
Dchrono603 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
606 return _Ct(__lhs).count() == _Ct(__rhs).count();
614 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const
615 {return __lhs.count() == __rhs.count();}
622 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
624 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs);
633 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
635 return !(__lhs == __rhs);
644 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
647 return _Ct(__lhs).count() < _Ct(__rhs).count();
[all …]
Dvariant774 static void __generic_construct(__constructor& __lhs, _Rhs&& __rhs) {
776 if (!__rhs.valueless_by_exception()) {
778 __rhs.index(),
784 __lhs, _VSTD::forward<_Rhs>(__rhs));
785 __lhs.__index = __rhs.index();
1042 __impl* __rhs = _VSTD::addressof(__that);
1043 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) {
1044 _VSTD::swap(__lhs, __rhs);
1046 __impl __tmp(_VSTD::move(*__rhs));
1048 // EXTENSION: When the move construction of `__lhs` into `__rhs` throws
[all …]
Dany233 any & operator=(any const & __rhs) {
234 any(__rhs).swap(*this);
239 any & operator=(any && __rhs) _NOEXCEPT {
240 any(_VSTD::move(__rhs)).swap(*this);
252 any & operator=(_ValueType && __rhs);
277 void swap(any & __rhs) _NOEXCEPT;
535 void any::swap(any & __rhs) _NOEXCEPT
537 if (this == &__rhs)
539 if (__h && __rhs.__h) {
541 __rhs.__call(_Action::_Move, &__tmp);
[all …]
Dios636 basic_ios& copyfmt(const basic_ios& __rhs);
659 void move(basic_ios& __rhs);
662 void move(basic_ios&& __rhs) {move(__rhs);}
665 void swap(basic_ios& __rhs) _NOEXCEPT;
781 basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs)
783 if (this != &__rhs)
786 ios_base::copyfmt(__rhs);
787 __tie_ = __rhs.__tie_;
788 __fill_ = __rhs.__fill_;
790 exceptions(__rhs.exceptions());
[all …]
Dstring3532 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3535 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(),
3536 __rhs.data(),
3544 const basic_string<char, char_traits<char>, _Allocator>& __rhs) _NOEXCEPT
3547 if (__lhs_sz != __rhs.size())
3550 const char* __rp = __rhs.data();
3563 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3568 if (__lhs_len != __rhs.size()) return false;
3569 return __rhs.compare(0, _String::npos, __lhs, __lhs_len) == 0;
3576 const _CharT* __rhs) _NOEXCEPT
[all …]
Distream194 basic_istream(basic_istream&& __rhs);
199 basic_istream& operator=(basic_istream&& __rhs);
203 void swap(basic_istream& __rhs) {
204 _VSTD::swap(__gc_, __rhs.__gc_);
205 basic_ios<char_type, traits_type>::swap(__rhs);
209 basic_istream (const basic_istream& __rhs) = delete;
210 basic_istream& operator=(const basic_istream& __rhs) = delete;
338 basic_istream<_CharT, _Traits>::basic_istream(basic_istream&& __rhs)
339 : __gc_(__rhs.__gc_)
341 __rhs.__gc_ = 0;
[all …]
Dbitset681 bitset& operator&=(const bitset& __rhs) _NOEXCEPT;
683 bitset& operator|=(const bitset& __rhs) _NOEXCEPT;
685 bitset& operator^=(const bitset& __rhs) _NOEXCEPT;
726 bool operator==(const bitset& __rhs) const _NOEXCEPT;
728 bool operator!=(const bitset& __rhs) const _NOEXCEPT;
803 bitset<_Size>::operator&=(const bitset& __rhs) _NOEXCEPT
805 base::operator&=(__rhs);
812 bitset<_Size>::operator|=(const bitset& __rhs) _NOEXCEPT
814 base::operator|=(__rhs);
821 bitset<_Size>::operator^=(const bitset& __rhs) _NOEXCEPT
[all …]
Dostream170 basic_ostream(basic_ostream&& __rhs);
176 basic_ostream& operator=(basic_ostream&& __rhs);
179 void swap(basic_ostream& __rhs)
180 { basic_ios<char_type, traits_type>::swap(__rhs); }
183 basic_ostream (const basic_ostream& __rhs) = delete;
184 basic_ostream& operator=(const basic_ostream& __rhs) = delete;
186 basic_ostream (const basic_ostream& __rhs); // not defined
187 basic_ostream& operator=(const basic_ostream& __rhs); // not defined
296 basic_ostream<_CharT, _Traits>::basic_ostream(basic_ostream&& __rhs)
298 this->move(__rhs);
[all …]
Dsystem_error406 bool operator==(const error_category& __rhs) const _NOEXCEPT {return this == &__rhs;}
409 bool operator!=(const error_category& __rhs) const _NOEXCEPT {return !(*this == __rhs);}
412 bool operator< (const error_category& __rhs) const _NOEXCEPT {return this < &__rhs;}
D__threading_support511 __libcpp_thread_id __rhs)
513 return __lhs == __rhs;
516 bool __libcpp_thread_id_less(__libcpp_thread_id __lhs, __libcpp_thread_id __rhs)
518 return __lhs < __rhs;
Dstreambuf228 basic_streambuf(const basic_streambuf& __rhs);
229 basic_streambuf& operator=(const basic_streambuf& __rhs);
230 void swap(basic_streambuf& __rhs);
Drandom6092 param_type & operator=(const param_type& __rhs);
6207 (const param_type& __rhs)
6210 __b_.reserve (__rhs.__b_.size ());
6211 __densities_.reserve(__rhs.__densities_.size());
6212 __areas_.reserve (__rhs.__areas_.size());
6215 __b_ = __rhs.__b_;
6216 __densities_ = __rhs.__densities_;
6217 __areas_ = __rhs.__areas_;
6415 param_type & operator=(const param_type& __rhs);
6530 (const param_type& __rhs)
[all …]
Dutility1285 inline size_t __hash_combine(size_t __lhs, size_t __rhs) _NOEXCEPT {
1287 const _PairT __p = {__lhs, __rhs};
/external/libcxx/include/experimental/
Dstring_view610 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
612 if ( __lhs.size() != __rhs.size()) return false;
613 return __lhs.compare(__rhs) == 0;
619 … typename _VSTD::common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
621 if ( __lhs.size() != __rhs.size()) return false;
622 return __lhs.compare(__rhs) == 0;
628 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
630 if ( __lhs.size() != __rhs.size()) return false;
631 return __lhs.compare(__rhs) == 0;
638 …tor!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
[all …]
Dany200 any & operator=(any const & __rhs)
202 any(__rhs).swap(*this);
207 any & operator=(any && __rhs) _NOEXCEPT
209 any(_VSTD::move(__rhs)).swap(*this);
218 any & operator=(_ValueType && __rhs);
228 void swap(any & __rhs) _NOEXCEPT;
484 void any::swap(any & __rhs) _NOEXCEPT
486 if (__h && __rhs.__h) {
488 __rhs.__call(_Action::_Move, &__tmp);
489 this->__call(_Action::_Move, &__rhs);
[all …]
Dfilesystem898 void swap(path& __rhs) _NOEXCEPT {
899 __pn_.swap(__rhs.__pn_);
1003 void swap(path& __lhs, path& __rhs) _NOEXCEPT {
1004 __lhs.swap(__rhs);
1011 bool operator==(const path& __lhs, const path& __rhs) _NOEXCEPT
1012 { return __lhs.compare(__rhs) == 0; }
1015 bool operator!=(const path& __lhs, const path& __rhs) _NOEXCEPT
1016 { return __lhs.compare(__rhs) != 0; }
1019 bool operator<(const path& __lhs, const path& __rhs) _NOEXCEPT
1020 { return __lhs.compare(__rhs) < 0; }
[all …]
Dmemory_resource126 memory_resource const & __rhs) _NOEXCEPT
128 return &__lhs == &__rhs || __lhs.is_equal(__rhs);
133 memory_resource const & __rhs) _NOEXCEPT
135 return !(__lhs == __rhs);
320 polymorphic_allocator<_Up> const & __rhs) _NOEXCEPT
322 return *__lhs.resource() == *__rhs.resource();
328 polymorphic_allocator<_Up> const & __rhs) _NOEXCEPT
330 return !(__lhs == __rhs);
/external/libcxx/src/
Dstrstream.cpp117 strstreambuf::swap(strstreambuf& __rhs) in swap() argument
119 streambuf::swap(__rhs); in swap()
120 _VSTD::swap(__strmode_, __rhs.__strmode_); in swap()
121 _VSTD::swap(__alsize_, __rhs.__alsize_); in swap()
122 _VSTD::swap(__palloc_, __rhs.__palloc_); in swap()
123 _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 =()