Searched refs:smart_ptr (Results 1 – 10 of 10) sorted by relevance
9 struct smart_ptr { struct10 smart_ptr() : pointer(nullptr) {} in smart_ptr() function12 explicit smart_ptr(T *&p) : pointer(p) { in smart_ptr() function18 smart_ptr(smart_ptr const &rhs) : pointer(rhs.pointer) { in smart_ptr() argument24 smart_ptr & operator=(T *&rhs) {25 smart_ptr(rhs).swap(*this);29 smart_ptr & operator=(smart_ptr &rhs) {30 smart_ptr(rhs).swap(*this);34 ~smart_ptr() { in ~smart_ptr() argument41 smart_ptr().swap(*this); in reset() argument[all …]
670 using OSObjectPtr = os::smart_ptr<OSObject>;
14 struct smart_ptr { struct17 smart_ptr(S *);27 void bar(smart_ptr p) { in bar()
12 struct smart_ptr { struct18 smart_ptr<Foo> sf, const smart_ptr<Foo> &sfc, Foo volatile *fvp) { in text()
15 struct smart_ptr { struct16 ~smart_ptr();54 void negative_smart_ptr(smart_ptr p) { in negative_smart_ptr()
15 struct smart_ptr { struct16 ~smart_ptr();49 const smart_ptr &get_smart_ptr();
36 struct smart_ptr { struct37 ~smart_ptr();97 for (auto p : View<Iterator<smart_ptr>>()) { in negative_smart_ptr()
75 struct smart_ptr { struct87 void test_smart_ptr(smart_ptr<int> p) { in test_smart_ptr() argument
1438 class smart_ptr { class1449 smart_ptr<int> gdat PT_GUARDED_BY(gmu);1455 smart_ptr<Mutex> smu_;1458 smart_ptr<int> a PT_GUARDED_BY(mu_);
214 namespace smart_ptr { namespace