Home
last modified time | relevance | path

Searched refs:IsLifeTimeExtended (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/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()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/
H A Drefbase.cpp147 if ((curCount == 1) || (strongRefCount == 0 && !IsLifeTimeExtended())) { in DecWeakRefCount()
180 bool RefCounter::IsLifeTimeExtended() in IsLifeTimeExtended() function in OHOS::RefCounter
199 if ((curCount == INITIAL_PRIMARY_VALUE) && !IsLifeTimeExtended()) { in AttemptIncStrongRef()
209 if (IsLifeTimeExtended()) { in AttemptIncStrongRef()
220 if (curCount < 0 || (!IsLifeTimeExtended() && curCount == 0)) { in AttemptIncStrongRef()
425 return refs_->IsLifeTimeExtended(); in IsExtendLifeTimeSet()
/ohos5.0/foundation/multimedia/image_framework/mock/native/src/
H A Drefbase.cpp151 if ((curCount == 1) || (strongRefCount == 0 && !IsLifeTimeExtended())) { in DecWeakRefCount()
184 bool RefCounter::IsLifeTimeExtended() in IsLifeTimeExtended() function in OHOS::RefCounter
204 if ((curCount == INITIAL_PRIMARY_VALUE) && !IsLifeTimeExtended()) { in AttemptIncStrongRef()
215 if (IsLifeTimeExtended()) { in AttemptIncStrongRef()
226 if (curCount < 0 || (!IsLifeTimeExtended() && curCount == 0)) { in AttemptIncStrongRef()
422 return refs_->IsLifeTimeExtended(); in IsExtendLifeTimeSet()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Drefbase.cpp285 if (IsLifeTimeExtended() && GetStrongRefCount() == 0) { in DecWeakRefCount()
329 bool RefCounter::IsLifeTimeExtended() in IsLifeTimeExtended() function in OHOS::RefCounter
348 if ((curCount == INITIAL_PRIMARY_VALUE) && !IsLifeTimeExtended()) { in AttemptIncStrongRef()
358 if (IsLifeTimeExtended()) { in AttemptIncStrongRef()
374 if (curCount < 0 || (!IsLifeTimeExtended() && curCount == 0)) { in AttemptIncStrongRef()
483 if ((refs_->IsLifeTimeExtended() && refs_->GetWeakRefCount() == 0) || in ~RefBase()
524 if (!refs->IsLifeTimeExtended()) { in DecStrongRef()
634 return refs_->IsLifeTimeExtended(); in IsExtendLifeTimeSet()
H A Drefbase.h231 bool IsLifeTimeExtended();
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmock_refbase_test.cpp240 bool islife = refs.IsLifeTimeExtended();
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/
H A Drefbase.h69 bool IsLifeTimeExtended();
/ohos5.0/commonlibrary/c_utils/base/include/
H A Drefbase.h231 bool IsLifeTimeExtended();
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp1886 … 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()