Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DStrongPointer.h87 #define COMPARE_STRONG(_op_) \ argument
89 static inline bool operator _op_(const sp<T>& t, const sp<U>& u) { \
90 return t.get() _op_ u.get(); \
93 static inline bool operator _op_(const T* t, const sp<U>& u) { \
94 return t _op_ u.get(); \
97 static inline bool operator _op_(const sp<T>& t, const U* u) { \
98 return t.get() _op_ u; \
101 static inline bool operator _op_(const sp<T>& t, std::nullptr_t) { \
102 return t.get() _op_ nullptr; \
105 static inline bool operator _op_(std::nullptr_t, const sp<T>& t) { \
[all …]
DRefBase.h193 #define COMPARE_WEAK(_op_) \ argument
195 inline bool operator _op_ (const U* o) const { \
196 return m_ptr _op_ o; \
199 inline bool operator _op_ (const T* o) const { \
200 return m_ptr _op_ o; \
210 #define COMPARE_WEAK_FUNCTIONAL(_op_, _compare_) \ argument
212 inline bool operator _op_ (const U* o) const { \