Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/cxx-1.0.120/src/
H A 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
/aosp_15_r20/external/rust/cxx/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
/aosp_15_r20/external/openscreen/util/
H A 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
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/common/
H A 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
/aosp_15_r20/external/pdfium/core/fxcrt/
H A 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
H A 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
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/2/external/libchrome/base/memory/
Dweak_ptr.h88 template <typename T> class WeakPtr; variable
226 WeakPtr(std::nullptr_t) {} in WeakPtr() function
231 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other) { in WeakPtr() function
238 WeakPtr(WeakPtr<U>&& other) : WeakPtrBase(std::move(other)) { in WeakPtr() function
263 template <typename U> friend class WeakPtr; variable
267 WeakPtr(const internal::WeakReference& ref, T* ptr) in WeakPtr() function
/aosp_15_r20/out/soong/.intermediates/external/libchrome/libchrome-include/gen/gensrcs/external/libchrome/base/memory/
Dweak_ptr.h88 template <typename T> class WeakPtr; variable
226 WeakPtr(std::nullptr_t) {} in WeakPtr() function
231 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other) { in WeakPtr() function
238 WeakPtr(WeakPtr<U>&& other) : WeakPtrBase(std::move(other)) { in WeakPtr() function
263 template <typename U> friend class WeakPtr; variable
267 WeakPtr(const internal::WeakReference& ref, T* ptr) in WeakPtr() function
/aosp_15_r20/external/libchrome/base/memory/
H A 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
/aosp_15_r20/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
/aosp_15_r20/external/webrtc/rtc_base/
H A 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
/aosp_15_r20/external/tensorflow/tensorflow/core/platform/
H A 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
H A Drefcount.h101 class WeakPtr; variable
182 friend class WeakPtr; variable
215 WeakPtr(WeakPtr&& other) { in WeakPtr() function
/aosp_15_r20/external/deqp/framework/delibs/decpp/
H A 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
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/ext/base/
H A Dweak_ptr.h55 WeakPtr() {} in WeakPtr() function
72 explicit WeakPtr(const std::shared_ptr<T*>& handle) : handle_(handle) {} in WeakPtr() function
/aosp_15_r20/external/perfetto/include/perfetto/ext/base/
H A Dweak_ptr.h55 WeakPtr() {} in WeakPtr() function
72 explicit WeakPtr(const std::shared_ptr<T*>& handle) : handle_(handle) {} in WeakPtr() function
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/sm/
H A Dpairing_channel.h40 using WeakPtr = WeakSelf<Handler>::WeakPtr; variable
80 using WeakPtr = WeakSelf<PairingChannel>::WeakPtr; variable
H A Ddelegate.h70 using WeakPtr = WeakSelf<Delegate>::WeakPtr; variable
H A Dtest_security_manager.h54 using WeakPtr = WeakSelf<TestSecurityManager>::WeakPtr; variable
H A Dpairing_phase.h66 using WeakPtr = WeakSelf<Listener>::WeakPtr; variable
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/host/sm/
H A Dtest_security_manager.cc26 l2cap::Channel::WeakPtr, in TestSecurityManager()
28 Delegate::WeakPtr, in TestSecurityManager()
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/public/pw_bluetooth_sapphire/fuchsia/host/fidl/
H A Diso_stream_server.h42 using WeakPtr = WeakSelf<IsoStreamServer>::WeakPtr; variable
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/iso/
H A Diso_stream.h81 using WeakPtr = WeakSelf<IsoStream>::WeakPtr; variable
H A Diso_stream_manager.h51 using WeakPtr = WeakSelf<IsoStreamManager>::WeakPtr; variable
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/public/pw_bluetooth_sapphire/internal/host/gatt/
H A Dmock_server.h37 using WeakPtr = WeakSelf<MockServer>::WeakPtr; variable

123