Home
last modified time | relevance | path

Searched refs:GetWptrRefCount (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_refbase_test.cpp494 int count = testobject->GetWptrRefCount();
676 int count = testobject->GetWptrRefCount();
789 EXPECT_EQ(baseObject1.GetWptrRefCount(), 0);
845 EXPECT_EQ(testTargetWptrObject1->GetWptrRefCount(), testOrigWptrObject->GetWptrRefCount());
859 EXPECT_EQ(testTargetWptrObject2->GetWptrRefCount(), testOrigWptrObject->GetWptrRefCount());
874 EXPECT_EQ(testTargetWptrObject3->GetWptrRefCount(), testOrigSptrObject->GetWptrRefCount());
889 EXPECT_EQ(testTargetWptrObject4->GetWptrRefCount(), testOrigSptrObject->GetWptrRefCount());
912 EXPECT_EQ(testTargetWptrObject1->GetWptrRefCount(), testOrigWptrObject->GetWptrRefCount());
928 EXPECT_EQ(testTargetWptrObject2->GetWptrRefCount(), testOrigWptrObject->GetWptrRefCount());
944 EXPECT_EQ(testTargetWptrObject3->GetWptrRefCount(), testOrigSptrObject->GetWptrRefCount());
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp271 o.second->GetSptrRefCount(), o.second->GetWptrRefCount()); in DumpMapObjects()
670 int count = testobject->GetWptrRefCount(); in BENCHMARK_F()
802 AssertEqual(testObject1->GetWptrRefCount(), EXPECTED_REF_COUNT_TWO, in BENCHMARK_F()
1186 AssertEqual(baseObject1.GetWptrRefCount(), EXPECTED_REF_COUNT_ZERO, in BENCHMARK_F()
1198 AssertEqual(baseObject2.GetWptrRefCount(), EXPECTED_REF_COUNT_ZERO, in BENCHMARK_F()
1225 AssertEqual(tarWptr->GetWptrRefCount(), origWptr->GetWptrRefCount(), in CompOrigWptrAndTarWptr001()
1231 AssertEqual(tarWptr->GetWptrRefCount(), ONE_REF_COUNT, in CompOrigWptrAndTarWptr001()
1257 AssertEqual(tarWptr->GetWptrRefCount(), origSptr->GetWptrRefCount(), in CompOrigSptrAndTarWptr002()
1264 AssertEqual(tarWptr->GetWptrRefCount(), TWO_REF_COUNT, in CompOrigSptrAndTarWptr002()
1269 AssertEqual(tarWptr->GetWptrRefCount(), THREE_REF_COUNT, in CompOrigSptrAndTarWptr002()
[all …]
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-refbase.md180 if (curSptr->GetSptrRefCount() == 2 && curSptr->GetWptrRefCount() == 2 && // 2: count
181 curWptr->GetWptrRefCount() == 1) {
211 if (snewWptr->GetWptrRefCount() == 3 && soldSptr->GetSptrRefCount() == 1 && // 3: count
212 soldWptr->GetWptrRefCount() == 3) { // 3: count
217 …if (spromotedWptr->GetSptrRefCount() == 2 && spromotedWptr->GetWptrRefCount() == 4) { // 2, 4: cou…
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmock_refbase_test.cpp402 int getwp = refb.GetWptrRefCount();
416 int getwp = refb.GetWptrRefCount();
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/
H A Drefbase.cpp372 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
/ohos5.0/foundation/multimedia/image_framework/mock/native/src/
H A Drefbase.cpp374 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/refbase_fuzzer/
H A Drefbase_fuzzer.cpp158 g_ref->GetWptrRefCount(); in __anone27d57a10602()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Drefbase.cpp569 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
H A Drefbase.h518 int GetWptrRefCount();
/ohos5.0/commonlibrary/c_utils/base/src/
H A Drefbase.cpp603 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/
H A Drefbase.h133 int GetWptrRefCount();
/ohos5.0/commonlibrary/c_utils/base/include/
H A Drefbase.h499 int GetWptrRefCount();
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_proxy.cpp4622 int32_t wptrRefCount = remote->GetWptrRefCount(); in SendTransactCmdWithLog()