Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 1215) sorted by relevance

12345678910>>...49

/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/parallel_render/
Drs_parallel_pack_visitor.cpp36 void RSParallelPackVisitor::PrepareChildren(RSRenderNode &node) in PrepareChildren() argument
38 node.ApplyChildrenModifiers(); in PrepareChildren()
39 for (auto& child : node.GetSortedChildren()) { in PrepareChildren()
44 void RSParallelPackVisitor::PrepareDisplayRenderNode(RSDisplayRenderNode &node) in PrepareDisplayRenderNode() argument
47 PrepareChildren(node); in PrepareDisplayRenderNode()
50 void RSParallelPackVisitor::PrepareSurfaceRenderNode(RSSurfaceRenderNode &node) in PrepareSurfaceRenderNode() argument
53 RSParallelRenderManager::Instance()->PackRenderTask(node, TaskType::PREPARE_TASK); in PrepareSurfaceRenderNode()
56 RSParallelRenderManager::Instance()->WorkSerialTask(node); in PrepareSurfaceRenderNode()
60 void RSParallelPackVisitor::ProcessChildren(RSRenderNode &node) in ProcessChildren() argument
62 for (auto &child : node.GetSortedChildren()) { in ProcessChildren()
[all …]
Drs_node_cost_manager.cpp42 void RSNodeCostManager::CalcNodeCost(RSSurfaceRenderNode& node) in CalcNodeCost() argument
45 CalcSurfaceRenderNodeCost(node); in CalcNodeCost()
48 bool RSNodeCostManager::IsSkipProcessing(RSSurfaceRenderNode& node) const in IsSkipProcessing()
50 if (isSecurityDisplay_ && node.GetSecurityLayer()) { in IsSkipProcessing()
53 if (!node.ShouldPaint()) { in IsSkipProcessing()
56 if (!node.GetOcclusionVisible() && !doAnimate_ && isOcclusionEnabled_ && !isSecurityDisplay_) { in IsSkipProcessing()
59 if (node.IsAbilityComponent() && node.GetDstRect().IsEmpty()) { in IsSkipProcessing()
64 if (isOpDropped_ && node.IsAppWindow()) { in IsSkipProcessing()
65 if (!node.SubNodeNeedDraw(node.GetOldDirtyInSurface(), partialRenderType_)) { in IsSkipProcessing()
73 void RSNodeCostManager::CalcBaseRenderNodeCost(RSBaseRenderNode& node) in CalcBaseRenderNodeCost() argument
[all …]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
Drs_node_animate_supplement_test.cpp69 auto node = std::make_shared<RSNodeMock>(false); variable
70 EXPECT_TRUE(node != nullptr);
90 auto node = std::make_shared<RSNodeMock>(false); variable
91 EXPECT_TRUE(node != nullptr);
114 auto node = std::make_shared<RSNodeMock>(false); variable
115 EXPECT_TRUE(node != nullptr);
116 node->AddAnimation(nullptr);
121 node->AddAnimation(curveAnimation);
122 node->AddAnimation(curveAnimation);
127 node->AddAnimation(curveAnimation2);
[all …]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
Drs_modifier_test.cpp84 auto node = RSCanvasNode::Create(); variable
86 node->AddModifier(modifier);
87 node->AddModifier(modifier);
88 ASSERT_TRUE(node != nullptr);
101 auto node = RSCanvasNode::Create(); variable
102 node->AddModifier(modifier);
103 ASSERT_TRUE(node != nullptr);
104 ASSERT_EQ(node->GetStagingProperties().GetAlpha(), floatData[0]);
107 ASSERT_EQ(node->GetStagingProperties().GetAlpha(), floatData[1]);
109 node->RemoveModifier(modifier);
[all …]
/foundation/communication/dsoftbus/core/bus_center/utils/src/
Dlnn_map.c54 static void MapAddNode(Map *map, MapNode *node) in MapAddNode() argument
56 uint32_t idx = MapHashIdx(map, node->hash); in MapAddNode()
57 node->next = map->nodes[idx]; in MapAddNode()
58 map->nodes[idx] = node; in MapAddNode()
78 MapNode *node = NULL; in MapResize() local
83 node = tmp[i]; in MapResize()
84 while (node != NULL) { in MapResize()
85 next = node->next; in MapResize()
86 MapAddNode(map, node); in MapResize()
87 node = next; in MapResize()
[all …]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
Drs_render_service_listener.cpp33 auto node = surfaceRenderNode_.lock(); in OnBufferAvailable() local
34 if (node == nullptr) { in OnBufferAvailable()
38 RS_LOGD("RsDebug RSRenderServiceListener::OnBufferAvailable node id:%" PRIu64, node->GetId()); in OnBufferAvailable()
39 node->IncreaseAvailableBuffer(); in OnBufferAvailable()
40 if (!node->IsNotifyUIBufferAvailable()) { in OnBufferAvailable()
43 node->GetId()); in OnBufferAvailable()
44 node->NotifyUIBufferAvailable(); in OnBufferAvailable()
51 auto node = surfaceRenderNode_.lock(); in OnTunnelHandleChange() local
52 if (node == nullptr) { in OnTunnelHandleChange()
56 node->SetTunnelHandleChange(true); in OnTunnelHandleChange()
[all …]
Drs_render_service_visitor.cpp50 void RSRenderServiceVisitor::PrepareChildren(RSRenderNode& node) in PrepareChildren() argument
52 node.ApplyChildrenModifiers(); in PrepareChildren()
53 for (auto& child : node.GetSortedChildren()) { in PrepareChildren()
58 void RSRenderServiceVisitor::ProcessChildren(RSRenderNode& node) in ProcessChildren() argument
60 for (auto& child : node.GetSortedChildren()) { in ProcessChildren()
65 void RSRenderServiceVisitor::PrepareDisplayRenderNode(RSDisplayRenderNode& node) in PrepareDisplayRenderNode() argument
72 offsetX_ = node.GetDisplayOffsetX(); in PrepareDisplayRenderNode()
73 offsetY_ = node.GetDisplayOffsetY(); in PrepareDisplayRenderNode()
74 ScreenInfo curScreenInfo = screenManager->QueryScreenInfo(node.GetScreenId()); in PrepareDisplayRenderNode()
78 node.SetCompositeType(RSDisplayRenderNode::CompositeType::SOFTWARE_COMPOSITE); in PrepareDisplayRenderNode()
[all …]
Drs_uni_render_visitor.cpp90 bool IsFirstFrameReadyToDraw(RSSurfaceRenderNode& node) in IsFirstFrameReadyToDraw() argument
93 for (auto& child : node.GetSortedChildren()) { in IsFirstFrameReadyToDraw()
213 void RSUniRenderVisitor::PrepareChildren(RSRenderNode& node) in PrepareChildren() argument
215 node.ApplyChildrenModifiers(); in PrepareChildren()
216 const auto& children = node.GetSortedChildren(); in PrepareChildren()
221 if (curSurfaceDirtyManager_ && node.HasRemovedChild()) { in PrepareChildren()
222 RectI dirtyRect = prepareClipRect_.IntersectRect(node.GetChildrenRect()); in PrepareChildren()
227 … curSurfaceDirtyManager_->UpdateDirtyRegionInfoForDfx(node.GetId(), RSRenderNodeType::CANVAS_NODE, in PrepareChildren()
233 node.ResetHasRemovedChild(); in PrepareChildren()
238 logicParentNode_ = node.weak_from_this(); in PrepareChildren()
[all …]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
Drs_base_render_node_test.cpp50 auto node = std::make_shared<RSBaseRenderNode>(id, context); variable
54 node->SetIsOnTheTree(true);
55 node->AddChild(node, index);
56 ASSERT_EQ(node->GetChildrenCount(), 0);
58 node->AddChild(childone, index);
59 ASSERT_EQ(node->GetChildrenCount(), 1);
63 node->AddChild(childtwo, index);
64 ASSERT_EQ(node->GetChildrenCount(), 2);
67 node->AddChild(childtwo, index);
68 ASSERT_EQ(node->GetChildrenCount(), 2);
[all …]
/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/
DFieldNodeJsTest.js28 let node = new ddm.FieldNode("root");
32 node.appendChild(child1);
33 node.appendChild(child2);
34 node.appendChild(child3);
38 node = null;
54 let node = new ddm.FieldNode("root");
56 node.appendChild(child);
58 node = null;
74 let node = new ddm.FieldNode("root");
76 node.appendChild(child);
[all …]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/driven_render/
Drs_driven_render_visitor.cpp38 void RSDrivenRenderVisitor::PrepareChildren(RSRenderNode& node) in PrepareChildren() argument
40 node.ApplyChildrenModifiers(); in PrepareChildren()
41 for (auto& child : node.GetSortedChildren()) { in PrepareChildren()
46 void RSDrivenRenderVisitor::PrepareCanvasRenderNode(RSCanvasRenderNode& node) in PrepareCanvasRenderNode() argument
48 auto rsParent = (node.GetParent().lock()); in PrepareCanvasRenderNode()
50 auto paintItem = node.GetRenderProperties().GetFrame(); in PrepareCanvasRenderNode()
51 int32_t itemIndex = node.GetItemIndex(); in PrepareCanvasRenderNode()
55 PrepareChildren(node); in PrepareCanvasRenderNode()
58 void RSDrivenRenderVisitor::PrepareDrivenSurfaceRenderNode(RSDrivenSurfaceRenderNode& node) in PrepareDrivenSurfaceRenderNode() argument
60 if (node.IsInvalidSurface()) { in PrepareDrivenSurfaceRenderNode()
[all …]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
Dschema_meta.cpp18 bool SchemaMeta::Marshal(Serializable::json &node) const in Marshal()
20 SetValue(node[GET_NAME(version)], version); in Marshal()
21 SetValue(node[GET_NAME(bundleName)], bundleName); in Marshal()
22 SetValue(node[GET_NAME(databases)], databases); in Marshal()
26 bool SchemaMeta::Unmarshal(const Serializable::json &node) in Unmarshal() argument
28 GetValue(node, GET_NAME(version), version); in Unmarshal()
29 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal()
30 GetValue(node, GET_NAME(databases), databases); in Unmarshal()
44 bool Database::Marshal(Serializable::json &node) const in Marshal()
46 SetValue(node[GET_NAME(name)], name); in Marshal()
[all …]
/foundation/window/window_manager/wmserver/src/
Dwindow_node_container.cpp129 WMError WindowNodeContainer::AddWindowNodeOnWindowTree(sptr<WindowNode>& node, const sptr<WindowNod… in AddWindowNodeOnWindowTree() argument
131 sptr<WindowNode> root = FindRoot(node->GetWindowType()); in AddWindowNodeOnWindowTree()
132 if (root == nullptr && !(WindowHelper::IsSystemSubWindow(node->GetWindowType()) && in AddWindowNodeOnWindowTree()
137 node->requestedVisibility_ = true; in AddWindowNodeOnWindowTree()
139 if (WindowHelper::IsSystemSubWindow(node->GetWindowType()) || in AddWindowNodeOnWindowTree()
140 node->GetWindowType() == WindowType::WINDOW_TYPE_APP_COMPONENT) { in AddWindowNodeOnWindowTree()
158 node->currentVisibility_ = parentNode->currentVisibility_; in AddWindowNodeOnWindowTree()
159 node->parent_ = parentNode; in AddWindowNodeOnWindowTree()
161 node->parent_ = root; in AddWindowNodeOnWindowTree()
162 node->currentVisibility_ = true; in AddWindowNodeOnWindowTree()
[all …]
/foundation/communication/bluetooth_service/services/bluetooth/stack/platform/src/
Dlist.c22 DL_LIST node; member
40 return DL_LIST_ENTRY(list->dlList.pstNext, ListNode, node); in ListGetFirstNodeInt()
53 NO_SANITIZE("cfi") static ListNode *ListFreeNode(List *list, ListNode *node) in ListFreeNode() argument
56 ASSERT(node); in ListFreeNode()
57 ListNode *next = ListGetNextNode(node); in ListFreeNode()
58 DL_ListDelete(&node->node); in ListFreeNode()
60 list->cb(node->data); in ListFreeNode()
62 free(node); in ListFreeNode()
72 for (ListNode *node = ListGetFirstNode(list); node;) { in ListClear() local
73 node = ListFreeNode(list, node); in ListClear()
[all …]
/foundation/distributeddatamgr/pasteboard/services/load/src/
Dconfig.cpp18 bool Config::Component::Marshal(Serializable::json &node) const in Marshal()
20 SetValue(node[GET_NAME(description)], description); in Marshal()
21 SetValue(node[GET_NAME(lib)], lib); in Marshal()
22 SetValue(node[GET_NAME(constructor)], constructor); in Marshal()
23 SetValue(node[GET_NAME(destructor)], destructor); in Marshal()
24 SetValue(node[GET_NAME(params)], params); in Marshal()
28 bool Config::Component::Unmarshal(const Serializable::json &node) in Unmarshal() argument
30 GetValue(node, GET_NAME(description), description); in Unmarshal()
31 GetValue(node, GET_NAME(lib), lib); in Unmarshal()
32 GetValue(node, GET_NAME(constructor), constructor); in Unmarshal()
[all …]
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
Dsys_event.c31 void CloseNodePipe(const EventNode *node) in CloseNodePipe() argument
33 CloseDesc(node->pipeFd[PIPE_OUT]); in CloseNodePipe()
34 CloseDesc(node->pipeFd[PIPE_IN]); in CloseNodePipe()
42 EventNode *node = container_of(task, EventNode, task); in EventProcessHandle() local
45 ret = (int32_t)recvfrom(node->pipeFd[PIPE_OUT], &event, sizeof(event), 0, NULL, NULL); in EventProcessHandle()
47 ret = (int32_t)read(node->pipeFd[PIPE_OUT], &event, sizeof(event)); in EventProcessHandle()
62 EventNode *node = NULL; in PostEvent() local
72 node = SearchEventNode(eventNodeChain, epollfd); in PostEvent()
73 if (node == NULL) { in PostEvent()
78 ret = (int32_t)sendto(node->pipeFd[PIPE_IN], &event, sizeof(event), 0, NULL, 0); in PostEvent()
[all …]
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
Dsys_event.c31 void CloseNodePipe(const EventNode *node) in CloseNodePipe() argument
33 CloseDesc(node->pipeFd[PIPE_OUT]); in CloseNodePipe()
34 CloseDesc(node->pipeFd[PIPE_IN]); in CloseNodePipe()
42 EventNode *node = container_of(task, EventNode, task); in EventProcessHandle() local
44 ret = (int32_t)read(node->pipeFd[PIPE_OUT], &event, sizeof(event)); in EventProcessHandle()
58 EventNode *node = NULL; in PostEvent() local
68 node = SearchEventNode(eventNodeChain, epollfd); in PostEvent()
69 if (node == NULL) { in PostEvent()
74 ret = (int32_t)write(node->pipeFd[PIPE_IN], &event, sizeof(event)); in PostEvent()
84 EventNode *node = NULL; in ClearEvent() local
[all …]
/foundation/bundlemanager/bundle_framework_lite/utils/bundle_lite/
Dutils_list.h58 auto node = new Node<T>(value); in PushFront() local
59 if (node == nullptr) { in PushFront()
63 node->prev_ = head_; in PushFront()
64 node->next_ = head_->next_; in PushFront()
65 head_->next_->prev_ = node; in PushFront()
66 head_->next_ = node; in PushFront()
76 Node<T> *node = head_->next_; in PopFront() local
77 node->next_->prev_ = head_; in PopFront()
78 head_->next_ = node->next_; in PopFront()
79 delete node; in PopFront() local
[all …]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
Djs_command.cpp54 const RefPtr<DOMDocument>& domDocument, const RefPtr<DOMNode>& node) in TrySaveTargetAndIdNode() argument
57 domDocument->AddNodeWithId(id, node); in TrySaveTargetAndIdNode()
60 domDocument->AddNodeWithTarget(target, node); in TrySaveTargetAndIdNode()
80 void JsCommandDomElementOperator::UpdateForChart(const RefPtr<DOMNode>& node) const in UpdateForChart()
83 auto chart = AceType::DynamicCast<DOMChart>(node); in UpdateForChart()
98 void JsCommandDomElementOperator::UpdateForImageAnimator(const RefPtr<DOMNode>& node) const in UpdateForImageAnimator()
101 auto imageAnimator = AceType::DynamicCast<DOMImageAnimator>(node); in UpdateForImageAnimator()
108 void JsCommandDomElementOperator::UpdateForClock(const RefPtr<DOMNode>& node) const in UpdateForClock()
111 auto domClock = AceType::DynamicCast<DOMClock>(node); in UpdateForClock()
118 void JsCommandDomElementOperator::UpdateForBadge(const RefPtr<DOMNode>& node) const in UpdateForBadge()
[all …]
/foundation/resourceschedule/ffrt/src/util/
Dlinked_list.h40 static T* ContainerOf(LinkedList* node, LinkedList T::*member) noexcept in ContainerOf() argument
42 return reinterpret_cast<T*>(reinterpret_cast<intptr_t>(node) - OffsetOf<T>(member)); in ContainerOf()
51 static void InsertAfter(LinkedList* cur, LinkedList* node) noexcept in InsertAfter() argument
53 node->next = cur->next; in InsertAfter()
54 node->prev = cur; in InsertAfter()
55 cur->next->prev = node; in InsertAfter()
56 cur->next = node; in InsertAfter()
59 static void InsertBefore(LinkedList* cur, LinkedList* node) noexcept in InsertBefore() argument
61 node->next = cur; in InsertBefore()
62 node->prev = cur->prev; in InsertBefore()
[all …]
/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/
DFieldNodeJsTest.js28 let node = new ddm.FieldNode();
45 let node = new ddm.FieldNode("root");
47 node.appendChild(child);
50 node = null;
66 let node = new ddm.FieldNode("root");
67 node.appendChild(null);
84 let node = new ddm.FieldNode("first");
85 node.default = 'first name';
86 console.info('defaultValue = ' + node.default);
87 expect(node.default === 'first name').assertTrue()
[all …]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/
Dglobal_config.cpp19 bool GlobalConfig::Marshal(json &node) const in Marshal()
21 SetValue(node[GET_NAME(processLabel)], processLabel); in Marshal()
22 SetValue(node[GET_NAME(metaData)], metaData); in Marshal()
23 SetValue(node[GET_NAME(version)], version); in Marshal()
24 SetValue(node[GET_NAME(features)], features); in Marshal()
25 SetValue(node[GET_NAME(components)], components); in Marshal()
26 SetValue(node[GET_NAME(bundleChecker)], bundleChecker); in Marshal()
27 SetValue(node[GET_NAME(networks)], networks); in Marshal()
28 SetValue(node[GET_NAME(directory)], directory); in Marshal()
29 SetValue(node[GET_NAME(backup)], backup); in Marshal()
[all …]
Dchecker_config.cpp19 bool CheckerConfig::Trust::Marshal(json &node) const in Marshal()
21 SetValue(node[GET_NAME(bundleName)], bundleName); in Marshal()
22 SetValue(node[GET_NAME(appId)], appId); in Marshal()
23 SetValue(node[GET_NAME(packageName)], packageName); in Marshal()
24 SetValue(node[GET_NAME(base64Key)], base64Key); in Marshal()
25 SetValue(node[GET_NAME(checker)], checker); in Marshal()
29 bool CheckerConfig::Trust::Unmarshal(const json &node) in Unmarshal() argument
31 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal()
32 GetValue(node, GET_NAME(appId), appId); in Unmarshal()
33 GetValue(node, GET_NAME(packageName), packageName); in Unmarshal()
[all …]
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
Dlazy_load_manager.cpp35 ListNode<LazyLoadWatcher *> *node = lazyWatchersList_.Begin(); in ResetWatchers() local
36 while (node != lazyWatchersList_.End()) { in ResetWatchers()
37 if (node->data_ != nullptr) { in ResetWatchers()
38 delete node->data_; in ResetWatchers()
39 node->data_ = nullptr; in ResetWatchers()
41 node = node->next_; in ResetWatchers()
49 ListNode<LazyLoadWatcher *> *node = lazyWatchersList_.Begin(); in RenderLazyLoadWatcher() local
50 while (node != lazyWatchersList_.End()) { in RenderLazyLoadWatcher()
51 if (node->data_ != nullptr) { in RenderLazyLoadWatcher()
53 RenderSingleLazyWatcher(*(node->data_)); in RenderLazyLoadWatcher()
[all …]
/foundation/communication/dsoftbus/core/connection/common/src/
Dsoftbus_base_listener.c47 ListNode node; member
83 static int32_t ShutdownBaseListener(SoftbusListenerNode *node);
100 SoftbusListenerNode *node = g_listenerList[module]; in GetListenerNode() local
102 if (node == NULL) { in GetListenerNode()
105 status = SoftBusMutexLock(&node->lock); in GetListenerNode()
110 node = NULL; in GetListenerNode()
113 node->objectRc += 1; in GetListenerNode()
114 SoftBusMutexUnlock(&node->lock); in GetListenerNode()
117 return node; in GetListenerNode()
120 static void RemoveListenerNode(SoftbusListenerNode *node) in RemoveListenerNode() argument
[all …]

12345678910>>...49