Home
last modified time | relevance | path

Searched refs:GetWeakRefCount (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_refbase_test.cpp889 EXPECT_EQ(testTargetWptrObject1.GetWeakRefCount(), testOrigWptrObject.GetWeakRefCount()); in HWTEST_F()
892 EXPECT_EQ(testTargetWptrObject1.GetWeakRefCount(), 2); in HWTEST_F()
903 EXPECT_EQ(testTargetWptrObject2.GetWeakRefCount(), testOrigWptrObject.GetWeakRefCount()); in HWTEST_F()
906 EXPECT_EQ(testTargetWptrObject2.GetWeakRefCount(), 3); in HWTEST_F()
921 EXPECT_EQ(testTargetWptrObject3.GetWeakRefCount(), 1); in HWTEST_F()
936 EXPECT_EQ(testTargetWptrObject4.GetWeakRefCount(), 1); in HWTEST_F()
956 EXPECT_EQ(testTargetWptrObject1.GetWeakRefCount(), testOrigWptrObject.GetWeakRefCount()); in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/src/
H A Drefbase.cpp39 int WeakRefCounter::GetWeakRefCount() const in GetWeakRefCount() function in OHOS::WeakRefCounter
288 int curCount = GetWeakRefCount(); in DecWeakRefCount()
317 int RefCounter::GetWeakRefCount() in GetWeakRefCount() function in OHOS::RefCounter
501 if ((refs_->IsLifeTimeExtended() && refs_->GetWeakRefCount() == 0) || in ~RefBase()
608 return refs_->GetWeakRefCount(); in GetWptrRefCount()
/commonlibrary/c_utils/base/include/
H A Drefbase.h180 int GetWeakRefCount();
346 * @see RefCounter::GetWeakRefCount()
348 int GetWeakRefCount() const;
1297 inline int GetWeakRefCount() const in GetWeakRefCount() function in OHOS::wptr
1299 return refs_->GetWeakRefCount(); in GetWeakRefCount()
/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp1228 AssertEqual(tarWptr.GetWeakRefCount(), origWptr.GetWeakRefCount(), in CompOrigWptrAndTarWptr001()
1229 "tarWptr.GetWeakRefCount() did not equal testOrigWptrObject.GetWeakRefCount()", state); in CompOrigWptrAndTarWptr001()
1235 AssertEqual(tarWptr.GetWeakRefCount(), TWO_REF_COUNT, in CompOrigWptrAndTarWptr001()
1236 "tarWptr.GetWeakRefCount() did not equal TWO_REF_COUNT", state); in CompOrigWptrAndTarWptr001()
1240 AssertEqual(tarWptr.GetWeakRefCount(), THREE_REF_COUNT, in CompOrigWptrAndTarWptr001()
1241 "tarWptr.GetWeakRefCount() did not equal THREE_REF_COUNT", state); in CompOrigWptrAndTarWptr001()
1273 AssertEqual(tarWptr.GetWeakRefCount(), ONE_REF_COUNT, in CompOrigSptrAndTarWptr002()
1274 "tarWptr.GetWeakRefCount() di in CompOrigSptrAndTarWptr002()
[all...]
/commonlibrary/c_utils/base/test/fuzztest/refbase_fuzzer/
H A Drefbase_fuzzer.cpp173 FUZZ_LOGI("thread = %{public}u, weakRef->GetWeakRefCount", GetThreadId());
174 weakRef->GetWeakRefCount();

Completed in 8 milliseconds