/external/llvm-project/libcxx/include/ |
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 | 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 | typeinfo | 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 { 249 if (__lhs == __rhs) [all …]
|
D | string_view | 616 bool operator==(basic_string_view<_CharT, _Traits> __lhs, 619 if ( __lhs.size() != __rhs.size()) return false; 620 return __lhs.compare(__rhs) == 0; 625 bool operator==(basic_string_view<_CharT, _Traits> __lhs, 628 if ( __lhs.size() != __rhs.size()) return false; 629 return __lhs.compare(__rhs) == 0; 634 bool operator==(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs, 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) { 799 __lhs.__destroy(); 808 __lhs, _VSTD::forward<_Rhs>(__rhs)); 809 __lhs.__index = __rhs.index(); 1063 __impl* __lhs = this; 1065 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) { 1066 _VSTD::swap(__lhs, __rhs); 1071 this->__generic_construct(*__rhs, _VSTD::move(*__lhs)); 1073 // EXTENSION: When the move construction of `__lhs` into `__rhs` throws 1077 this->__generic_construct(*__rhs, _VSTD::move(*__lhs)); [all …]
|
D | string | 3997 operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs, 4000 size_t __lhs_sz = __lhs.size(); 4001 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(), 4009 operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs, 4012 size_t __lhs_sz = __lhs.size(); 4015 const char* __lp = __lhs.data(); 4017 if (__lhs.__is_long()) 4028 operator==(const _CharT* __lhs, 4032 _LIBCPP_ASSERT(__lhs != nullptr, "operator==(char*, basic_string): received nullptr"); 4033 size_t __lhs_len = _Traits::length(__lhs); [all …]
|
D | filesystem | 1188 friend _LIBCPP_INLINE_VISIBILITY bool operator==(const path& __lhs, const path& __rhs) noexcept { 1189 return __lhs.compare(__rhs) == 0; 1191 friend _LIBCPP_INLINE_VISIBILITY bool operator!=(const path& __lhs, const path& __rhs) noexcept { 1192 return __lhs.compare(__rhs) != 0; 1194 friend _LIBCPP_INLINE_VISIBILITY bool operator<(const path& __lhs, const path& __rhs) noexcept { 1195 return __lhs.compare(__rhs) < 0; 1197 friend _LIBCPP_INLINE_VISIBILITY bool operator<=(const path& __lhs, const path& __rhs) noexcept { 1198 return __lhs.compare(__rhs) <= 0; 1200 friend _LIBCPP_INLINE_VISIBILITY bool operator>(const path& __lhs, const path& __rhs) noexcept { 1201 return __lhs.compare(__rhs) > 0; [all …]
|
D | compare | 757 template<class _Tp> constexpr strong_ordering strong_order(const _Tp& __lhs, const _Tp& __rhs); 758 template<class _Tp> constexpr weak_ordering weak_order(const _Tp& __lhs, const _Tp& __rhs); 759 template<class _Tp> constexpr partial_ordering partial_order(const _Tp& __lhs, const _Tp& __rhs); 760 template<class _Tp> constexpr strong_equality strong_equal(const _Tp& __lhs, const _Tp& __rhs); 761 template<class _Tp> constexpr weak_equality weak_equal(const _Tp& __lhs, const _Tp& __rhs);
|
D | any | 575 void swap(any & __lhs, any & __rhs) _NOEXCEPT 577 __lhs.swap(__rhs);
|
/external/libcxx/include/ |
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 | 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 | string_view | 614 bool operator==(basic_string_view<_CharT, _Traits> __lhs, 617 if ( __lhs.size() != __rhs.size()) return false; 618 return __lhs.compare(__rhs) == 0; 623 bool operator==(basic_string_view<_CharT, _Traits> __lhs, 626 if ( __lhs.size() != __rhs.size()) return false; 627 return __lhs.compare(__rhs) == 0; 632 bool operator==(typename common_type<basic_string_view<_CharT, _Traits> >::type __lhs, 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) { 796 __lhs.__destroy(); 805 __lhs, _VSTD::forward<_Rhs>(__rhs)); 806 __lhs.__index = __rhs.index(); 1060 __impl* __lhs = this; 1062 if (__lhs->__move_nothrow() && !__rhs->__move_nothrow()) { 1063 _VSTD::swap(__lhs, __rhs); 1067 // EXTENSION: When the move construction of `__lhs` into `__rhs` throws 1071 this->__generic_construct(*__rhs, _VSTD::move(*__lhs)); 1079 this->__generic_construct(*__rhs, _VSTD::move(*__lhs)); [all …]
|
D | string | 3845 operator==(const basic_string<_CharT, _Traits, _Allocator>& __lhs, 3848 size_t __lhs_sz = __lhs.size(); 3849 return __lhs_sz == __rhs.size() && _Traits::compare(__lhs.data(), 3857 operator==(const basic_string<char, char_traits<char>, _Allocator>& __lhs, 3860 size_t __lhs_sz = __lhs.size(); 3863 const char* __lp = __lhs.data(); 3865 if (__lhs.__is_long()) 3876 operator==(const _CharT* __lhs, 3880 _LIBCPP_ASSERT(__lhs != nullptr, "operator==(char*, basic_string): received nullptr"); 3881 size_t __lhs_len = _Traits::length(__lhs); [all …]
|
D | filesystem | 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 { 1167 return __lhs.compare(__rhs) > 0; [all …]
|
D | compare | 669 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);
|
D | any | 562 void swap(any & __lhs, any & __rhs) _NOEXCEPT 564 __lhs.swap(__rhs);
|
D | span | 540 constexpr void swap(span<_Tp, _Extent> &__lhs, span<_Tp, _Extent> &__rhs) noexcept 541 { __lhs.swap(__rhs); }
|
D | type_traits | 4838 operator<<=(byte& __lhs, _Integer __shift) noexcept 4839 { return __lhs = __lhs << __shift; } 4843 operator<< (byte __lhs, _Integer __shift) noexcept 4844 …{ return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) << __shift)… 4848 operator>>=(byte& __lhs, _Integer __shift) noexcept 4849 { return __lhs = __lhs >> __shift; } 4853 operator>> (byte __lhs, _Integer __shift) noexcept 4854 …{ return static_cast<byte>(static_cast<unsigned char>(static_cast<unsigned int>(__lhs) >> __shift)…
|
D | utility | 1316 inline size_t __hash_combine(size_t __lhs, size_t __rhs) _NOEXCEPT { 1318 const _PairT __p = {__lhs, __rhs};
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | status_macros.h | 38 #define SE_ASSIGN_OR_RETURN_IMPL(__lhs, __rhs, __name) \ argument 43 __lhs = std::move(__name.ValueOrDie()); 49 #define SE_ASSIGN_OR_RETURN(__lhs, __rhs) \ argument 50 SE_ASSIGN_OR_RETURN_IMPL(__lhs, __rhs, \
|
/external/libcxx/src/support/win32/ |
D | thread_win32.cpp | 163 bool __libcpp_thread_id_equal(__libcpp_thread_id __lhs, 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()
|
/external/llvm-project/libcxx/src/support/win32/ |
D | thread_win32.cpp | 162 bool __libcpp_thread_id_equal(__libcpp_thread_id __lhs, in __libcpp_thread_id_equal() argument 165 return __lhs == __rhs; in __libcpp_thread_id_equal() 168 bool __libcpp_thread_id_less(__libcpp_thread_id __lhs, __libcpp_thread_id __rhs) in __libcpp_thread_id_less() argument 170 return __lhs < __rhs; in __libcpp_thread_id_less()
|
/external/llvm-project/libcxx/include/experimental/ |
D | memory_resource | 127 bool operator==(memory_resource const & __lhs, 130 return &__lhs == &__rhs || __lhs.is_equal(__rhs); 134 bool operator!=(memory_resource const & __lhs, 137 return !(__lhs == __rhs); 321 bool operator==(polymorphic_allocator<_Tp> const & __lhs, 324 return *__lhs.resource() == *__rhs.resource(); 329 bool operator!=(polymorphic_allocator<_Tp> const & __lhs, 332 return !(__lhs == __rhs);
|
/external/libcxx/include/experimental/ |
D | memory_resource | 128 bool operator==(memory_resource const & __lhs, 131 return &__lhs == &__rhs || __lhs.is_equal(__rhs); 135 bool operator!=(memory_resource const & __lhs, 138 return !(__lhs == __rhs); 322 bool operator==(polymorphic_allocator<_Tp> const & __lhs, 325 return *__lhs.resource() == *__rhs.resource(); 330 bool operator!=(polymorphic_allocator<_Tp> const & __lhs, 333 return !(__lhs == __rhs);
|