Home
last modified time | relevance | path

Searched refs:IsInstanceOf (Results 1 - 25 of 37) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/
H A Dbase_impl.h35 bool IsInstanceOf() in IsInstanceOf() function in OHOS::Rosen::Drawing::BaseImpl
43 return (IsInstanceOf<T>()) ? reinterpret_cast<T*>(this) : nullptr; in DowncastingTo()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_processor.h77 bool IsInstanceOf() const in IsInstanceOf() function in OHOS::Rosen::RSProcessor
90 return (IsInstanceOf<T>()) ? std::static_pointer_cast<T>(shared_from_this()) : nullptr; in ReinterpretCastTo()
95 return (IsInstanceOf<T>()) ? std::static_pointer_cast<const T>(shared_from_this()) : nullptr; in ReinterpretCastTo()
H A Drs_render_engine.cpp95 if (nodePtr->IsInstanceOf<RSSurfaceRenderNode>()) { in DrawLayers()
H A Drs_render_service.cpp263 if (node->IsInstanceOf<RSSurfaceRenderNode>() && !node->IsOnTheTree()) { in DumpNodesNotOnTheTree()
283 if (node == nullptr || !node->IsInstanceOf<RSSurfaceRenderNode>()) { in DumpAllNodesMemSize()
H A Drs_uni_render_visitor.cpp77 if (child != nullptr && child->IsInstanceOf<RSRootRenderNode>()) { in CheckRootNodeReadyToDraw()
89 if (child != nullptr && child->IsInstanceOf<RSCanvasRenderNode>()) { in CheckScbReadyToDraw()
112 if (child != nullptr && child->IsInstanceOf<RSSurfaceRenderNode>()) { in IsFirstFrameReadyToDraw()
1810 if (!child || !child->IsInstanceOf<RSDisplayRenderNode>()) { in HasMirrorDisplay()
1833 if (!child || !child->IsInstanceOf<RSDisplayRenderNode>()) { in HasVirtualDisplay()
2444 auto globalFilterRect = (node.IsInstanceOf<RSEffectRenderNode>() && !node.FirstFrameHasEffectChildren()) ? in PostPrepare()
3101 if (!child || !(child->IsInstanceOf<RSSurfaceRenderNode>() && in CheckIsGpuOverDrawBufferOptimizeNode()
H A Drs_surface_capture_task.cpp315 if (parentPtr != nullptr && parentPtr->IsInstanceOf<RSSurfaceRenderNode>()) { in CaptureSingleSurfaceNodeWithoutUni()
H A Drs_composer_adapter.cpp176 if (nodePtr->IsInstanceOf<RSSurfaceRenderNode>()) { in CommitLayers()
179 } else if (nodePtr->IsInstanceOf<RSDisplayRenderNode>()) { in CommitLayers()
/foundation/multimedia/image_framework/frameworks/kits/js/common/
H A Dimage_packer_mdk_kits.cpp46 static bool IsInstanceOf(napi_env env, napi_value value, napi_value global, const char* type) in IsInstanceOf() function
69 if (IsInstanceOf(env, source, global, "ImageSource")) { in ParserPackingArgumentType()
72 } else if (IsInstanceOf(env, source, global, "PixelMap")) { in ParserPackingArgumentType()
/foundation/communication/netstack/frameworks/js/napi/tls/src/context/
H A Dtls_init_context.cpp50 if (!NapiUtils::IsInstanceOf(GetEnv(), params[0], INTERFACE_TCP_SOCKET)) { in CheckParamsType()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.h109 bool IsInstanceOf(RSUINodeType type) const;
111 RSC_EXPORT bool IsInstanceOf() const;
122 return (IsInstanceOf<T>()) ? std::static_pointer_cast<T>(shared_from_this()) : nullptr; in ReinterpretCastTo()
127 return (IsInstanceOf<T>()) ? std::static_pointer_cast<const T>(shared_from_this()) : nullptr; in ReinterpretCastTo()
H A Drs_node.cpp2651 if (!this->IsInstanceOf<RSDisplayNode>()) { in AddCrossParentChild()
2684 if (!this->IsInstanceOf<RSDisplayNode>()) { in RemoveCrossParentChild()
2890 bool RSNode::IsInstanceOf(RSUINodeType type) const in IsInstanceOf() function in OHOS::Rosen::RSNode
2899 bool RSNode::IsInstanceOf() const in IsInstanceOf() function in OHOS::Rosen::RSNode
2901 return IsInstanceOf(T::Type); in IsInstanceOf()
2905 template bool RSNode::IsInstanceOf<RSDisplayNode>() const;
2906 template bool RSNode::IsInstanceOf<RSSurfaceNode>() const;
2907 template bool RSNode::IsInstanceOf<RSProxyNode>() const;
2908 template bool RSNode::IsInstanceOf<RSCanvasNode>() const;
2909 template bool RSNode::IsInstanceOf<RSRootNod
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/
H A Djs_kv_store.h47 static bool IsInstanceOf(napi_env env, napi_value obj, const std::string& storeId, napi_value constructor);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_misc_drawable.cpp175 stagingIsCanvasNode_ = node.IsInstanceOf<RSCanvasRenderNode>() && !node.IsInstanceOf<RSCanvasDrawingRenderNode>(); in OnUpdate()
H A Drs_property_drawable_background.cpp524 if (node.IsInstanceOf<RSEffectRenderNode>()) {
600 while (parentNode && !parentNode->IsInstanceOf<RSEffectRenderNode>()) {
H A Drs_property_drawable.cpp141 bool aa = node.IsInstanceOf<RSSurfaceRenderNode>(); in OnUpdate()
/foundation/graphic/graphic_3d/kits/js/src/
H A DBaseObjectJS.cpp138 bool IsInstanceOf(const NapiApi::Object& obj, const BASE_NS::string_view jsName) in IsInstanceOf() function
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_kv_manager.cpp185 bool isSingle = JsKVStore::IsInstanceOf(env, argv[2], ctxt->storeId, JsSingleKVStore::Constructor(env)); in CloseKVStore()
186 bool isDevice = JsKVStore::IsInstanceOf(env, argv[2], ctxt->storeId, JsDeviceKVStore::Constructor(env)); in CloseKVStore()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_surface_render_node.cpp54 if (child->IsInstanceOf<RSRootRenderNode>()) { in CheckRootNodeReadyToDraw()
69 if (child->IsInstanceOf<RSCanvasRenderNode>()) { in CheckScbReadyToDraw()
94 if (child->IsInstanceOf<RSSurfaceRenderNode>()) { in IsFirstFrameReadyToDraw()
1457 if (parentPtr != nullptr && parentPtr->IsInstanceOf<RSSurfaceRenderNode>()) { in IsSurfaceInStartingWindowStage()
1470 if (parentPtr != nullptr && parentPtr->IsInstanceOf<RSSurfaceRenderNode>()) { in IsParentLeashWindowInScale()
1745 if (filterNode.IsInstanceOf<RSEffectRenderNode>()) { in CheckValidFilterCacheFullyCoverTarget()
1843 if (node->IsInstanceOf<RSEffectRenderNode>()) { in UpdateFilterCacheStatusIfNodeStatic()
H A Drs_render_node.cpp564 if (IsInstanceOf<RSSurfaceRenderNode>() && in AddSubSurfaceNode()
578 while (parentNode && !parentNode->IsInstanceOf<RSDisplayRenderNode>()) { in AddSubSurfaceNode()
592 if (parentNode->IsInstanceOf<RSSurfaceRenderNode>() && in AddSubSurfaceNode()
610 while (parentNode && !parentNode->IsInstanceOf<RSDisplayRenderNode>()) { in RemoveSubSurfaceNode()
611 if (parentNode->IsInstanceOf<RSSurfaceRenderNode>() && in RemoveSubSurfaceNode()
1277 if (IsInstanceOf<RSSurfaceRenderNode>()) { in CollectAndUpdateLocalShadowRect()
1500 auto offset = !IsInstanceOf<RSSurfaceRenderNode>() in UpdateDrawRect()
1565 if (parent != nullptr && !IsInstanceOf<RSSurfaceRenderNode>()) { in Update()
1674 if (IsInstanceOf<RSSurfaceRenderNode>()) { in UpdateDirtyRegion()
1953 if (!IsInstanceOf<RSEffectRenderNod in CheckBlurFilterCacheNeedForceClearOrSave()
[all...]
/foundation/graphic/graphic_3d/kits/js/include/
H A DBaseObjectJS.h214 bool IsInstanceOf(const NapiApi::Object& obj, const BASE_NS::string_view jsName);
/foundation/communication/netstack/utils/napi_utils/include/
H A Dnapi_utils.h43 bool IsInstanceOf(napi_env env, napi_value object, const std::string &name);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_render_node.h214 bool IsInstanceOf() const in IsInstanceOf() function in OHOS::Rosen::RSRenderNode
227 return (IsInstanceOf<T>()) ? std::static_pointer_cast<T>(shared_from_this()) : nullptr; in ReinterpretCastTo()
232 return (IsInstanceOf<T>()) ? std::static_pointer_cast<const T>(shared_from_this()) : nullptr; in ReinterpretCastTo()
/foundation/communication/ipc/ipc/native/src/jni/source/
H A Dohos_rpc_remote_object.cpp445 if (env->IsInstanceOf(object, g_jRemoteStub.klass)) { in Java_ohos_rpc_getNativeRemoteObject()
451 if (env->IsInstanceOf(object, g_jRemoteProxy.klass)) { in Java_ohos_rpc_getNativeRemoteObject()
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/memory/
H A Drs_memory_manager.cpp323 if (parent->IsInstanceOf<RSSurfaceRenderNode>()) { in FindGeoById()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_property_drawable_background_test.cpp362 ASSERT_TRUE(nodeTwo.IsInstanceOf<RSEffectRenderNode>()); in HWTEST_F()

Completed in 45 milliseconds

12