Lines Matching refs:RefBase
417 RefBase::RefBase() : refs_(new RefCounter()) in RefBase() function in OHOS::RefBase
426 RefBase::RefBase(const RefBase &) in RefBase() function in OHOS::RefBase
439 bool RefBase::CanPromote() in CanPromote()
445 void RefBase::RefPtrCallback() in RefPtrCallback()
456 RefBase &RefBase::operator=(const RefBase &) in operator =() argument
475 RefBase::RefBase(RefBase &&other) noexcept in RefBase() function in OHOS::RefBase
481 RefBase &RefBase::operator=(RefBase &&other) noexcept in operator =()
497 RefBase::~RefBase() in ~RefBase()
509 void RefBase::ExtendObjectLifetime() in ExtendObjectLifetime()
514 void RefBase::IncStrongRef(const void *objectId) in IncStrongRef()
530 void RefBase::CheckIsAttemptAcquireSet(const void *objectId) in CheckIsAttemptAcquireSet()
544 void RefBase::DecStrongRef(const void *objectId) in DecStrongRef()
568 int RefBase::GetSptrRefCount() in GetSptrRefCount()
576 WeakRefCounter *RefBase::CreateWeakRef(void *cookie) in CreateWeakRef()
584 void RefBase::IncWeakRef(const void *objectId) in IncWeakRef()
591 RefCounter *RefBase::GetRefCounter() const in GetRefCounter()
596 void RefBase::DecWeakRef(const void *objectId) in DecWeakRef()
603 int RefBase::GetWptrRefCount() in GetWptrRefCount()
611 bool RefBase::AttemptAcquire(const void *objectId) in AttemptAcquire()
629 bool RefBase::AttemptIncStrongRef(const void *objectId) in AttemptIncStrongRef()
643 bool RefBase::AttemptIncStrong(const void *objectId) in AttemptIncStrong()
655 bool RefBase::IsAttemptAcquireSet() in IsAttemptAcquireSet()
663 bool RefBase::IsExtendLifeTimeSet() in IsExtendLifeTimeSet()
671 void RefBase::OnFirstStrongRef(const void*) in OnFirstStrongRef()
674 void RefBase::OnLastStrongRef(const void*) in OnLastStrongRef()
677 void RefBase::OnLastWeakRef(const void*) in OnLastWeakRef()
680 bool RefBase::OnAttemptPromoted(const void*) in OnAttemptPromoted()
686 void RefBase::EnableTracker() in EnableTracker()
691 void RefBase::EnableTracker() in EnableTracker()