Home
last modified time | relevance | path

Searched refs:GetRefCount (Results 1 – 25 of 42) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/
H A Dentity_reference.h34 virtual int32_t GetRefCount() const noexcept = 0;
117 int32_t GetRefCount() const noexcept in GetRefCount() function
120 return counter_->GetRefCount(); in GetRefCount()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/
H A Dresource_handle.h117 virtual int32_t GetRefCount() const = 0;
176 inline int32_t GetRefCount() const noexcept;
229 int32_t RenderHandleReference::GetRefCount() const noexcept in GetRefCount() function
232 return counter_->GetRefCount(); in GetRefCount()
/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Dlight_refbase.h30 inline int GetRefCount() const;
60 int LightRefCountBase::GetRefCount() const in GetRefCount() function
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dgpu_resource_cache.cpp83 if (imagesRef.handle && (imagesRef.handle.GetRefCount() > 2)) { // 2:count number in ~GpuResourceCache()
88 if (imagesRef.handle && (imagesRef.handle.GetRefCount() > 2)) { // 2: count number in ~GpuResourceCache()
189 if (imgRef.handle.GetRefCount() > 2) { in DestroyOldImages()
192 PLUGIN_ASSERT(imgRef.handle.GetRefCount() == 2); in DestroyOldImages()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/
H A Dentity_manager.cpp79 int32_t GetRefCount() const noexcept override in GetRefCount() function in __anon9b344dfa0110::EntityReferenceCounter
187 if (e.counter->GetRefCount() > 0) { in GetReferenceCounted()
238 (!state.counter || (state.counter->GetRefCount() > 0)); in IsAlive()
325 if ((e.state != EntityState::State::FREE) && e.counter && (e.counter->GetRefCount() == 0)) { in UpdateDeadEntities()
343 if ((e.state != valid) || (e.counter && e.counter->GetRefCount() == 0)) { in IteratorImpl()
373 … if ((state.state == valid) && ((!state.counter) || (state.counter->GetRefCount() > 0))) { in Next()
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp1066 AssertEqual(baseObject1.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1069 AssertEqual(baseObject1.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1073 AssertEqual(baseObject1.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1174 AssertEqual(baseObject1.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1178 AssertEqual(baseObject2.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1181 AssertEqual(baseObject2.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1190 AssertEqual(baseObject3.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1193 AssertEqual(baseObject3.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1206 AssertEqual(baseObject4.GetRefCounter()->GetRefCount(), EXPECTED_REF_COUNT_ONE, in BENCHMARK_F()
1709 AssertEqual(refs->GetRefCount(), EXPECTED_REF_COUNT_TWO, in BENCHMARK_F()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Dresource_handle_impl.cpp34 int32_t RenderReferenceCounter::GetRefCount() const in GetRefCount() function in RenderReferenceCounter
H A Dresource_handle_impl.h36 int32_t GetRefCount() const override; in RENDER_BEGIN_NAMESPACE()
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/
H A Dlight_refcount_base.h31 inline int GetRefCount() const in GetRefCount() function
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Dlight_refcount_base.h24 inline int GetRefCount() const in GetRefCount() function
/ohos5.0/foundation/ability/idl_tool/util/
H A Dlight_refcount_base.h31 int GetRefCount() const in GetRefCount() function
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/ctocpp/
H A Dark_web_ctocpp_ref_counted.h144 ref_count_.GetRefCount(), (long)this); in IncreRef()
155 ref_count_.GetRefCount(), (long)this); in DecreRef()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_refbase_test.cpp769 EXPECT_EQ(testObject1->GetRefCounter()->GetRefCount(), 1);
771 EXPECT_EQ(testObject1->GetRefCounter()->GetRefCount(), 2); // 2: Refbase and WeakRefCounter
781 EXPECT_EQ(baseObject1.GetRefCounter()->GetRefCount(), 1);
784 EXPECT_EQ(baseObject2.GetRefCounter()->GetRefCount(), 1);
786 EXPECT_EQ(baseObject2.GetRefCounter()->GetRefCount(), 1);
792 EXPECT_EQ(baseObject3.GetRefCounter()->GetRefCount(), 1);
794 EXPECT_EQ(baseObject3.GetRefCounter()->GetRefCount(), 1);
/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_reference.h41 virtual uint32_t GetRefCount() = 0;
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/napi/include/
H A Dnative_reference_mock.h37 MOCK_METHOD0(GetRefCount, uint32_t());
/ohos5.0/foundation/filemanagement/user_file_service/test/unittest/mock/
H A Dnative_reference_mock.h38 MOCK_METHOD0(GetRefCount, uint32_t());
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/cpptoc/
H A Dark_web_cpptoc_ref_counted.h168 ref_count_.GetRefCount(), (long)this); in IncreRef()
179 ref_count_.GetRefCount(), (long)this); in DecreRef()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/include/
H A Dark_web_base_ref_counted.h55 int GetRefCount() const in GetRefCount() function
/ohos5.0/foundation/ai/ai_engine/services/server/communication_adapter/include/
H A Dsa_server_adapter.h77 int GetRefCount() const;
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_native_reference.h67 uint32_t GetRefCount() override;
H A Dark_native_reference.cpp200 uint32_t ArkNativeReference::GetRefCount() in GetRefCount() function in ArkNativeReference
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/
H A Drender_util.cpp50 desc.refCount = handle.GetRefCount(); in GetRenderHandleDesc()
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/
H A Dnative_devicemanager_js.h149 int32_t GetRefCount();
167 int32_t GetRefCount();
/ohos5.0/foundation/ai/ai_engine/services/server/communication_adapter/source/
H A Dsa_server_adapter.cpp64 int SaServerAdapter::GetRefCount() const in GetRefCount() function in OHOS::AI::SaServerAdapter
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js/include/
H A Dnative_devicemanager_js.h204 int32_t GetRefCount();
222 int32_t GetRefCount();

12