Home
last modified time | relevance | path

Searched refs:_op_ (Results 1 – 2 of 2) sorted by relevance

/aosp14/system/core/libutils/include/utils/
H A DStrongPointer.h126 #define COMPARE_STRONG(_op_) \ argument
128 static inline bool operator _op_(const sp<T>& t, const sp<U>& u) { \
129 return t.get() _op_ u.get(); \
132 static inline bool operator _op_(const T* t, const sp<U>& u) { \
133 return t _op_ u.get(); \
136 static inline bool operator _op_(const sp<T>& t, const U* u) { \
137 return t.get() _op_ u; \
140 static inline bool operator _op_(const sp<T>& t, std::nullptr_t) { \
141 return t.get() _op_ nullptr; \
144 static inline bool operator _op_(std::nullptr_t, const sp<T>& t) { \
[all …]
H A DRefBase.h232 #define COMPARE_WEAK(_op_) \ argument
234 inline bool operator _op_ (const U* o) const { \
235 return m_ptr _op_ o; \
238 inline bool operator _op_ (const T* o) const { \
239 return m_ptr _op_ o; \
249 #define COMPARE_WEAK_FUNCTIONAL(_op_, _compare_) \ argument
251 inline bool operator _op_ (const U* o) const { \