Home
last modified time | relevance | path

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

12

/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
Dpointer.h371 operator-(const _Pointer_adapter& __lhs, element_type* __rhs) in _GLIBCXX_VISIBILITY()
372 { return (__lhs.get() - __rhs); } in _GLIBCXX_VISIBILITY()
375 operator-(element_type* __lhs, const _Pointer_adapter& __rhs) in _GLIBCXX_VISIBILITY()
376 { return (__lhs - __rhs.get()); } in _GLIBCXX_VISIBILITY()
380 operator-(const _Pointer_adapter& __lhs, _Up* __rhs) in _GLIBCXX_VISIBILITY()
381 { return (__lhs.get() - __rhs); } in _GLIBCXX_VISIBILITY()
385 operator-(_Up* __lhs, const _Pointer_adapter& __rhs) in _GLIBCXX_VISIBILITY()
386 { return (__lhs - __rhs.get()); } in _GLIBCXX_VISIBILITY()
402 operator+(const _Pointer_adapter& __lhs, INT_TYPE __offset) \ in _GLIBCXX_VISIBILITY()
403 { return _Pointer_adapter(__lhs.get() + __offset); } \ in _GLIBCXX_VISIBILITY()
[all …]
Dvstring.h2221 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs, in _GLIBCXX_VISIBILITY()
2233 operator+(const _CharT* __lhs, in _GLIBCXX_VISIBILITY()
2245 operator+(_CharT __lhs, in _GLIBCXX_VISIBILITY()
2257 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs, in _GLIBCXX_VISIBILITY()
2269 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs, in _GLIBCXX_VISIBILITY()
2276 operator+(__versa_string<_CharT, _Traits, _Alloc, _Base>&& __lhs, in _GLIBCXX_VISIBILITY()
2278 { return std::move(__lhs.append(__rhs)); } in _GLIBCXX_VISIBILITY()
2283 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs, in _GLIBCXX_VISIBILITY()
2285 { return std::move(__rhs.insert(0, __lhs)); } in _GLIBCXX_VISIBILITY()
2290 operator+(__versa_string<_CharT, _Traits, _Alloc, _Base>&& __lhs, in _GLIBCXX_VISIBILITY()
[all …]
Dvstring.tcc181 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs, in operator +() argument
185 __str.reserve(__lhs.size() + __rhs.size()); in operator +()
186 __str.append(__lhs); in operator +()
194 operator+(const _CharT* __lhs, in operator +() argument
197 __glibcxx_requires_string(__lhs); in operator +()
200 const __size_type __len = _Traits::length(__lhs); in operator +()
203 __str.append(__lhs, __len); in operator +()
211 operator+(_CharT __lhs, in operator +() argument
216 __str.push_back(__lhs); in operator +()
224 operator+(const __versa_string<_CharT, _Traits, _Alloc, _Base>& __lhs, in operator +() argument
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/debug/
Dsafe_iterator.h470 operator==(const _Self& __lhs, const _Self& __rhs) _GLIBCXX_NOEXCEPT
472 _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS(__lhs, __rhs);
473 return __lhs.base() == __rhs.base();
479 operator==(const _Self& __lhs,
483 _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS(__lhs, __rhs);
484 return __lhs.base() == __rhs.base();
490 operator!=(const _Self& __lhs, const _Self& __rhs) _GLIBCXX_NOEXCEPT
492 _GLIBCXX_DEBUG_VERIFY_EQ_OPERANDS(__lhs, __rhs);
493 return __lhs.base() != __rhs.base();
499 operator!=(const _Self& __lhs,
[all …]
Dstring1067 operator+(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
1069 { return basic_string<_CharT,_Traits,_Allocator>(__lhs) += __rhs; }
1073 operator+(const _CharT* __lhs,
1076 __glibcxx_check_string(__lhs);
1077 return basic_string<_CharT,_Traits,_Allocator>(__lhs) += __rhs;
1082 operator+(_CharT __lhs,
1084 { return basic_string<_CharT,_Traits,_Allocator>(1, __lhs) += __rhs; }
1088 operator+(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
1092 return basic_string<_CharT,_Traits,_Allocator>(__lhs) += __rhs;
1097 operator+(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
[all …]
Dsafe_local_iterator.h378 operator==(const _Self& __lhs, const _OtherSelf& __rhs) noexcept
380 _GLIBCXX_DEBUG_VERIFY_OPERANDS(__lhs, __rhs);
381 return __lhs.base() == __rhs.base();
385 operator==(const _Self& __lhs, const _Self& __rhs) noexcept
387 _GLIBCXX_DEBUG_VERIFY_OPERANDS(__lhs, __rhs);
388 return __lhs.base() == __rhs.base();
392 operator!=(const _Self& __lhs, const _OtherSelf& __rhs) noexcept
394 _GLIBCXX_DEBUG_VERIFY_OPERANDS(__lhs, __rhs);
395 return __lhs.base() != __rhs.base();
399 operator!=(const _Self& __lhs, const _Self& __rhs) noexcept
[all …]
Dmultimap.h630 operator==(const multimap<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
632 { return __lhs._M_base() == __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
637 operator<=>(const multimap<_Key, _Tp, _Compare, _Alloc>& __lhs, in _GLIBCXX_VISIBILITY()
639 { return __lhs._M_base() <=> __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
644 operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
646 { return __lhs._M_base() != __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
651 operator<(const multimap<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
653 { return __lhs._M_base() < __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
658 operator<=(const multimap<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
660 { return __lhs._M_base() <= __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
[all …]
Dmap.h748 operator==(const map<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
750 { return __lhs._M_base() == __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
755 operator<=>(const map<_Key, _Tp, _Compare, _Alloc>& __lhs, in _GLIBCXX_VISIBILITY()
757 { return __lhs._M_base() <=> __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
762 operator!=(const map<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
764 { return __lhs._M_base() != __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
769 operator<(const map<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
771 { return __lhs._M_base() < __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
776 operator<=(const map<_Key, _Tp, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
778 { return __lhs._M_base() <= __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
[all …]
Dhelper_functions.h94 __get_distance(_Iterator __lhs, _Iterator __rhs,
96 { return std::make_pair(__rhs - __lhs, __dp_exact); }
101 __get_distance(_Iterator __lhs, _Iterator __rhs,
104 if (__lhs == __rhs)
113 __get_distance(_Iterator __lhs, _Iterator __rhs)
114 { return __get_distance(__lhs, __rhs, std::__iterator_category(__lhs)); }
Dmultiset.h601 operator==(const multiset<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
603 { return __lhs._M_base() == __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
608 operator<=>(const multiset<_Key, _Compare, _Alloc>& __lhs, in _GLIBCXX_VISIBILITY()
610 { return __lhs._M_base() <=> __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
614 operator!=(const multiset<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
616 { return __lhs._M_base() != __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
620 operator<(const multiset<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
622 { return __lhs._M_base() < __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
626 operator<=(const multiset<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
628 { return __lhs._M_base() <= __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
[all …]
Dset.h611 operator==(const set<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
613 { return __lhs._M_base() == __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
618 operator<=>(const set<_Key, _Compare, _Alloc>& __lhs, in _GLIBCXX_VISIBILITY()
620 { return __lhs._M_base() <=> __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
624 operator!=(const set<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
626 { return __lhs._M_base() != __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
630 operator<(const set<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
632 { return __lhs._M_base() < __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
636 operator<=(const set<_Key, _Compare, _Allocator>& __lhs, in _GLIBCXX_VISIBILITY()
638 { return __lhs._M_base() <= __rhs._M_base(); } in _GLIBCXX_VISIBILITY()
[all …]
Ddeque672 operator==(const deque<_Tp, _Alloc>& __lhs,
674 { return __lhs._M_base() == __rhs._M_base(); }
684 operator!=(const deque<_Tp, _Alloc>& __lhs,
686 { return __lhs._M_base() != __rhs._M_base(); }
690 operator<(const deque<_Tp, _Alloc>& __lhs,
692 { return __lhs._M_base() < __rhs._M_base(); }
696 operator<=(const deque<_Tp, _Alloc>& __lhs,
698 { return __lhs._M_base() <= __rhs._M_base(); }
702 operator>=(const deque<_Tp, _Alloc>& __lhs,
704 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
Dregex.h896 swap(basic_regex<_Ch_type, _Rx_traits>& __lhs, in _GLIBCXX_VISIBILITY()
898 { __lhs.swap(__rhs); } in _GLIBCXX_VISIBILITY()
1103 operator==(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs) in _GLIBCXX_VISIBILITY()
1104 { return __lhs.compare(__rhs) == 0; } in _GLIBCXX_VISIBILITY()
1116 operator<=>(const sub_match<_BiIter>& __lhs, in _GLIBCXX_VISIBILITY()
1121 return __detail::__char_traits_cmp_cat<_Tr>(__lhs.compare(__rhs)); in _GLIBCXX_VISIBILITY()
1132 operator!=(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs) in _GLIBCXX_VISIBILITY()
1133 { return __lhs.compare(__rhs) != 0; } in _GLIBCXX_VISIBILITY()
1143 operator<(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs) in _GLIBCXX_VISIBILITY()
1144 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
[all …]
Dchrono.h674 operator+(const duration<_Rep1, _Period1>& __lhs, in _GLIBCXX_VISIBILITY()
680 return __cd(__cd(__lhs).count() + __cd(__rhs).count()); in _GLIBCXX_VISIBILITY()
688 operator-(const duration<_Rep1, _Period1>& __lhs, in _GLIBCXX_VISIBILITY()
694 return __cd(__cd(__lhs).count() - __cd(__rhs).count()); in _GLIBCXX_VISIBILITY()
744 operator/(const duration<_Rep1, _Period1>& __lhs, in _GLIBCXX_VISIBILITY()
750 return __cd(__lhs).count() / __cd(__rhs).count(); in _GLIBCXX_VISIBILITY()
768 operator%(const duration<_Rep1, _Period1>& __lhs, in _GLIBCXX_VISIBILITY()
774 return __cd(__cd(__lhs).count() % __cd(__rhs).count()); in _GLIBCXX_VISIBILITY()
788 operator==(const duration<_Rep1, _Period1>& __lhs, in _GLIBCXX_VISIBILITY()
794 return __ct(__lhs).count() == __ct(__rhs).count(); in _GLIBCXX_VISIBILITY()
[all …]
Dbasic_string.h3444 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
3447 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
3461 operator+(const _CharT* __lhs,
3473 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs);
3484 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
3487 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
3501 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
3505 __string_type __str(__lhs);
3514 operator+(basic_string<_CharT, _Traits, _Alloc>&& __lhs,
3516 { return std::move(__lhs.append(__rhs)); }
[all …]
Dfs_path.h560 friend bool operator==(const path& __lhs, const path& __rhs) noexcept in _GLIBCXX_VISIBILITY()
561 { return path::_S_compare(__lhs, __rhs) == 0; } in _GLIBCXX_VISIBILITY()
566 operator<=>(const path& __lhs, const path& __rhs) noexcept in _GLIBCXX_VISIBILITY()
567 { return path::_S_compare(__lhs, __rhs) <=> 0; } in _GLIBCXX_VISIBILITY()
570 friend bool operator!=(const path& __lhs, const path& __rhs) noexcept in _GLIBCXX_VISIBILITY()
571 { return !(__lhs == __rhs); } in _GLIBCXX_VISIBILITY()
574 friend bool operator<(const path& __lhs, const path& __rhs) noexcept in _GLIBCXX_VISIBILITY()
575 { return __lhs.compare(__rhs) < 0; } in _GLIBCXX_VISIBILITY()
578 friend bool operator<=(const path& __lhs, const path& __rhs) noexcept in _GLIBCXX_VISIBILITY()
579 { return !(__rhs < __lhs); } in _GLIBCXX_VISIBILITY()
[all …]
Dstl_iterator.h1174 operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
1176 noexcept(noexcept(__lhs.base() == __rhs.base()))
1178 { __lhs.base() == __rhs.base() } -> std::convertible_to<bool>;
1180 { return __lhs.base() == __rhs.base(); }
1185 operator<=>(const __normal_iterator<_IteratorL, _Container>& __lhs,
1187 noexcept(noexcept(std::__detail::__synth3way(__lhs.base(), __rhs.base())))
1188 { return std::__detail::__synth3way(__lhs.base(), __rhs.base()); }
1193 operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
1195 noexcept(noexcept(__lhs.base() == __rhs.base()))
1197 { __lhs.base() == __rhs.base() } -> std::convertible_to<bool>;
[all …]
Dfs_dir.h444 operator==(const directory_iterator& __lhs, in _GLIBCXX_VISIBILITY()
447 return !__rhs._M_dir.owner_before(__lhs._M_dir) in _GLIBCXX_VISIBILITY()
448 && !__lhs._M_dir.owner_before(__rhs._M_dir); in _GLIBCXX_VISIBILITY()
460 operator!=(const directory_iterator& __lhs, in _GLIBCXX_VISIBILITY()
462 { return !(__lhs == __rhs); } in _GLIBCXX_VISIBILITY()
560 operator==(const recursive_directory_iterator& __lhs, in _GLIBCXX_VISIBILITY()
563 return !__rhs._M_dirs.owner_before(__lhs._M_dirs) in _GLIBCXX_VISIBILITY()
564 && !__lhs._M_dirs.owner_before(__rhs._M_dirs); in _GLIBCXX_VISIBILITY()
576 operator!=(const recursive_directory_iterator& __lhs, in _GLIBCXX_VISIBILITY()
578 { return !(__lhs == __rhs); } in _GLIBCXX_VISIBILITY()
Dpostypes.h192 operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) in _GLIBCXX_VISIBILITY()
193 { return streamoff(__lhs) == streamoff(__rhs); } in _GLIBCXX_VISIBILITY()
197 operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs) in _GLIBCXX_VISIBILITY()
198 { return streamoff(__lhs) != streamoff(__rhs); } in _GLIBCXX_VISIBILITY()
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
Dsystem_error313 operator<=>(const error_code& __lhs, const error_code& __rhs) noexcept
315 if (auto __c = __lhs.category() <=> __rhs.category(); __c != 0)
317 return __lhs.value() <=> __rhs.value();
321 operator<(const error_code& __lhs, const error_code& __rhs) noexcept
323 return (__lhs.category() < __rhs.category()
324 || (__lhs.category() == __rhs.category()
325 && __lhs.value() < __rhs.value()));
445 operator==(const error_code& __lhs, const error_code& __rhs) noexcept
447 return __lhs.category() == __rhs.category()
448 && __lhs.value() == __rhs.value();
[all …]
Doptional1222 operator==(const optional<_Tp>& __lhs, const optional<_Up>& __rhs)
1225 return static_cast<bool>(__lhs) == static_cast<bool>(__rhs)
1226 && (!__lhs || *__lhs == *__rhs);
1231 operator!=(const optional<_Tp>& __lhs, const optional<_Up>& __rhs)
1234 return static_cast<bool>(__lhs) != static_cast<bool>(__rhs)
1235 || (static_cast<bool>(__lhs) && *__lhs != *__rhs);
1240 operator<(const optional<_Tp>& __lhs, const optional<_Up>& __rhs)
1243 return static_cast<bool>(__rhs) && (!__lhs || *__lhs < *__rhs);
1248 operator>(const optional<_Tp>& __lhs, const optional<_Up>& __rhs)
1251 return static_cast<bool>(__lhs) && (!__rhs || *__lhs > *__rhs);
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/decimal/
Ddecimal112 _T1 operator _Op(_T2 __lhs, _T3 __rhs);
114 _Tp operator _Op(_Tp __lhs, int __rhs); \
115 _Tp operator _Op(_Tp __lhs, unsigned int __rhs); \
116 _Tp operator _Op(_Tp __lhs, long __rhs); \
117 _Tp operator _Op(_Tp __lhs, unsigned long __rhs); \
118 _Tp operator _Op(_Tp __lhs, long long __rhs); \
119 _Tp operator _Op(_Tp __lhs, unsigned long long __rhs); \
120 _Tp operator _Op(int __lhs, _Tp __rhs); \
121 _Tp operator _Op(unsigned int __lhs, _Tp __rhs); \
122 _Tp operator _Op(long __lhs, _Tp __rhs); \
[all …]
Ddecimal.h307 inline _T1 operator _Op(_T2 __lhs, _T3 __rhs) \ in _GLIBCXX_VISIBILITY()
310 __retval.__setval(__lhs.__getval() _Op __rhs.__getval()); \ in _GLIBCXX_VISIBILITY()
315 inline _T1 operator _Op(_T2 __lhs, _T3 __rhs) \ in _GLIBCXX_VISIBILITY()
318 __retval.__setval(__lhs.__getval() _Op __rhs.__getval()); \ in _GLIBCXX_VISIBILITY()
323 inline _T1 operator _Op(_T1 __lhs, _T2 __rhs) \ in _GLIBCXX_VISIBILITY()
326 __retval.__setval(__lhs.__getval() _Op __rhs); \ in _GLIBCXX_VISIBILITY()
331 inline _T1 operator _Op(_T2 __lhs, _T1 __rhs) \ in _GLIBCXX_VISIBILITY()
334 __retval.__setval(__lhs _Op __rhs.__getval()); \ in _GLIBCXX_VISIBILITY()
413 inline bool operator _Op(_T1 __lhs, _T2 __rhs) \ in _GLIBCXX_VISIBILITY()
414 { return __lhs.__getval() _Op __rhs.__getval(); } in _GLIBCXX_VISIBILITY()
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/
Drandom.h441 operator==(const linear_congruential& __lhs, in _GLIBCXX_VISIBILITY()
443 { return __lhs._M_x == __rhs._M_x; } in _GLIBCXX_VISIBILITY()
455 operator!=(const linear_congruential& __lhs, in _GLIBCXX_VISIBILITY()
457 { return !(__lhs == __rhs); } in _GLIBCXX_VISIBILITY()
613 operator==(const mersenne_twister& __lhs, in _GLIBCXX_VISIBILITY()
615 { return std::equal(__lhs._M_x, __lhs._M_x + state_size, __rhs._M_x); } in _GLIBCXX_VISIBILITY()
628 operator!=(const mersenne_twister& __lhs, in _GLIBCXX_VISIBILITY()
630 { return !(__lhs == __rhs); } in _GLIBCXX_VISIBILITY()
815 operator==(const subtract_with_carry& __lhs, in _GLIBCXX_VISIBILITY()
817 { return std::equal(__lhs._M_x, __lhs._M_x + long_lag, __rhs._M_x); } in _GLIBCXX_VISIBILITY()
[all …]
Dregex1083 swap(basic_regex<_Ch_type, _Rx_traits>& __lhs,
1085 { __lhs.swap(__rhs); }
1212 operator==(const sub_match<_BiIter>& __lhs,
1214 { return __lhs.compare(__rhs) == 0; }
1224 operator!=(const sub_match<_BiIter>& __lhs,
1226 { return __lhs.compare(__rhs) != 0; }
1236 operator<(const sub_match<_BiIter>& __lhs,
1238 { return __lhs.compare(__rhs) < 0; }
1248 operator<=(const sub_match<_BiIter>& __lhs,
1250 { return __lhs.compare(__rhs) <= 0; }
[all …]

12