Lines Matching refs:o
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; \
154 RefBase(const RefBase& o);
155 RefBase& operator=(const RefBase& o);
268 inline bool operator == (const wp<T>& o) const {
269 return (m_ptr == o.m_ptr) && (m_refs == o.m_refs);
272 inline bool operator == (const wp<U>& o) const {
273 return m_ptr == o.m_ptr;
276 inline bool operator > (const wp<T>& o) const {
277 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
280 inline bool operator > (const wp<U>& o) const {
281 return (m_ptr == o.m_ptr) ? (m_refs > o.m_refs) : (m_ptr > o.m_ptr);
284 inline bool operator < (const wp<T>& o) const {
285 return (m_ptr == o.m_ptr) ? (m_refs < o.m_refs) : (m_ptr < o.m_ptr);
288 inline bool operator < (const wp<U>& o) const {
289 return (m_ptr == o.m_ptr) ? (m_refs < o.m_refs) : (m_ptr < o.m_ptr);
291 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
292 template<typename U> inline bool operator != (const wp<U>& o) const { return !operator == (o); }
293 inline bool operator <= (const wp<T>& o) const { return !operator > (o); }
294 template<typename U> inline bool operator <= (const wp<U>& o) const { return !operator > (o); }
295 inline bool operator >= (const wp<T>& o) const { return !operator < (o); }
296 template<typename U> inline bool operator >= (const wp<U>& o) const { return !operator < (o); }