Searched defs:WeakPtr (Results 1 - 5 of 5) sorted by path

/external/chromium_org/base/memory/
H A Dweak_ptr.h30 // static void StartNew(const WeakPtr<Controller>& controller) {
35 // Worker(const WeakPtr<Controller>& controller)
41 // WeakPtr<Controller> controller_;
54 // To ensure correct use, the first time a WeakPtr issued by a WeakPtrFactory
76 template <typename T> class WeakPtr;
79 // These classes are part of the WeakPtr implementation.
85 // via base::WeakPtr::~WeakPtr().
129 // This class simplifies the implementation of WeakPtr's type conversion
131 // WeakPtr<
192 class WeakPtr : public internal::WeakPtrBase { class in namespace:base
194 WeakPtr() : ptr_(NULL) { function in class:base::WeakPtr
200 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other), ptr_(other.ptr_) { function in class:base::WeakPtr
243 WeakPtr(const internal::WeakReference& ref, T* ptr) function in class:base::WeakPtr
[all...]
/external/chromium_org/chrome/browser/local_discovery/
H A Dservice_discovery_client_mdns.cc22 typedef base::WeakPtr<Proxy> WeakPtr; typedef in class:local_discovery::ServiceDiscoveryClientMdns::Proxy
81 WeakPtr GetWeakPtr() {
225 static void OnCallback(const WeakPtr& proxy,
266 const WeakPtr& proxy,
305 static void OnCallback(const WeakPtr& proxy,
/external/chromium_org/third_party/WebKit/Source/platform/heap/
H A DVisitor.h45 #include "wtf/WeakPtr.h"
322 template<typename T> void trace(const WeakPtr<T>&) { } argument
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DWeakPtr.h84 class WeakPtr { class in namespace:WTF
87 WeakPtr() { } function in class:WTF::WeakPtr
88 WeakPtr(std::nullptr_t) { } function in class:WTF::WeakPtr
89 WeakPtr(PassRefPtr<WeakReference<T> > ref) : m_ref(ref) { } function in class:WTF::WeakPtr
100 typedef RefPtr<WeakReference<T> > (WeakPtr::*UnspecifiedBoolType);
101 operator UnspecifiedBoolType() const { return get() ? &WeakPtr::m_ref : 0; }
107 template<typename T, typename U> inline bool operator==(const WeakPtr<T>& a, const WeakPtr<U>& b)
112 template<typename T, typename U> inline bool operator!=(const WeakPtr<T>& a, const WeakPtr<
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeSharedPtr.hpp62 typename ReferenceCount<threadSafe>::Type weakRefCount; //!< WeakPtr references + StrongPtr references.
76 class WeakPtr;
111 explicit SharedPtr (const WeakPtr<Y, DeleterY, threadSafe>& other);
120 SharedPtr& operator= (const WeakPtr<Y, DeleterY, threadSafe>& other);
137 void acquireFromWeak (const WeakPtr<T, Deleter, threadSafe>& other);
143 friend class WeakPtr<T, Deleter, threadSafe>;
152 * WeakPtr manages weak references to objects owned by SharedPtr. Shared
157 * WeakPtr can be converted back to SharedPtr but that operation can fail
164 class WeakPtr class in namespace:de
167 WeakPtr (voi
264 SharedPtr(const WeakPtr<Y, DeleterY, threadSafe>& other) argument
347 operator =(const WeakPtr<Y, DeleterY, threadSafe>& other) argument
427 acquireFromWeak(const WeakPtr<T, Deleter, threadSafe>& weakRef) argument
528 inline WeakPtr<T, Deleter, threadSafe>::WeakPtr (void) function in class:de::WeakPtr
539 WeakPtr(const WeakPtr<T, Deleter, threadSafe>& other) argument
551 inline WeakPtr<T, Deleter, threadSafe>::WeakPtr (const SharedPtr<T, Deleter, threadSafe>& other) function in class:de::WeakPtr
573 operator =(const WeakPtr<T, Deleter, threadSafe>& other) argument
[all...]

Completed in 716 milliseconds