Home
last modified time | relevance | path

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

/system/core/libpixelflinger/codeflinger/tinyutils/
Dsmartpointer.h30 #define COMPARE(_op_) \ argument
31 inline bool operator _op_ (const sp<T>& o) const { \
32 return m_ptr _op_ o.m_ptr; \
34 inline bool operator _op_ (const T* o) const { \
35 return m_ptr _op_ o; \
38 inline bool operator _op_ (const sp<U>& o) const { \
39 return m_ptr _op_ o.m_ptr; \
42 inline bool operator _op_ (const U* o) const { \
43 return m_ptr _op_ o; \
/system/core/libutils/include/utils/
DStrongPointer.h93 #define COMPARE_STRONG(_op_) \ argument
95 static inline bool operator _op_(const sp<T>& t, const sp<U>& u) { \
96 return t.get() _op_ u.get(); \
99 static inline bool operator _op_(const T* t, const sp<U>& u) { \
100 return t _op_ u.get(); \
103 static inline bool operator _op_(const sp<T>& t, const U* u) { \
104 return t.get() _op_ u; \
107 static inline bool operator _op_(const sp<T>& t, std::nullptr_t) { \
108 return t.get() _op_ nullptr; \
111 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 { \