Home
last modified time | relevance | path

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

123

/external/rust/cxx/src/
Dweak_ptr.rs15 pub struct WeakPtr<T> struct
23 impl<T> WeakPtr<T> impl
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/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/src/
Dweak_ptr.rs15 pub struct WeakPtr<T> struct
23 impl<T> WeakPtr<T> argument
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/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxx-1.0.130/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/pigweed/pw_bluetooth_sapphire/host/common/public/pw_bluetooth_sapphire/internal/host/common/
Dweak_self.h165 WeakPtr() : ptr_(nullptr) {} in WeakPtr() function
166 explicit WeakPtr(std::nullptr_t) : WeakPtr() {} in WeakPtr() function
171 WeakPtr(const WeakPtr<U>& r) : WeakPtr(r.ptr_) {} in WeakPtr() function
176 WeakPtr(WeakPtr<U>&& r) : WeakPtr(std::move(r.ptr_)) {} in WeakPtr() function
197 explicit WeakPtr( in WeakPtr() function
202 explicit WeakPtr(pw::IntrusivePtr<typename WeakPtrManager::RefType>&& ptr) in WeakPtr() function
256 using WeakPtr = WeakPtr<T, WeakPtrManager>; variable
/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/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/android-crates-io/crates/gbm/src/
Dlib.rs168 pub(crate) struct WeakPtr<T>(Weak<PtrDrop<T>>); struct
170 impl<T> WeakPtr<T> { impl
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/host/sm/public/pw_bluetooth_sapphire/internal/host/sm/
Dpairing_channel.h42 using WeakPtr = WeakSelf<Handler>::WeakPtr; variable
82 using WeakPtr = WeakSelf<PairingChannel>::WeakPtr; variable
Ddelegate.h67 using WeakPtr = WeakSelf<Delegate>::WeakPtr; variable
Dpairing_phase.h67 using WeakPtr = WeakSelf<Listener>::WeakPtr; variable
Dtest_security_manager.h67 using WeakPtr = WeakSelf<TestSecurityManager>::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/cronet/stable/base/memory/
Dweak_ptr.h101 template <typename T> class WeakPtr; variable
205 WeakPtr(std::nullptr_t) {} in WeakPtr() function
293 WeakPtr(internal::WeakReference&& ref, T* ptr) in WeakPtr() function
/external/cronet/tot/base/memory/
Dweak_ptr.h101 template <typename T> class WeakPtr; variable
205 WeakPtr(std::nullptr_t) {} in WeakPtr() function
293 WeakPtr(internal::WeakReference&& ref, T* ptr) in WeakPtr() function
/external/deqp/framework/delibs/decpp/
DdeSharedPtr.hpp182 class WeakPtr class
542 inline WeakPtr<T>::WeakPtr(void) : m_ptr(nullptr) 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/fuchsia/host/fidl/public/pw_bluetooth_sapphire/fuchsia/host/fidl/
Diso_stream_server.h42 using WeakPtr = WeakSelf<IsoStreamServer>::WeakPtr; variable
/external/pigweed/pw_bluetooth_sapphire/host/iso/public/pw_bluetooth_sapphire/internal/host/iso/
Diso_stream.h87 using WeakPtr = WeakSelf<IsoStream>::WeakPtr; variable
Diso_stream_manager.h51 using WeakPtr = WeakSelf<IsoStreamManager>::WeakPtr; variable
/external/pigweed/pw_bluetooth_sapphire/host/gatt/public/pw_bluetooth_sapphire/internal/host/gatt/
Dmock_server.h37 using WeakPtr = WeakSelf<MockServer>::WeakPtr; variable
/external/pigweed/pw_bluetooth_sapphire/host/sco/public/pw_bluetooth_sapphire/internal/host/sco/
Dsco_connection.h82 using WeakPtr = WeakSelf<ScoConnection>::WeakPtr; variable

123