Home
last modified time | relevance | path

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

/frameworks/native/include/utils/
DStrongPointer.h38 return m_ptr _op_ o.m_ptr; \
41 return m_ptr _op_ o; \
45 return m_ptr _op_ o.m_ptr; \
49 return m_ptr _op_ o; \
52 return m_ptr _op_ o.m_ptr; \
56 return m_ptr _op_ o.m_ptr; \
65 inline sp() : m_ptr(0) { } in sp()
91 inline T& operator* () const { return *m_ptr; }
92 inline T* operator-> () const { return m_ptr; }
93 inline T* get() const { return m_ptr; } in get()
[all …]
DRefBase.h40 return m_ptr _op_ o.m_ptr; \
43 return m_ptr _op_ o; \
47 return m_ptr _op_ o.m_ptr; \
51 return m_ptr _op_ o; \
203 inline wp() : m_ptr(0) { } in wp()
238 inline T* unsafe_get() const { return m_ptr; } in unsafe_get()
250 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs);
254 return m_ptr == o.m_ptr;
258 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
262 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
[all …]