/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/ecs/ |
H A D | entity_reference.h | 34 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 D | resource_handle.h | 117 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 D | light_refbase.h | 30 inline int GetRefCount() const; 60 int LightRefCountBase::GetRefCount() const in GetRefCount() function
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | gpu_resource_cache.cpp | 83 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 D | entity_manager.cpp | 79 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 D | refbase_benchmark_test.cpp | 1066 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 D | resource_handle_impl.cpp | 34 int32_t RenderReferenceCounter::GetRefCount() const in GetRefCount() function in RenderReferenceCounter
|
H A D | resource_handle_impl.h | 36 int32_t GetRefCount() const override; in RENDER_BEGIN_NAMESPACE()
|
/ohos5.0/foundation/ability/idl_tool/idl_tool_2/util/ |
H A D | light_refcount_base.h | 31 inline int GetRefCount() const in GetRefCount() function
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | light_refcount_base.h | 24 inline int GetRefCount() const in GetRefCount() function
|
/ohos5.0/foundation/ability/idl_tool/util/ |
H A D | light_refcount_base.h | 31 int GetRefCount() const in GetRefCount() function
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/ctocpp/ |
H A D | ark_web_ctocpp_ref_counted.h | 144 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 D | utils_refbase_test.cpp | 769 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 D | native_reference.h | 41 virtual uint32_t GetRefCount() = 0;
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/napi/include/ |
H A D | native_reference_mock.h | 37 MOCK_METHOD0(GetRefCount, uint32_t());
|
/ohos5.0/foundation/filemanagement/user_file_service/test/unittest/mock/ |
H A D | native_reference_mock.h | 38 MOCK_METHOD0(GetRefCount, uint32_t());
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/base/cpptoc/ |
H A D | ark_web_cpptoc_ref_counted.h | 168 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 D | ark_web_base_ref_counted.h | 55 int GetRefCount() const in GetRefCount() function
|
/ohos5.0/foundation/ai/ai_engine/services/server/communication_adapter/include/ |
H A D | sa_server_adapter.h | 77 int GetRefCount() const;
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_reference.h | 67 uint32_t GetRefCount() override;
|
H A D | ark_native_reference.cpp | 200 uint32_t ArkNativeReference::GetRefCount() in GetRefCount() function in ArkNativeReference
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/util/ |
H A D | render_util.cpp | 50 desc.refCount = handle.GetRefCount(); in GetRenderHandleDesc()
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js4.0/include/ |
H A D | native_devicemanager_js.h | 149 int32_t GetRefCount(); 167 int32_t GetRefCount();
|
/ohos5.0/foundation/ai/ai_engine/services/server/communication_adapter/source/ |
H A D | sa_server_adapter.cpp | 64 int SaServerAdapter::GetRefCount() const in GetRefCount() function in OHOS::AI::SaServerAdapter
|
/ohos5.0/foundation/distributedhardware/device_manager/interfaces/kits/js/include/ |
H A D | native_devicemanager_js.h | 204 int32_t GetRefCount(); 222 int32_t GetRefCount();
|