/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_refbase_test.cpp | 494 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 D | refbase_benchmark_test.cpp | 271 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 D | c-utils-guide-refbase.md | 180 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 D | mock_refbase_test.cpp | 402 int getwp = refb.GetWptrRefCount(); 416 int getwp = refb.GetWptrRefCount();
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/ |
H A D | refbase.cpp | 372 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
|
/ohos5.0/foundation/multimedia/image_framework/mock/native/src/ |
H A D | refbase.cpp | 374 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
|
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/refbase_fuzzer/ |
H A D | refbase_fuzzer.cpp | 158 g_ref->GetWptrRefCount(); in __anone27d57a10602()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.cpp | 569 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
|
H A D | refbase.h | 518 int GetWptrRefCount();
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | refbase.cpp | 603 int RefBase::GetWptrRefCount() in GetWptrRefCount() function in OHOS::RefBase
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 133 int GetWptrRefCount();
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | refbase.h | 499 int GetWptrRefCount();
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/ |
H A D | bundle_mgr_proxy.cpp | 4622 int32_t wptrRefCount = remote->GetWptrRefCount(); in SendTransactCmdWithLog()
|