Home
last modified time | relevance | path

Searched refs:__lhs (Results 1 – 14 of 14) sorted by relevance

/external/libcxx/include/
Dchrono1112 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 …]
Dcstddef68 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 …]
Dstring_view614 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 …]
Dvariant795 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 …]
Dstring3845 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 …]
Dfilesystem1154 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 …]
Dcompare669 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);
Dany562 void swap(any & __lhs, any & __rhs) _NOEXCEPT
564 __lhs.swap(__rhs);
Dspan540 constexpr void swap(span<_Tp, _Extent> &__lhs, span<_Tp, _Extent> &__rhs) noexcept
541 { __lhs.swap(__rhs); }
Dtype_traits4838 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)…
Dutility1316 inline size_t __hash_combine(size_t __lhs, size_t __rhs) _NOEXCEPT {
1318 const _PairT __p = {__lhs, __rhs};
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatus_macros.h38 #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/include/experimental/
Dmemory_resource128 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);
/external/libcxx/src/support/win32/
Dthread_win32.cpp163 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()