Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DStrongPointer.h127 #define COMPARE_STRONG(_op_) \ argument
129 static inline bool operator _op_(const sp<T>& t, const sp<U>& u) { \
130 return t.get() _op_ u.get(); \
133 static inline bool operator _op_(const T* t, const sp<U>& u) { \
134 return t _op_ u.get(); \
137 static inline bool operator _op_(const sp<T>& t, const U* u) { \
138 return t.get() _op_ u; \
141 static inline bool operator _op_(const sp<T>& t, std::nullptr_t) { \
142 return t.get() _op_ nullptr; \
145 static inline bool operator _op_(std::nullptr_t, const sp<T>& t) { \
[all …]
DRefBase.h231 #define COMPARE_WEAK(_op_) \ argument
233 inline bool operator _op_ (const U* o) const { \
234 return m_ptr _op_ o; \
237 inline bool operator _op_ (const T* o) const { \
238 return m_ptr _op_ o; \
248 #define COMPARE_WEAK_FUNCTIONAL(_op_, _compare_) \ argument
250 inline bool operator _op_ (const U* o) const { \