/external/llvm-project/libcxx/include/ |
D | strstream | 155 strstreambuf(strstreambuf&& __rhs); 157 strstreambuf& operator=(strstreambuf&& __rhs); 162 void swap(strstreambuf& __rhs); 196 strstreambuf::strstreambuf(strstreambuf&& __rhs) 197 : streambuf(__rhs), 198 __strmode_(__rhs.__strmode_), 199 __alsize_(__rhs.__alsize_), 200 __palloc_(__rhs.__palloc_), 201 __pfree_(__rhs.__pfree_) 203 __rhs.setg(nullptr, nullptr, nullptr); [all …]
|
D | sstream | 224 basic_stringbuf(basic_stringbuf&& __rhs); 227 basic_stringbuf& operator=(basic_stringbuf&& __rhs); 228 void swap(basic_stringbuf& __rhs); 249 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(basic_stringbuf&& __rhs) 250 : __mode_(__rhs.__mode_) 252 char_type* __p = const_cast<char_type*>(__rhs.__str_.data()); 256 if (__rhs.eback() != nullptr) 258 __binp = __rhs.eback() - __p; 259 __ninp = __rhs.gptr() - __p; 260 __einp = __rhs.egptr() - __p; [all …]
|
D | chrono | 1142 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const 1145 return _Ct(__lhs).count() == _Ct(__rhs).count(); 1153 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const 1154 {return __lhs.count() == __rhs.count();} 1161 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs) 1163 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs); 1172 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs) 1174 return !(__lhs == __rhs); 1183 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const 1186 return _Ct(__lhs).count() < _Ct(__rhs).count(); [all …]
|
D | fstream | 216 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 …]
|
D | cstddef | 94 constexpr byte operator| (byte __lhs, byte __rhs) noexcept 98 static_cast<unsigned int>(__lhs) | static_cast<unsigned int>(__rhs) 102 constexpr byte& operator|=(byte& __lhs, byte __rhs) noexcept 103 { return __lhs = __lhs | __rhs; } 105 constexpr byte operator& (byte __lhs, byte __rhs) noexcept 109 static_cast<unsigned int>(__lhs) & static_cast<unsigned int>(__rhs) 113 constexpr byte& operator&=(byte& __lhs, byte __rhs) noexcept 114 { return __lhs = __lhs & __rhs; } 116 constexpr byte operator^ (byte __lhs, byte __rhs) noexcept 120 static_cast<unsigned int>(__lhs) ^ static_cast<unsigned int>(__rhs) [all …]
|
D | typeinfo | 93 int __compare(const type_info &__rhs) const _NOEXCEPT; 201 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT { 202 return __lhs == __rhs; 205 static bool __lt(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT { 206 return __lhs < __rhs; 219 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT { 220 return __lhs == __rhs || __builtin_strcmp(__lhs, __rhs) == 0; 223 static bool __lt(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT { 224 return __builtin_strcmp(__lhs, __rhs) < 0; 248 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT { [all …]
|
D | future | 1051 future(future&& __rhs) _NOEXCEPT 1052 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1056 future& operator=(future&& __rhs) _NOEXCEPT 1058 future(_VSTD::move(__rhs)).swap(*this); 1070 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);} 1138 future(future&& __rhs) _NOEXCEPT 1139 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1143 future& operator=(future&& __rhs) _NOEXCEPT 1145 future(_VSTD::move(__rhs)).swap(*this); 1157 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);} [all …]
|
D | string_view | 617 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT 619 if ( __lhs.size() != __rhs.size()) return false; 620 return __lhs.compare(__rhs) == 0; 626 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT 628 if ( __lhs.size() != __rhs.size()) return false; 629 return __lhs.compare(__rhs) == 0; 635 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT 637 if ( __lhs.size() != __rhs.size()) return false; 638 return __lhs.compare(__rhs) == 0; 645 bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs)… [all …]
|
D | variant | 798 static void __generic_construct(__ctor& __lhs, _Rhs&& __rhs) { 800 if (!__rhs.valueless_by_exception()) { 802 __rhs.index(), 808 __lhs, _VSTD::forward<_Rhs>(__rhs)); 809 __lhs.__index = __rhs.index(); 1064 __impl* __rhs = _VSTD::addressof(__that); 1065 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) { 1066 _VSTD::swap(__lhs, __rhs); 1068 __impl __tmp(_VSTD::move(*__rhs)); 1071 this->__generic_construct(*__rhs, _VSTD::move(*__lhs)); [all …]
|
D | any | 236 any & operator=(any const & __rhs) { 237 any(__rhs).swap(*this); 242 any & operator=(any && __rhs) _NOEXCEPT { 243 any(_VSTD::move(__rhs)).swap(*this); 255 any & operator=(_ValueType && __rhs); 280 void swap(any & __rhs) _NOEXCEPT; 554 void any::swap(any & __rhs) _NOEXCEPT 556 if (this == &__rhs) 558 if (__h && __rhs.__h) { 560 __rhs.__call(_Action::_Move, &__tmp); [all …]
|
D | ios | 658 basic_ios& copyfmt(const basic_ios& __rhs); 681 void move(basic_ios& __rhs); 684 void move(basic_ios&& __rhs) {move(__rhs);} 687 void swap(basic_ios& __rhs) _NOEXCEPT; 803 basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs) 805 if (this != &__rhs) 808 ios_base::copyfmt(__rhs); 809 __tie_ = __rhs.__tie_; 810 __fill_ = __rhs.__fill_; 812 exceptions(__rhs.exceptions()); [all …]
|
/external/libcxx/include/ |
D | strstream | 156 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 …]
|
D | sstream | 218 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 …]
|
D | chrono | 1112 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 …]
|
D | fstream | 216 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 …]
|
D | cstddef | 68 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 …]
|
D | future | 1110 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 …]
|
D | string_view | 615 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 …]
|
D | variant | 795 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 …]
|
D | any | 237 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 …]
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | status_macros.h | 38 #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/llvm-project/libcxx/src/ |
D | typeinfo.cpp | 14 int std::type_info::__compare(const type_info &__rhs) const _NOEXCEPT { in __compare() 15 if (&__data == &__rhs.__data) in __compare() 17 return strcmp(&__data.__decorated_name[1], &__rhs.__data.__decorated_name[1]); in __compare()
|
D | strstream.cpp | 117 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()
|
/external/libcxx/src/ |
D | typeinfo.cpp | 15 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()
|
D | strstream.cpp | 118 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()
|