Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DStrongPointer.h135 #define COMPARE_STRONG(_op_) \ argument
137 static inline bool operator _op_(const sp<T>& t, const sp<U>& u) { \
138 return t.get() _op_ u.get(); \
141 static inline bool operator _op_(const T* t, const sp<U>& u) { \
142 return t _op_ u.get(); \
145 static inline bool operator _op_(const sp<T>& t, const U* u) { \
146 return t.get() _op_ u; \
149 static inline bool operator _op_(const sp<T>& t, std::nullptr_t) { \
150 return t.get() _op_ nullptr; \
153 static inline bool operator _op_(std::nullptr_t, const sp<T>& t) { \
[all …]
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 { \
/system/core/libutils/binder/include/utils/
DStrongPointer.h135 #define COMPARE_STRONG(_op_) \ argument
137 static inline bool operator _op_(const sp<T>& t, const sp<U>& u) { \
138 return t.get() _op_ u.get(); \
141 static inline bool operator _op_(const T* t, const sp<U>& u) { \
142 return t _op_ u.get(); \
145 static inline bool operator _op_(const sp<T>& t, const U* u) { \
146 return t.get() _op_ u; \
149 static inline bool operator _op_(const sp<T>& t, std::nullptr_t) { \
150 return t.get() _op_ nullptr; \
153 static inline bool operator _op_(std::nullptr_t, const sp<T>& t) { \
[all …]
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 { \