Lines Matching refs:WeakReference
10 WeakReference::Flag::Flag() : is_valid_(true) { in Flag()
17 void WeakReference::Flag::Invalidate() { in Invalidate()
25 bool WeakReference::Flag::IsValid() const { in IsValid()
31 WeakReference::Flag::~Flag() = default;
33 WeakReference::WeakReference() = default;
35 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference() function in base::internal::WeakReference
37 WeakReference::~WeakReference() = default;
39 WeakReference::WeakReference(WeakReference&& other) = default;
41 WeakReference::WeakReference(const WeakReference& other) = default;
43 bool WeakReference::is_valid() const { in is_valid()
53 WeakReference WeakReferenceOwner::GetRef() const { in GetRef()
56 flag_ = new WeakReference::Flag(); in GetRef()
58 return WeakReference(flag_); in GetRef()
72 WeakPtrBase::WeakPtrBase(const WeakReference& ref, uintptr_t ptr) in WeakPtrBase()