Home
last modified time | relevance | path

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

/frameworks/rs/cpp/util/
DStrongPointer.h38 #define COMPARE(_op_) \ argument
39 inline bool operator _op_ (const sp<T>& o) const { \
40 return m_ptr _op_ o.m_ptr; \
42 inline bool operator _op_ (const T* o) const { \
43 return m_ptr _op_ o; \
46 inline bool operator _op_ (const sp<U>& o) const { \
47 return m_ptr _op_ o.m_ptr; \
50 inline bool operator _op_ (const U* o) const { \
51 return m_ptr _op_ o; \
53 inline bool operator _op_ (const wp<T>& o) const { \
[all …]
DRefBase.h39 #define COMPARE_WEAK(_op_) \ argument
40 inline bool operator _op_ (const sp<T>& o) const { \
41 return m_ptr _op_ o.m_ptr; \
43 inline bool operator _op_ (const T* o) const { \
44 return m_ptr _op_ o; \
47 inline bool operator _op_ (const sp<U>& o) const { \
48 return m_ptr _op_ o.m_ptr; \
51 inline bool operator _op_ (const U* o) const { \
52 return m_ptr _op_ o; \
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h123 #define SP_AIBINDER_COMPARE(_op_) \ argument
124 static inline bool operator _op_(const SpAIBinder& lhs, const SpAIBinder& rhs) { \
125 return lhs.get() _op_ rhs.get(); \
127 static inline bool operator _op_(const SpAIBinder& lhs, const AIBinder* rhs) { \
128 return lhs.get() _op_ rhs; \
130 static inline bool operator _op_(const AIBinder* lhs, const SpAIBinder& rhs) { \
131 return lhs _op_ rhs.get(); \