Lines Matching refs:WeakReference
19 WeakReference::Flag::Flag() : is_valid_(true) { in Flag()
26 void WeakReference::Flag::Invalidate() { in Invalidate()
32 bool WeakReference::Flag::IsValid() const { in IsValid()
38 WeakReference::Flag::~Flag() {} in ~Flag()
40 WeakReference::WeakReference() {} in WeakReference() function in rtc::internal::WeakReference
42 WeakReference::WeakReference(const Flag* flag) : flag_(flag) {} in WeakReference() function in rtc::internal::WeakReference
44 WeakReference::~WeakReference() {} in ~WeakReference()
46 WeakReference::WeakReference(WeakReference&& other) = default;
48 WeakReference::WeakReference(const WeakReference& other) = default;
50 bool WeakReference::is_valid() const { in is_valid()
60 WeakReference WeakReferenceOwner::GetRef() const { in GetRef()
63 flag_ = new RefCountedObject<WeakReference::Flag>(); in GetRef()
65 return WeakReference(flag_.get()); in GetRef()
79 WeakPtrBase::WeakPtrBase(const WeakReference& ref) : ref_(ref) {} in WeakPtrBase()