Home
last modified time | relevance | path

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

/external/libcxx/include/
Dfstream197 basic_filebuf(basic_filebuf&& __rhs);
203 basic_filebuf& operator=(basic_filebuf&& __rhs);
205 void swap(basic_filebuf& __rhs);
279 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
280 : basic_streambuf<_CharT, _Traits>(__rhs)
282 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
285 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
286 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
290 __extbuf_ = __rhs.__extbuf_;
291 __extbufnext_ = __rhs.__extbufnext_;
[all …]
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 …]
Dsstream214 basic_stringbuf(basic_stringbuf&& __rhs);
219 basic_stringbuf& operator=(basic_stringbuf&& __rhs);
221 void swap(basic_stringbuf& __rhs);
260 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(basic_stringbuf&& __rhs)
261 : __mode_(__rhs.__mode_)
263 char_type* __p = const_cast<char_type*>(__rhs.__str_.data());
267 if (__rhs.eback() != nullptr)
269 __binp = __rhs.eback() - __p;
270 __ninp = __rhs.gptr() - __p;
271 __einp = __rhs.egptr() - __p;
[all …]
Dfuture1094 future(future&& __rhs) _NOEXCEPT
1095 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1099 future& operator=(future&& __rhs) _NOEXCEPT
1101 future(std::move(__rhs)).swap(*this);
1117 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1198 future(future&& __rhs) _NOEXCEPT
1199 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1203 future& operator=(future&& __rhs) _NOEXCEPT
1205 future(std::move(__rhs)).swap(*this);
1221 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
[all …]
Dchrono522 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
525 return _Ct(__lhs).count() == _Ct(__rhs).count();
533 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const
534 {return __lhs.count() == __rhs.count();}
541 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
543 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs);
552 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
554 return !(__lhs == __rhs);
563 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
566 return _Ct(__lhs).count() < _Ct(__rhs).count();
[all …]
Dios614 basic_ios& copyfmt(const basic_ios& __rhs);
637 void move(basic_ios& __rhs);
640 void move(basic_ios&& __rhs) {move(__rhs);}
643 void swap(basic_ios& __rhs) _NOEXCEPT;
759 basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs)
761 if (this != &__rhs)
764 ios_base::copyfmt(__rhs);
765 __tie_ = __rhs.__tie_;
766 __fill_ = __rhs.__fill_;
768 exceptions(__rhs.exceptions());
[all …]
Distream192 basic_istream(basic_istream&& __rhs);
197 basic_istream& operator=(basic_istream&& __rhs);
199 void swap(basic_istream& __rhs);
203 basic_istream (const basic_istream& __rhs) = delete;
204 basic_istream& operator=(const basic_istream& __rhs) = delete;
206 basic_istream (const basic_istream& __rhs); // not defined
207 basic_istream& operator=(const basic_istream& __rhs); // not defined
318 basic_istream<_CharT, _Traits>::basic_istream(basic_istream&& __rhs)
319 : __gc_(__rhs.__gc_)
321 __rhs.__gc_ = 0;
[all …]
Dstring3757 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3760 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(),
3761 __rhs.data(),
3769 const basic_string<char, char_traits<char>, _Allocator>& __rhs) _NOEXCEPT
3772 if (__lhs_sz != __rhs.size())
3775 const char* __rp = __rhs.data();
3788 const basic_string<_CharT, _Traits, _Allocator>& __rhs) _NOEXCEPT
3790 return __rhs.compare(__lhs) == 0;
3797 const _CharT* __rhs) _NOEXCEPT
3799 return __lhs.compare(__rhs) == 0;
[all …]
Dostream168 basic_ostream(basic_ostream&& __rhs);
174 basic_ostream& operator=(basic_ostream&& __rhs);
176 void swap(basic_ostream& __rhs);
179 basic_ostream (const basic_ostream& __rhs) = delete;
180 basic_ostream& operator=(const basic_ostream& __rhs) = delete;
182 basic_ostream (const basic_ostream& __rhs); // not defined
183 basic_ostream& operator=(const basic_ostream& __rhs); // not defined
288 basic_ostream<_CharT, _Traits>::basic_ostream(basic_ostream&& __rhs)
290 this->move(__rhs);
296 basic_ostream<_CharT, _Traits>::operator=(basic_ostream&& __rhs)
[all …]
Dbitset666 bitset& operator&=(const bitset& __rhs) _NOEXCEPT;
667 bitset& operator|=(const bitset& __rhs) _NOEXCEPT;
668 bitset& operator^=(const bitset& __rhs) _NOEXCEPT;
698 bool operator==(const bitset& __rhs) const _NOEXCEPT;
699 bool operator!=(const bitset& __rhs) const _NOEXCEPT;
779 bitset<_Size>::operator&=(const bitset& __rhs) _NOEXCEPT
781 base::operator&=(__rhs);
788 bitset<_Size>::operator|=(const bitset& __rhs) _NOEXCEPT
790 base::operator|=(__rhs);
797 bitset<_Size>::operator^=(const bitset& __rhs) _NOEXCEPT
[all …]
Dsystem_error388 bool operator==(const error_category& __rhs) const _NOEXCEPT {return this == &__rhs;}
391 bool operator!=(const error_category& __rhs) const _NOEXCEPT {return !(*this == __rhs);}
394 bool operator< (const error_category& __rhs) const _NOEXCEPT {return this < &__rhs;}
Dstreambuf164 basic_streambuf(const basic_streambuf& __rhs);
165 basic_streambuf& operator=(const basic_streambuf& __rhs);
166 void swap(basic_streambuf& __rhs);
Drandom6087 param_type & operator=(const param_type& __rhs);
6202 (const param_type& __rhs)
6205 __b_.reserve (__rhs.__b_.size ());
6206 __densities_.reserve(__rhs.__densities_.size());
6207 __areas_.reserve (__rhs.__areas_.size());
6210 __b_ = __rhs.__b_;
6211 __densities_ = __rhs.__densities_;
6212 __areas_ = __rhs.__areas_;
6410 param_type & operator=(const param_type& __rhs);
6525 (const param_type& __rhs)
[all …]
/external/libcxx/include/experimental/
Dstring_view609 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
611 if ( __lhs.size() != __rhs.size()) return false;
612 return __lhs.compare(__rhs) == 0;
618 … typename _VSTD::common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
620 if ( __lhs.size() != __rhs.size()) return false;
621 return __lhs.compare(__rhs) == 0;
627 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
629 if ( __lhs.size() != __rhs.size()) return false;
630 return __lhs.compare(__rhs) == 0;
637 …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);
217 any & operator=(_ValueType && __rhs);
226 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 …]
/external/libcxx/src/
Dstrstream.cpp115 strstreambuf::swap(strstreambuf& __rhs) in swap() argument
117 streambuf::swap(__rhs); in swap()
118 _VSTD::swap(__strmode_, __rhs.__strmode_); in swap()
119 _VSTD::swap(__alsize_, __rhs.__alsize_); in swap()
120 _VSTD::swap(__palloc_, __rhs.__palloc_); in swap()
121 _VSTD::swap(__pfree_, __rhs.__pfree_); in swap()
Dfuture.cpp289 shared_future<void>::operator=(const shared_future& __rhs) in operator =() argument
291 if (__rhs.__state_) in operator =()
292 __rhs.__state_->__add_shared(); in operator =()
295 __state_ = __rhs.__state_; in operator =()