Home
last modified time | relevance | path

Searched defs:WeakPtr (Results 1 – 25 of 42) sorted by relevance

12

/external/rust/cxx/src/
Dweak_ptr.rs15 pub struct WeakPtr<T> struct
23 impl<T> WeakPtr<T> implementation
57 unsafe impl<T> Send for WeakPtr<T> where T: Send + Sync + WeakPtrTarget {} implementation
58 unsafe impl<T> Sync for WeakPtr<T> where T: Send + Sync + WeakPtrTarget {} implementation
60 impl<T> Clone for WeakPtr<T> implementation
75 impl<T> Drop for WeakPtr<T> implementation
85 impl<T> Debug for WeakPtr<T> implementation
/external/openscreen/util/
Dweak_ptr.h81 WeakPtr(const WeakPtr& other) : impl_(other.impl_) {} in WeakPtr() function
83 WeakPtr(WeakPtr&& other) noexcept : impl_(std::move(other.impl_)) {} in WeakPtr() function
96 WeakPtr(std::nullptr_t) {} // NOLINT in WeakPtr() function
105 WeakPtr(const WeakPtr<U>& other) : impl_(other.as_std_weak_ptr()) {} in WeakPtr() function
108 WeakPtr(WeakPtr<U>&& other) noexcept in WeakPtr() function
154 explicit WeakPtr(const std::weak_ptr<U>& other) : impl_(other) {} in WeakPtr() function
157 explicit WeakPtr(std::weak_ptr<U>&& other) noexcept in WeakPtr() function
/external/libchrome/base/memory/
Dweak_ptr.h85 template <typename T> class WeakPtr; variable
223 WeakPtr(std::nullptr_t) {} in WeakPtr() function
228 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other) { in WeakPtr() function
235 WeakPtr(WeakPtr<U>&& other) : WeakPtrBase(std::move(other)) { in WeakPtr() function
260 template <typename U> friend class WeakPtr; variable
264 WeakPtr(const internal::WeakReference& ref, T* ptr) in WeakPtr() function
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/common/
Dweak_self.h163 WeakPtr() : ptr_(nullptr) {} in WeakPtr() function
164 explicit WeakPtr(std::nullptr_t) : WeakPtr() {} in WeakPtr() function
169 WeakPtr(const WeakPtr<U>& r) : WeakPtr(r.ptr_) {} in WeakPtr() function
174 WeakPtr(WeakPtr<U>&& r) : WeakPtr(std::move(r.ptr_)) {} in WeakPtr() function
194 explicit WeakPtr(pw::IntrusivePtr<typename WeakPtrManager::RefType> ptr) in WeakPtr() function
248 using WeakPtr = WeakPtr<T, WeakPtrManager>; variable
/external/pdfium/core/fxcrt/
Dweak_ptr_unittest.cpp37 TEST(WeakPtr, Null) { in TEST() argument
54 TEST(WeakPtr, NonNull) { in TEST() argument
83 TEST(WeakPtr, ResetNull) { in TEST() argument
101 TEST(WeakPtr, ResetNonNull) { in TEST() argument
123 TEST(WeakPtr, DeleteObject) { in TEST() argument
141 TEST(WeakPtr, Cyclic) { in TEST() argument
157 TEST(WeakPtr, CyclicDeleteObject) { in TEST() argument
Dweak_ptr.h23 WeakPtr(const WeakPtr& that) : m_pHandle(that.m_pHandle) {} in WeakPtr() function
24 WeakPtr(WeakPtr&& that) noexcept { Swap(that); } in WeakPtr() function
25 explicit WeakPtr(std::unique_ptr<T, D> pObj) in WeakPtr() function
30 WeakPtr(std::nullptr_t arg) {} in WeakPtr() function
/external/webrtc/rtc_base/
Dweak_ptr.h169 WeakPtr() : ptr_(nullptr) {} in WeakPtr() function
174 WeakPtr(const WeakPtr<U>& other) in WeakPtr() function
177 WeakPtr(WeakPtr<U>&& other) in WeakPtr() function
204 WeakPtr(const internal::WeakReference& ref, T* ptr) in WeakPtr() function
/external/rust/crates/gbm/src/
Dlib.rs168 pub(crate) struct WeakPtr<T>(Weak<PtrDrop<T>>); struct
170 impl<T> WeakPtr<T> { implementation
176 impl<T> fmt::Pointer for WeakPtr<T> { implementation
185 unsafe impl<T> Send for WeakPtr<T> where Ptr<T>: Send {} implementation
/external/perfetto/include/perfetto/ext/base/
Dweak_ptr.h55 WeakPtr() {} in WeakPtr() function
72 explicit WeakPtr(const std::shared_ptr<T*>& handle) : handle_(handle) {} in WeakPtr() function
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/sm/
Dpairing_channel.h40 using WeakPtr = WeakSelf<Handler>::WeakPtr; variable
80 using WeakPtr = WeakSelf<PairingChannel>::WeakPtr; variable
Ddelegate.h70 using WeakPtr = WeakSelf<Delegate>::WeakPtr; variable
Dtest_security_manager.h54 using WeakPtr = WeakSelf<TestSecurityManager>::WeakPtr; variable
Dpairing_phase.h66 using WeakPtr = WeakSelf<Listener>::WeakPtr; variable
/external/tensorflow/tensorflow/core/platform/
Drefcount_test.cc111 TEST(WeakPtr, SingleThread) { in TEST() argument
123 TEST(WeakPtr, MultiThreadedWeakRef) { in TEST() argument
168 TEST(WeakPtr, NotifyCalled) { in TEST() argument
192 TEST(WeakPtr, MoveTargetNotCalled) { in TEST() argument
223 TEST(WeakPtr, DestroyedNotifyNotCalled) { in TEST() argument
Drefcount.h101 class WeakPtr; variable
182 friend class WeakPtr; variable
215 WeakPtr(WeakPtr&& other) { in WeakPtr() function
/external/deqp/framework/delibs/decpp/
DdeSharedPtr.hpp182 class WeakPtr class
542 inline WeakPtr<T>::WeakPtr(void) : m_ptr(DE_NULL) in WeakPtr() function in de::WeakPtr
552 inline WeakPtr<T>::WeakPtr(const WeakPtr<T> &other) : m_ptr(other.m_ptr) in WeakPtr() function in de::WeakPtr
563 inline WeakPtr<T>::WeakPtr(const SharedPtr<T> &other) : m_ptr(other.m_ptr) in WeakPtr() function in de::WeakPtr
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/gatt/
Dmock_server.h37 using WeakPtr = WeakSelf<MockServer>::WeakPtr; variable
Dclient.h40 using WeakPtr = WeakSelf<Client>::WeakPtr; variable
/external/cronet/base/memory/
Dweak_ptr.h96 template <typename T> class WeakPtr; variable
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/sco/
Dsco_connection.h82 using WeakPtr = WeakSelf<ScoConnection>::WeakPtr; variable
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/
Drace_condition.pass.cpp25 typedef std::weak_ptr<int> WeakPtr; typedef
/external/cronet/third_party/libc++/src/test/libcxx/utilities/memory/util.smartptr/
Drace_condition.pass.cpp27 typedef std::weak_ptr<int> WeakPtr; typedef
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/gap/
Dadapter.h453 using WeakPtr = WeakSelf<Adapter>::WeakPtr; variable
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/l2cap/
Dfake_channel.h66 using WeakPtr = WeakSelf<FakeChannel>::WeakPtr; variable
/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/testing/
Dfake_dynamic_channel.h111 using WeakPtr = WeakSelf<FakeDynamicChannel>::WeakPtr; variable

12