Home
last modified time | relevance | path

Searched refs:IsLifeTimeExtended (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Drefbase.cpp297 if (IsLifeTimeExtended()) { in DecWeakRefCount()
347 bool RefCounter::IsLifeTimeExtended() in IsLifeTimeExtended() function in OHOS::RefCounter
366 if ((curCount == INITIAL_PRIMARY_VALUE) && !IsLifeTimeExtended()) { in AttemptIncStrongRef()
376 if (IsLifeTimeExtended()) { in AttemptIncStrongRef()
392 if (curCount < 0 || (!IsLifeTimeExtended() && curCount == 0)) { in AttemptIncStrongRef()
501 if ((refs_->IsLifeTimeExtended() && refs_->GetWeakRefCount() == 0) || in ~RefBase()
522 if (!refs_->IsLifeTimeExtended() && curCount == 0) { in IncStrongRef()
558 if (!refs->IsLifeTimeExtended()) { in DecStrongRef()
668 return refs_->IsLifeTimeExtended(); in IsExtendLifeTimeSet()
/commonlibrary/c_utils/base/include/
H A Drefbase.h231 bool IsLifeTimeExtended();
/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp1879 * @tc.desc: Test for IsLifeTimeExtended, ExtendObjectLifetime
1886 AssertFalse(refs->IsLifeTimeExtended(), "refs->IsLifeTimeExtended() did not return false", state); in BENCHMARK_F()
1888 AssertTrue(refs->IsLifeTimeExtended(), "refs->IsLifeTimeExtended did not return true", state); in BENCHMARK_F()

Completed in 10 milliseconds