Lines Matching refs:rhs
61 bool operator==(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
63 bool operator!=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
65 bool operator>=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
67 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
69 bool operator<=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
71 bool operator<(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
87 friend bool operator==<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
89 friend bool operator!=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
91 friend bool operator>=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
93 friend bool operator><Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
95 friend bool operator<=<Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
97 friend bool operator< <Deleter>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs);
171 UniqueFdAddDeletor(UniqueFdAddDeletor&& rhs) in UniqueFdAddDeletor() argument
173 int rhsfd = rhs.Release(); in UniqueFdAddDeletor()
187 UniqueFdAddDeletor& operator=(UniqueFdAddDeletor&& rhs)
189 int rhsfd = rhs.Release();
203 bool operator==(const int& rhs) const
205 return fd_ == rhs;
217 bool operator!=(const int& rhs) const
219 return !(fd_ == rhs);
231 bool operator>=(const int& rhs) const
233 return fd_ >= rhs;
245 bool operator>(const int& rhs) const
247 return fd_ > rhs;
259 bool operator<=(const int& rhs) const
261 return fd_ <= rhs;
273 bool operator<(const int& rhs) const
275 return fd_ < rhs;
290 UniqueFdAddDeletor(const UniqueFdAddDeletor& rhs) = delete;
291 UniqueFdAddDeletor& operator=(const UniqueFdAddDeletor& rhs) = delete;
306 bool operator==(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
308 return lhs == rhs.fd_;
324 bool operator!=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
326 return !(lhs == rhs.fd_);
342 bool operator>=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
344 return lhs >= rhs.fd_;
360 bool operator>(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
362 return lhs > rhs.fd_;
378 bool operator<=(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
380 return lhs <= rhs.fd_;
396 bool operator<(const int& lhs, const UniqueFdAddDeletor<Deleter>& rhs)
398 return lhs < rhs.fd_;