Home
last modified time | relevance | path

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

123

/external/cronet/buildtools/third_party/libc++/trunk/include/__chrono/
Dyear_month_day.h110 bool operator==(const year_month_day& __lhs, const year_month_day& __rhs) noexcept
111 { return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day…
114 operator<=>(const year_month_day& __lhs, const year_month_day& __rhs) noexcept {
115 if (auto __c = __lhs.year() <=> __rhs.year(); __c != 0)
117 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0)
119 return __lhs.day() <=> __rhs.day();
123 year_month_day operator/(const year_month& __lhs, const day& __rhs) noexcept
124 { return year_month_day{__lhs.year(), __lhs.month(), __rhs}; }
127 year_month_day operator/(const year_month& __lhs, int __rhs) noexcept
128 { return __lhs / day(__rhs); }
[all …]
Dyear_month_weekday.h98 bool operator==(const year_month_weekday& __lhs, const year_month_weekday& __rhs) noexcept
99 { return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month() && __lhs.weekday_indexed() …
102 bool operator!=(const year_month_weekday& __lhs, const year_month_weekday& __rhs) noexcept
103 { return !(__lhs == __rhs); }
106 year_month_weekday operator/(const year_month& __lhs, const weekday_indexed& __rhs) noexcept
107 { return year_month_weekday{__lhs.year(), __lhs.month(), __rhs}; }
110 year_month_weekday operator/(const year& __lhs, const month_weekday& __rhs) noexcept
111 { return year_month_weekday{__lhs, __rhs.month(), __rhs.weekday_indexed()}; }
114 year_month_weekday operator/(int __lhs, const month_weekday& __rhs) noexcept
115 { return year(__lhs) / __rhs; }
[all …]
Dmonth_weekday.h41 bool operator==(const month_weekday& __lhs, const month_weekday& __rhs) noexcept
42 { return __lhs.month() == __rhs.month() && __lhs.weekday_indexed() == __rhs.weekday_indexed(); }
45 bool operator!=(const month_weekday& __lhs, const month_weekday& __rhs) noexcept
46 { return !(__lhs == __rhs); }
49 month_weekday operator/(const month& __lhs, const weekday_indexed& __rhs) noexcept
50 { return month_weekday{__lhs, __rhs}; }
53 month_weekday operator/(int __lhs, const weekday_indexed& __rhs) noexcept
54 { return month_weekday{month(__lhs), __rhs}; }
57 month_weekday operator/(const weekday_indexed& __lhs, const month& __rhs) noexcept
58 { return month_weekday{__rhs, __lhs}; }
[all …]
Dmonthday.h59 bool operator==(const month_day& __lhs, const month_day& __rhs) noexcept
60 { return __lhs.month() == __rhs.month() && __lhs.day() == __rhs.day(); }
62 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const month_day& __lhs, const month_day…
63 if (auto __c = __lhs.month() <=> __rhs.month(); __c != 0)
65 return __lhs.day() <=> __rhs.day();
69 month_day operator/(const month& __lhs, const day& __rhs) noexcept
70 { return month_day{__lhs, __rhs}; }
73 month_day operator/(const day& __lhs, const month& __rhs) noexcept
74 { return __rhs / __lhs; }
77 month_day operator/(const month& __lhs, int __rhs) noexcept
[all …]
Dyear_month.h53 bool operator==(const year_month& __lhs, const year_month& __rhs) noexcept
54 { return __lhs.year() == __rhs.year() && __lhs.month() == __rhs.month(); }
56 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const year_month& __lhs, const year_mon…
57 if (auto __c = __lhs.year() <=> __rhs.year(); __c != 0)
59 return __lhs.month() <=> __rhs.month();
63 year_month operator+(const year_month& __lhs, const months& __rhs) noexcept
65 int __dmi = static_cast<int>(static_cast<unsigned>(__lhs.month())) - 1 + __rhs.count();
68 return (__lhs.year() + years(__dy)) / month(static_cast<unsigned>(__dmi));
72 year_month operator+(const months& __lhs, const year_month& __rhs) noexcept
73 { return __rhs + __lhs; }
[all …]
Dweekday.h69 bool operator==(const weekday& __lhs, const weekday& __rhs) noexcept
70 { return __lhs.c_encoding() == __rhs.c_encoding(); }
73 bool operator!=(const weekday& __lhs, const weekday& __rhs) noexcept
74 { return !(__lhs == __rhs); }
77 bool operator< (const weekday& __lhs, const weekday& __rhs) noexcept
78 { return __lhs.c_encoding() < __rhs.c_encoding(); }
81 bool operator> (const weekday& __lhs, const weekday& __rhs) noexcept
82 { return __rhs < __lhs; }
85 bool operator<=(const weekday& __lhs, const weekday& __rhs) noexcept
86 { return !(__rhs < __lhs);}
[all …]
Dtime_point.h150 operator==(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)
152 return __lhs.time_since_epoch() == __rhs.time_since_epoch();
162 operator!=(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)
164 return !(__lhs == __rhs);
174 operator<(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)
176 return __lhs.time_since_epoch() < __rhs.time_since_epoch();
184 operator>(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)
186 return __rhs < __lhs;
194 operator<=(const time_point<_Clock, _Duration1>& __lhs, const time_point<_Clock, _Duration2>& __rhs)
196 return !(__rhs < __lhs);
[all …]
Dday.h46 bool operator==(const day& __lhs, const day& __rhs) noexcept
47 { return static_cast<unsigned>(__lhs) == static_cast<unsigned>(__rhs); }
49 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const day& __lhs, const day& __rhs) noe…
50 return static_cast<unsigned>(__lhs) <=> static_cast<unsigned>(__rhs);
54 day operator+ (const day& __lhs, const days& __rhs) noexcept
55 { return day(static_cast<unsigned>(__lhs) + __rhs.count()); }
58 day operator+ (const days& __lhs, const day& __rhs) noexcept
59 { return __rhs + __lhs; }
62 day operator- (const day& __lhs, const days& __rhs) noexcept
63 { return __lhs + -__rhs; }
[all …]
Dmonth.h46 bool operator==(const month& __lhs, const month& __rhs) noexcept
47 { return static_cast<unsigned>(__lhs) == static_cast<unsigned>(__rhs); }
49 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const month& __lhs, const month& __rhs)…
50 return static_cast<unsigned>(__lhs) <=> static_cast<unsigned>(__rhs);
54 month operator+ (const month& __lhs, const months& __rhs) noexcept
56 auto const __mu = static_cast<long long>(static_cast<unsigned>(__lhs)) + (__rhs.count() - 1);
62 month operator+ (const months& __lhs, const month& __rhs) noexcept
63 { return __rhs + __lhs; }
66 month operator- (const month& __lhs, const months& __rhs) noexcept
67 { return __lhs + -__rhs; }
[all …]
Dyear.h57 bool operator==(const year& __lhs, const year& __rhs) noexcept
58 { return static_cast<int>(__lhs) == static_cast<int>(__rhs); }
60 _LIBCPP_HIDE_FROM_ABI constexpr strong_ordering operator<=>(const year& __lhs, const year& __rhs) n…
61 return static_cast<int>(__lhs) <=> static_cast<int>(__rhs);
65 year operator+ (const year& __lhs, const years& __rhs) noexcept
66 { return year(static_cast<int>(__lhs) + __rhs.count()); }
69 year operator+ (const years& __lhs, const year& __rhs) noexcept
70 { return __rhs + __lhs; }
73 year operator- (const year& __lhs, const years& __rhs) noexcept
74 { return __lhs + -__rhs; }
[all …]
Dduration.h323 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
326 return _Ct(__lhs).count() == _Ct(__rhs).count();
334 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const
335 {return __lhs.count() == __rhs.count();}
342 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
344 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs);
355 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
357 return !(__lhs == __rhs);
368 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
371 return _Ct(__lhs).count() < _Ct(__rhs).count();
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/__filesystem/
Dperm_options.h34 inline constexpr perm_options operator&(perm_options __lhs, perm_options __rhs) {
35 return static_cast<perm_options>(static_cast<unsigned>(__lhs) &
40 inline constexpr perm_options operator|(perm_options __lhs, perm_options __rhs) {
41 return static_cast<perm_options>(static_cast<unsigned>(__lhs) |
46 inline constexpr perm_options operator^(perm_options __lhs, perm_options __rhs) {
47 return static_cast<perm_options>(static_cast<unsigned>(__lhs) ^
52 inline constexpr perm_options operator~(perm_options __lhs) {
53 return static_cast<perm_options>(~static_cast<unsigned>(__lhs));
57 inline perm_options& operator&=(perm_options& __lhs, perm_options __rhs) {
58 return __lhs = __lhs & __rhs;
[all …]
Ddirectory_options.h33 inline constexpr directory_options operator&(directory_options __lhs,
35 return static_cast<directory_options>(static_cast<unsigned char>(__lhs) &
40 inline constexpr directory_options operator|(directory_options __lhs,
42 return static_cast<directory_options>(static_cast<unsigned char>(__lhs) |
47 inline constexpr directory_options operator^(directory_options __lhs,
49 return static_cast<directory_options>(static_cast<unsigned char>(__lhs) ^
54 inline constexpr directory_options operator~(directory_options __lhs) {
55 return static_cast<directory_options>(~static_cast<unsigned char>(__lhs));
59 inline directory_options& operator&=(directory_options& __lhs,
61 return __lhs = __lhs & __rhs;
[all …]
Dcopy_options.h41 inline constexpr copy_options operator&(copy_options __lhs, copy_options __rhs) {
42 return static_cast<copy_options>(static_cast<unsigned short>(__lhs) &
47 inline constexpr copy_options operator|(copy_options __lhs, copy_options __rhs) {
48 return static_cast<copy_options>(static_cast<unsigned short>(__lhs) |
53 inline constexpr copy_options operator^(copy_options __lhs, copy_options __rhs) {
54 return static_cast<copy_options>(static_cast<unsigned short>(__lhs) ^
59 inline constexpr copy_options operator~(copy_options __lhs) {
60 return static_cast<copy_options>(~static_cast<unsigned short>(__lhs));
64 inline copy_options& operator&=(copy_options& __lhs, copy_options __rhs) {
65 return __lhs = __lhs & __rhs;
[all …]
Dperms.h58 inline constexpr perms operator&(perms __lhs, perms __rhs) {
59 return static_cast<perms>(static_cast<unsigned>(__lhs) &
64 inline constexpr perms operator|(perms __lhs, perms __rhs) {
65 return static_cast<perms>(static_cast<unsigned>(__lhs) |
70 inline constexpr perms operator^(perms __lhs, perms __rhs) {
71 return static_cast<perms>(static_cast<unsigned>(__lhs) ^
76 inline constexpr perms operator~(perms __lhs) {
77 return static_cast<perms>(~static_cast<unsigned>(__lhs));
81 inline perms& operator&=(perms& __lhs, perms __rhs) { return __lhs = __lhs & __rhs; }
84 inline perms& operator|=(perms& __lhs, perms __rhs) { return __lhs = __lhs | __rhs; }
[all …]
Dpath_iterator.h117 inline _LIBCPP_INLINE_VISIBILITY bool operator==(const path::iterator& __lhs,
119 return __lhs.__path_ptr_ == __rhs.__path_ptr_ &&
120 __lhs.__entry_.data() == __rhs.__entry_.data();
123 inline _LIBCPP_INLINE_VISIBILITY bool operator!=(const path::iterator& __lhs,
125 return !(__lhs == __rhs);
/external/cronet/buildtools/third_party/libc++/trunk/include/
Dcstddef74 _LIBCPP_HIDE_FROM_ABI constexpr byte operator| (byte __lhs, byte __rhs) noexcept
78 static_cast<unsigned int>(__lhs) | static_cast<unsigned int>(__rhs)
82 _LIBCPP_HIDE_FROM_ABI constexpr byte& operator|=(byte& __lhs, byte __rhs) noexcept
83 { return __lhs = __lhs | __rhs; }
85 _LIBCPP_HIDE_FROM_ABI constexpr byte operator& (byte __lhs, byte __rhs) noexcept
89 static_cast<unsigned int>(__lhs) & static_cast<unsigned int>(__rhs)
93 _LIBCPP_HIDE_FROM_ABI constexpr byte& operator&=(byte& __lhs, byte __rhs) noexcept
94 { return __lhs = __lhs & __rhs; }
96 _LIBCPP_HIDE_FROM_ABI constexpr byte operator^ (byte __lhs, byte __rhs) noexcept
100 static_cast<unsigned int>(__lhs) ^ static_cast<unsigned int>(__rhs)
[all …]
Dstring_view770 bool operator==(basic_string_view<_CharT, _Traits> __lhs,
773 if (__lhs.size() != __rhs.size()) return false;
774 return __lhs.compare(__rhs) == 0;
781 bool operator==(basic_string_view<_CharT, _Traits> __lhs,
784 if (__lhs.size() != __rhs.size()) return false;
785 return __lhs.compare(__rhs) == 0;
792 bool operator==(__type_identity_t<basic_string_view<_CharT, _Traits> > __lhs,
795 if (__lhs.size() != __rhs.size()) return false;
796 return __lhs.compare(__rhs) == 0;
806 operator<=>(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs) noe…
[all …]
Dtypeinfo214 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
215 return __lhs == __rhs;
218 static bool __lt(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
219 return __lhs < __rhs;
232 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
233 return __lhs == __rhs || __builtin_strcmp(__lhs, __rhs) == 0;
236 static bool __lt(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
237 return __builtin_strcmp(__lhs, __rhs) < 0;
261 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
262 if (__lhs == __rhs)
[all …]
/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 …]
/external/cronet/buildtools/third_party/libc++/trunk/include/__string/
Dconstexpr_c_functions.h40 __constexpr_memcmp(const _Tp* __lhs, const _Up* __rhs, size_t __count) { in __constexpr_memcmp() argument
47 return __builtin_memcmp(__lhs, __rhs, __count); in __constexpr_memcmp()
51 if (*__lhs < *__rhs) in __constexpr_memcmp()
53 if (*__rhs < *__lhs) in __constexpr_memcmp()
57 ++__lhs; in __constexpr_memcmp()
62 return __builtin_memcmp(__lhs, __rhs, __count); in __constexpr_memcmp()
/external/cronet/buildtools/third_party/libc++/trunk/include/__memory_resource/
Dmemory_resource.h54 inline _LIBCPP_HIDE_FROM_ABI bool operator==(const memory_resource& __lhs, const memory_resource& _…
55 return &__lhs == &__rhs || __lhs.is_equal(__rhs);
58 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const memory_resource& __lhs, const memory_resource& _…
59 return !(__lhs == __rhs);
/external/cronet/buildtools/third_party/libc++/trunk/include/__iterator/
Dcounted_iterator.h217 const counted_iterator& __lhs, const counted_iterator<_I2>& __rhs)
219 return __rhs.__count_ - __lhs.__count_;
224 const counted_iterator& __lhs, default_sentinel_t)
226 return -__lhs.__count_;
259 const counted_iterator& __lhs, const counted_iterator<_I2>& __rhs)
261 return __lhs.__count_ == __rhs.__count_;
266 const counted_iterator& __lhs, default_sentinel_t)
268 return __lhs.__count_ == 0;
273 const counted_iterator& __lhs, const counted_iterator<_I2>& __rhs)
275 return __rhs.__count_ <=> __lhs.__count_;

123