Home
last modified time | relevance | path

Searched defs:shared_ptr (Results 1 – 25 of 34) sorted by relevance

12

/aosp_15_r20/external/harfbuzz_ng/src/
H A Dhb-cplusplus.hh48 struct shared_ptr struct
50 using element_type = T;
52 using v = vtable<T>;
54 explicit shared_ptr (T *p = nullptr) : p (p) {} in shared_ptr() argument
55 shared_ptr (const shared_ptr &o) : p (v::reference (o.p)) {} in shared_ptr() argument
56 shared_ptr (shared_ptr &&o) noexcept : p (o.p) { o.p = nullptr; } in shared_ptr() argument
57 …ator = (const shared_ptr &o) { if (p != o.p) { destroy (); p = o.p; reference (); } return *this; } in operator =()
58 …tr& operator = (shared_ptr &&o) noexcept { v::destroy (p); p = o.p; o.p = nullptr; return *this; } in operator =()
59 ~shared_ptr () { v::destroy (p); p = nullptr; } in ~shared_ptr()
61 T* get() const { return p; } in get()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/include/boost/smart_ptr/
Dshared_ptr.hpp335 template<class T> class shared_ptr class
346 BOOST_CONSTEXPR shared_ptr() BOOST_SP_NOEXCEPT : px( 0 ), pn() in shared_ptr() function in boost::shared_ptr
352 BOOST_CONSTEXPR shared_ptr( boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT : px( 0 ), pn() in shared_ptr() function in boost::shared_ptr
358 …BOOST_CONSTEXPR shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost:… in shared_ptr() function in boost::shared_ptr
364 …BOOST_CONSTEXPR shared_ptr( boost::detail::sp_internal_constructor_tag, element_type * px_, boost:… in shared_ptr() function in boost::shared_ptr
371 explicit shared_ptr( Y * p ): px( p ), pn() // Y must be complete in shared_ptr() function in boost::shared_ptr
382 template<class Y, class D> shared_ptr( Y * p, D d ): px( p ), pn( p, d ) in shared_ptr() function in boost::shared_ptr
389 template<class D> shared_ptr( boost::detail::sp_nullptr_t p, D d ): px( p ), pn( p, d ) in shared_ptr() function in boost::shared_ptr
397 template<class Y, class D, class A> shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) in shared_ptr() function in boost::shared_ptr
404 …template<class D, class A> shared_ptr( boost::detail::sp_nullptr_t p, D d, A a ): px( p ), pn( p, … in shared_ptr() function in boost::shared_ptr
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/serialization/include/boost/serialization/detail/
Dshared_ptr_132.hpp106 template<class T> class shared_ptr class
119 shared_ptr(): px(0), pn() // never throws in 1.30+ in shared_ptr() function in boost_132::shared_ptr
124 explicit shared_ptr(Y * p): px(p), pn(p, boost::checked_deleter<Y>()) // Y must be complete in shared_ptr() function in boost_132::shared_ptr
135 template<class Y, class D> shared_ptr(Y * p, D d): px(p), pn(p, d) in shared_ptr() function in boost_132::shared_ptr
153 explicit shared_ptr(weak_ptr<Y> const & r): pn(r.pn) // may throw in shared_ptr() function in boost_132::shared_ptr
160 shared_ptr(shared_ptr<Y> const & r): px(r.px), pn(r.pn) // never throws in shared_ptr() function in boost_132::shared_ptr
165shared_ptr(shared_ptr<Y> const & r, detail::static_cast_tag): px(static_cast<element_type *>(r.px)… in shared_ptr() function in boost_132::shared_ptr
170shared_ptr(shared_ptr<Y> const & r, detail::const_cast_tag): px(const_cast<element_type *>(r.px)),… in shared_ptr() function in boost_132::shared_ptr
175shared_ptr(shared_ptr<Y> const & r, detail::dynamic_cast_tag): px(dynamic_cast<element_type *>(r.p… in shared_ptr() function in boost_132::shared_ptr
184shared_ptr(shared_ptr<Y> const & r, detail::polymorphic_cast_tag): px(dynamic_cast<element_type *>… in shared_ptr() function in boost_132::shared_ptr
[all …]
Dshared_ptr_nmt_132.hpp33 template<class T> class shared_ptr class
44 explicit shared_ptr(T * p = 0): px(p) in shared_ptr() function in boost::shared_ptr
80 shared_ptr(shared_ptr const & r): px(r.px) // never throws in shared_ptr() function in boost::shared_ptr
94 explicit shared_ptr(std::auto_ptr< T > & r) in shared_ptr() function in boost::shared_ptr
/aosp_15_r20/external/clang/test/Analysis/
H A DNewDelete-checker-test.cpp272 class shared_ptr { class
277 shared_ptr() : p(0), control(0) {} in shared_ptr() function in reference_count::shared_ptr
278 explicit shared_ptr(T *p) : p(p), control(new control_block) { in shared_ptr() function in reference_count::shared_ptr
281 shared_ptr(shared_ptr &other) : p(other.p), control(other.control) { in shared_ptr() function in reference_count::shared_ptr
/aosp_15_r20/external/rust/cxx/src/
Dshared_ptr.rs30 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in null() localVariable
43 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in new() localVariable
94 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in clone() localVariable
Dlib.rs466 mod shared_ptr; module
Dweak_ptr.rs48 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in upgrade() localVariable
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/src/
H A Dshared_ptr.rs30 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in null() localVariable
43 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in new() localVariable
94 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in clone() localVariable
H A Dlib.rs467 mod shared_ptr; module
H A Dweak_ptr.rs48 let mut shared_ptr = MaybeUninit::<SharedPtr<T>>::uninit(); in upgrade() localVariable
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/test/
Dsp_explicit_inst_test.cpp13 template class boost::shared_ptr< int >; member in boost
19 template class boost::shared_ptr< X >; member in boost
/aosp_15_r20/external/clang/test/SemaObjCXX/
H A Dwarn-missing-super.mm10 template<typename T> struct shared_ptr { struct
17 constexpr shared_ptr<int> dummy; argument
/aosp_15_r20/external/clang/test/Analysis/Inputs/
H A Dsystem-header-simulator-cxx-std-suppression.h125 shared_ptr(shared_ptr&& __r) { } in shared_ptr() function
141 shared_ptr<_Tp>::shared_ptr(nullptr_t) { in shared_ptr() function
/aosp_15_r20/system/memory/libmemunreachable/
DAllocator.h90 using shared_ptr = std::shared_ptr<T>; variable
168 using shared_ptr = Heap::shared_ptr<T>; variable
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/iterator/doc/
Dindex.rst216 .. |shared_ptr| replace:: ``shared_ptr`` substdef in Specialized Adaptors
217 .. _shared_ptr: ../../smart_ptr/shared_ptr.htm target in Specialized Adaptors
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/doc/smart_ptr/
Dshared_ptr.adoc12 [#shared_ptr] anchor
/aosp_15_r20/external/clang/test/CodeGenCXX/
H A Dlinetable-eh.cpp20 template<class _Tp> class shared_ptr { class
/aosp_15_r20/external/tensorflow/tensorflow/core/framework/
H A Dshared_ptr_variant.h28 std::shared_ptr<T> shared_ptr; member
/aosp_15_r20/frameworks/native/cmds/idlcli/
H A Dvibrator.h77 using shared_ptr = std::invoke_result_t<decltype(getService<I>)&, std::string>; variable
/aosp_15_r20/external/clang/test/SemaTemplate/
H A Ddestructor-template.cpp66 template <class T> class shared_ptr {}; class
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/tr1/
Dshared_ptr.h503 class shared_ptr; in _GLIBCXX_VISIBILITY() local
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/tr1/
Dshared_ptr.h503 class shared_ptr; in _GLIBCXX_VISIBILITY() local
/aosp_15_r20/external/rust/cxx/tests/
Dtest.rs278 let shared_ptr = ffi::c_return_shared_ptr(); in test_shared_ptr_weak_ptr() localVariable
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/tests/
H A Dtest.rs278 let shared_ptr = ffi::c_return_shared_ptr(); in test_shared_ptr_weak_ptr() localVariable

12