Home
last modified time | relevance | path

Searched refs:__rhs (Results 1 – 25 of 56) sorted by relevance

123

/freebsd-12-stable/contrib/libstdc++/include/debug/
Dsafe_iterator.h364 _M_valid_range(const _Safe_iterator<_Other, _Sequence>& __rhs) const;
376 _M_get_distance(const _Iterator1& __lhs, const _Iterator2& __rhs) in _M_get_distance() argument
380 return _M_get_distance(__lhs, __rhs, _Category()); in _M_get_distance()
385 _M_get_distance(const _Iterator1& __lhs, const _Iterator2& __rhs, in _M_get_distance() argument
388 return std::make_pair(__rhs.base() - __lhs.base(), __dp_exact); in _M_get_distance()
393 _M_get_distance(const _Iterator1& __lhs, const _Iterator2& __rhs, in _M_get_distance() argument
396 return std::make_pair(__lhs.base() == __rhs.base()? 0 : 1, in _M_get_distance()
412 const _Safe_iterator<_IteratorR, _Sequence>& __rhs)
414 _GLIBCXX_DEBUG_VERIFY(! __lhs._M_singular() && ! __rhs._M_singular(),
417 ._M_iterator(__rhs, "rhs"));
[all …]
Dstring792 const basic_string<_CharT,_Traits,_Allocator>& __rhs)
793 { return basic_string<_CharT,_Traits,_Allocator>(__lhs) += __rhs; }
798 const basic_string<_CharT,_Traits,_Allocator>& __rhs)
801 return basic_string<_CharT,_Traits,_Allocator>(__lhs) += __rhs;
807 const basic_string<_CharT,_Traits,_Allocator>& __rhs)
808 { return basic_string<_CharT,_Traits,_Allocator>(1, __lhs) += __rhs; }
813 const _CharT* __rhs)
815 __glibcxx_check_string(__rhs);
816 return basic_string<_CharT,_Traits,_Allocator>(__lhs) += __rhs;
822 _CharT __rhs)
[all …]
Dmultimap.h278 const multimap<_Key,_Tp,_Compare,_Allocator>& __rhs)
279 { return __lhs._M_base() == __rhs._M_base(); }
284 const multimap<_Key,_Tp,_Compare,_Allocator>& __rhs)
285 { return __lhs._M_base() != __rhs._M_base(); }
290 const multimap<_Key,_Tp,_Compare,_Allocator>& __rhs)
291 { return __lhs._M_base() < __rhs._M_base(); }
296 const multimap<_Key,_Tp,_Compare,_Allocator>& __rhs)
297 { return __lhs._M_base() <= __rhs._M_base(); }
302 const multimap<_Key,_Tp,_Compare,_Allocator>& __rhs)
303 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
Dmap.h291 const map<_Key,_Tp,_Compare,_Allocator>& __rhs)
292 { return __lhs._M_base() == __rhs._M_base(); }
297 const map<_Key,_Tp,_Compare,_Allocator>& __rhs)
298 { return __lhs._M_base() != __rhs._M_base(); }
303 const map<_Key,_Tp,_Compare,_Allocator>& __rhs)
304 { return __lhs._M_base() < __rhs._M_base(); }
309 const map<_Key,_Tp,_Compare,_Allocator>& __rhs)
310 { return __lhs._M_base() <= __rhs._M_base(); }
315 const map<_Key,_Tp,_Compare,_Allocator>& __rhs)
316 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
Dmultiset.h286 const multiset<_Key,_Compare,_Allocator>& __rhs)
287 { return __lhs._M_base() == __rhs._M_base(); }
292 const multiset<_Key,_Compare,_Allocator>& __rhs)
293 { return __lhs._M_base() != __rhs._M_base(); }
298 const multiset<_Key,_Compare,_Allocator>& __rhs)
299 { return __lhs._M_base() < __rhs._M_base(); }
304 const multiset<_Key,_Compare,_Allocator>& __rhs)
305 { return __lhs._M_base() <= __rhs._M_base(); }
310 const multiset<_Key,_Compare,_Allocator>& __rhs)
311 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
Dset.h291 const set<_Key,_Compare,_Allocator>& __rhs)
292 { return __lhs._M_base() == __rhs._M_base(); }
297 const set<_Key,_Compare,_Allocator>& __rhs)
298 { return __lhs._M_base() != __rhs._M_base(); }
303 const set<_Key,_Compare,_Allocator>& __rhs)
304 { return __lhs._M_base() < __rhs._M_base(); }
309 const set<_Key,_Compare,_Allocator>& __rhs)
310 { return __lhs._M_base() <= __rhs._M_base(); }
315 const set<_Key,_Compare,_Allocator>& __rhs)
316 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
Dsafe_iterator.tcc77 _M_valid_range(const _Safe_iterator<_Other, _Sequence>& __rhs) const in _M_valid_range()
79 if (!_M_can_compare(__rhs)) in _M_valid_range()
85 this->_M_get_distance(*this, __rhs); in _M_valid_range()
99 if (_M_is_begin() || __rhs._M_is_end()) in _M_valid_range()
101 else if (_M_is_end() || __rhs._M_is_begin()) in _M_valid_range()
Ddeque355 const deque<_Tp, _Alloc>& __rhs)
356 { return __lhs._M_base() == __rhs._M_base(); }
361 const deque<_Tp, _Alloc>& __rhs)
362 { return __lhs._M_base() != __rhs._M_base(); }
366 operator<(const deque<_Tp, _Alloc>& __lhs, const deque<_Tp, _Alloc>& __rhs)
367 { return __lhs._M_base() < __rhs._M_base(); }
372 const deque<_Tp, _Alloc>& __rhs)
373 { return __lhs._M_base() <= __rhs._M_base(); }
378 const deque<_Tp, _Alloc>& __rhs)
379 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
Dvector383 const vector<_Tp, _Alloc>& __rhs)
384 { return __lhs._M_base() == __rhs._M_base(); }
389 const vector<_Tp, _Alloc>& __rhs)
390 { return __lhs._M_base() != __rhs._M_base(); }
395 const vector<_Tp, _Alloc>& __rhs)
396 { return __lhs._M_base() < __rhs._M_base(); }
401 const vector<_Tp, _Alloc>& __rhs)
402 { return __lhs._M_base() <= __rhs._M_base(); }
407 const vector<_Tp, _Alloc>& __rhs)
408 { return __lhs._M_base() >= __rhs._M_base(); }
[all …]
Dbitset142 operator&=(const bitset<_Nb>& __rhs)
144 _M_base() &= __rhs;
149 operator|=(const bitset<_Nb>& __rhs)
151 _M_base() |= __rhs;
156 operator^=(const bitset<_Nb>& __rhs)
158 _M_base() ^= __rhs;
274 operator==(const bitset<_Nb>& __rhs) const
275 { return _M_base() == __rhs; }
278 operator!=(const bitset<_Nb>& __rhs) const
279 { return _M_base() != __rhs; }
/freebsd-12-stable/contrib/llvm-project/libcxx/include/
Dstrstream163 strstreambuf(strstreambuf&& __rhs);
165 strstreambuf& operator=(strstreambuf&& __rhs);
170 void swap(strstreambuf& __rhs);
204 strstreambuf::strstreambuf(strstreambuf&& __rhs)
205 : streambuf(__rhs),
206 __strmode_(__rhs.__strmode_),
207 __alsize_(__rhs.__alsize_),
208 __palloc_(__rhs.__palloc_),
209 __pfree_(__rhs.__pfree_)
211 __rhs.setg(nullptr, nullptr, nullptr);
[all …]
Dchrono1143 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
1146 return _Ct(__lhs).count() == _Ct(__rhs).count();
1154 bool operator()(const _LhsDuration& __lhs, const _LhsDuration& __rhs) const
1155 {return __lhs.count() == __rhs.count();}
1162 operator==(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
1164 return __duration_eq<duration<_Rep1, _Period1>, duration<_Rep2, _Period2> >()(__lhs, __rhs);
1173 operator!=(const duration<_Rep1, _Period1>& __lhs, const duration<_Rep2, _Period2>& __rhs)
1175 return !(__lhs == __rhs);
1184 bool operator()(const _LhsDuration& __lhs, const _RhsDuration& __rhs) const
1187 return _Ct(__lhs).count() < _Ct(__rhs).count();
[all …]
Dsstream238 basic_stringbuf(basic_stringbuf&& __rhs);
241 basic_stringbuf& operator=(basic_stringbuf&& __rhs);
242 void swap(basic_stringbuf& __rhs);
263 basic_stringbuf<_CharT, _Traits, _Allocator>::basic_stringbuf(basic_stringbuf&& __rhs)
264 : __mode_(__rhs.__mode_)
266 char_type* __p = const_cast<char_type*>(__rhs.__str_.data());
270 if (__rhs.eback() != nullptr)
272 __binp = __rhs.eback() - __p;
273 __ninp = __rhs.gptr() - __p;
274 __einp = __rhs.egptr() - __p;
[all …]
Dfstream222 basic_filebuf(basic_filebuf&& __rhs);
227 basic_filebuf& operator=(basic_filebuf&& __rhs);
228 void swap(basic_filebuf& __rhs);
318 basic_filebuf<_CharT, _Traits>::basic_filebuf(basic_filebuf&& __rhs)
319 : basic_streambuf<_CharT, _Traits>(__rhs)
321 if (__rhs.__extbuf_ == __rhs.__extbuf_min_)
324 __extbufnext_ = __extbuf_ + (__rhs.__extbufnext_ - __rhs.__extbuf_);
325 __extbufend_ = __extbuf_ + (__rhs.__extbufend_ - __rhs.__extbuf_);
329 __extbuf_ = __rhs.__extbuf_;
330 __extbufnext_ = __rhs.__extbufnext_;
[all …]
Dcstddef94 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 …]
Dfuture1054 future(future&& __rhs) _NOEXCEPT
1055 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1059 future& operator=(future&& __rhs) _NOEXCEPT
1061 future(_VSTD::move(__rhs)).swap(*this);
1073 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
1141 future(future&& __rhs) _NOEXCEPT
1142 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;}
1146 future& operator=(future&& __rhs) _NOEXCEPT
1148 future(_VSTD::move(__rhs)).swap(*this);
1160 void swap(future& __rhs) _NOEXCEPT {_VSTD::swap(__state_, __rhs.__state_);}
[all …]
Dstring_view678 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
680 if ( __lhs.size() != __rhs.size()) return false;
681 return __lhs.compare(__rhs) == 0;
687 typename common_type<basic_string_view<_CharT, _Traits> >::type __rhs) _NOEXCEPT
689 if ( __lhs.size() != __rhs.size()) return false;
690 return __lhs.compare(__rhs) == 0;
696 basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
698 if ( __lhs.size() != __rhs.size()) return false;
699 return __lhs.compare(__rhs) == 0;
706 bool operator!=(basic_string_view<_CharT, _Traits> __lhs, basic_string_view<_CharT, _Traits> __rhs)…
[all …]
Dtypeinfo94 int __compare(const type_info &__rhs) const _NOEXCEPT;
209 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
210 return __lhs == __rhs;
213 static bool __lt(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
214 return __lhs < __rhs;
227 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
228 return __lhs == __rhs || __builtin_strcmp(__lhs, __rhs) == 0;
231 static bool __lt(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
232 return __builtin_strcmp(__lhs, __rhs) < 0;
256 static bool __eq(__type_name_t __lhs, __type_name_t __rhs) _NOEXCEPT {
[all …]
/freebsd-12-stable/contrib/libstdc++/include/bits/
Dbasic_ios.tcc67 basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs) in copyfmt() argument
71 if (this != &__rhs) in copyfmt()
77 _Words* __words = (__rhs._M_word_size <= _S_local_word_size) ? in copyfmt()
78 _M_local_word : new _Words[__rhs._M_word_size]; in copyfmt()
81 _Callback_list* __cb = __rhs._M_callbacks; in copyfmt()
94 for (int __i = 0; __i < __rhs._M_word_size; ++__i) in copyfmt()
95 __words[__i] = __rhs._M_word[__i]; in copyfmt()
97 _M_word_size = __rhs._M_word_size; in copyfmt()
99 this->flags(__rhs.flags()); in copyfmt()
100 this->width(__rhs.width()); in copyfmt()
[all …]
Dstl_iterator.h733 const __normal_iterator<_IteratorR, _Container>& __rhs)
734 { return __lhs.base() == __rhs.base(); }
739 const __normal_iterator<_Iterator, _Container>& __rhs)
740 { return __lhs.base() == __rhs.base(); }
745 const __normal_iterator<_IteratorR, _Container>& __rhs)
746 { return __lhs.base() != __rhs.base(); }
751 const __normal_iterator<_Iterator, _Container>& __rhs)
752 { return __lhs.base() != __rhs.base(); }
758 const __normal_iterator<_IteratorR, _Container>& __rhs)
759 { return __lhs.base() < __rhs.base(); }
[all …]
Dbasic_string.h2082 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2085 __str.append(__rhs);
2098 const basic_string<_CharT,_Traits,_Alloc>& __rhs);
2108 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs);
2119 const _CharT* __rhs)
2122 __str.append(__rhs);
2134 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
2139 __str.append(__size_type(1), __rhs);
2153 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
2154 { return __lhs.compare(__rhs) == 0; }
[all …]
Dpostypes.h199 operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
200 { return streamoff(__lhs) == streamoff(__rhs); }
204 operator!=(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
205 { return streamoff(__lhs) != streamoff(__rhs); }
/freebsd-12-stable/contrib/libstdc++/include/ext/
Dvstring.h1806 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs);
1818 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs);
1830 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs);
1842 const _CharT* __rhs);
1854 _CharT __rhs);
1867 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs)
1868 { return __lhs.compare(__rhs) == 0; }
1880 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs)
1881 { return __rhs.compare(__lhs) == 0; }
1893 const _CharT* __rhs)
[all …]
Dvstring.tcc183 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs) in operator +() argument
186 __str.reserve(__lhs.size() + __rhs.size()); in operator +()
188 __str.append(__rhs); in operator +()
196 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs) in operator +() argument
203 __str.reserve(__len + __rhs.size()); in operator +()
205 __str.append(__rhs); in operator +()
213 const __versa_string<_CharT, _Traits, _Alloc, _Base>& __rhs) in operator +() argument
216 __str.reserve(__rhs.size() + 1); in operator +()
218 __str.append(__rhs); in operator +()
226 const _CharT* __rhs) in operator +() argument
[all …]
/freebsd-12-stable/contrib/llvm-project/libcxx/include/__iterator/
Dcounted_iterator.h212 const counted_iterator& __lhs, const counted_iterator<_I2>& __rhs)
214 return __rhs.__count_ - __lhs.__count_;
226 default_sentinel_t, const counted_iterator& __rhs)
228 return __rhs.__count_;
254 const counted_iterator& __lhs, const counted_iterator<_I2>& __rhs)
256 return __lhs.__count_ == __rhs.__count_;
268 const counted_iterator& __lhs, const counted_iterator<_I2>& __rhs)
270 return __rhs.__count_ <=> __lhs.__count_;

123