Lines Matching refs:DonateRef
1360 * ref count. DonateRef(foo, NULL, owner) is the same as Ref(foo, owner),
1362 void DonateRef(const void *from, const void *to) const;
1454 void DonateRef(const void *from, const void *to) const { \
1455 return upb::upcast_to<const upb::RefCounted>(this)->DonateRef(from, to); \
1532 inline void RefCounted::DonateRef(const void *from, const void *to) const {
1560 ptr_->DonateRef(ref_donor, this);
1598 if (ptr_) ptr_->DonateRef(this, &other);
1599 if (other.ptr_) other.ptr_->DonateRef(&other, this);
1635 ptr_->DonateRef(this, new_owner);