/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/animation/ |
H A D | geometry_transition_test_ng.cpp | 65 node2->AddChild(node1); in SetUpTestSuite() 122 gt_->WillLayout(node2); 123 gt_->DidLayout(node2); 136 gt_->WillLayout(node2); 137 gt_->DidLayout(node2); 144 gt_->WillLayout(node2); 145 gt_->DidLayout(node2); 161 gt_->DidLayout(node2); 178 gt_->DidLayout(node2); 182 gt_->DidLayout(node2); [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | response_ctrl_test_ng.cpp | 121 auto node2 = FrameNode::CreateFrameNode( variable 141 shouldResponse = responseCtrl->ShouldResponse(WeakPtr<FrameNode>(node2)); 163 auto node2 = FrameNode::CreateFrameNode( variable 259 auto node2 = FrameNode::CreateFrameNode( variable 292 auto node2 = FrameNode::CreateFrameNode( variable 312 responseCtrl->TrySetFirstResponse(WeakPtr<FrameNode>(node2)); 336 auto node2 = FrameNode::CreateFrameNode( variable 359 responseCtrl->TrySetFirstResponse(WeakPtr<FrameNode>(node2)); 389 auto node2 = FrameNode::CreateFrameNode( variable 460 auto node2 = FrameNode::CreateFrameNode( variable [all …]
|
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_pair_test.cpp | 133 windowPair->secondary_ = node2; 154 windowPair->secondary_ = node2; 360 windowPair->secondary_ = node2; 390 windowPair->secondary_ = node2; 1044 windowPair->secondary_ = node2; 1076 windowPair->secondary_ = node2; 1106 windowPair->secondary_ = node2; 1129 windowPair->secondary_ = node2; 1140 windowPair->secondary_ = node2; 1145 windowPair->secondary_ = node2; [all …]
|
H A D | minimize_app_test.cpp | 65 sptr<WindowNode> node2 = new WindowNode(CreateWindowProperty(2)); variable 79 MinimizeApp::AddNeedMinimizeApp(node2, MinimizeReason::MINIMIZE_ALL); 90 ASSERT_EQ(true, MinimizeApp::IsNodeNeedMinimize(node2)); 181 sptr<WindowNode> node2 = new WindowNode(); variable 183 MinimizeApp::AddNeedMinimizeApp(node2, MinimizeReason::MINIMIZE_ALL); 200 sptr<WindowNode> node2 = new WindowNode(); variable 202 MinimizeApp::AddNeedMinimizeApp(node2, MinimizeReason::MINIMIZE_ALL);
|
H A D | window_node_container_test.cpp | 168 sptr<WindowNode> node2 = new WindowNode(property2, nullptr, nullptr); variable 169 node2->SetWindowProperty(property2); 171 ASSERT_EQ(WMError::WM_OK, container_->AddWindowNodeOnWindowTree(node2, nullptr)); 288 sptr<WindowNode> node2 = new WindowNode(property2, nullptr, nullptr); variable 289 node2->SetWindowProperty(property2); 295 container->appWindowNode_->children_.insert(container->appWindowNode_->children_.end(), node2); 302 node2->startingWindowShown_ = true; 581 sptr<WindowNode> node2 = new WindowNode(property2, nullptr, nullptr); variable 582 node2->SetWindowProperty(property2); 583 ASSERT_EQ(WMError::WM_OK, container->AddWindowNode(node2, parentNode));
|
H A D | window_layout_policy_test.cpp | 185 sptr<WindowNode> node2 = new WindowNode(property, nullptr, nullptr); variable 186 node2->SetWindowProperty(property); 187 …auto actRect2 = layoutPolicy_->CalcEntireWindowHotZone(node2, winRect, 10, 2.f, hotZoneScale); // … 874 sptr<WindowNode> node2 = CreateWindowNode(windowInfo_); variable 875 ASSERT_TRUE(node2 != nullptr); 876 static_cast<void>(layoutPolicy_->GetSystemSizeLimits(node2, displayRect, 1.0)); // ratio: 1.0 894 sptr<WindowNode> node2 = CreateWindowNode(windowInfo_); variable 895 ASSERT_TRUE(node2 != nullptr); 896 static_cast<void>(layoutPolicy_->GetSystemSizeLimits(node2, displayRect, 1.0)); // ratio: 1.0
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_dropframe_test.cpp | 37 static inline std::shared_ptr<RSBaseRenderNode> node2 = nullptr; member in OHOS::Rosen::RSDropframeTest 49 node2 = std::make_shared<RSBaseRenderNode>(nodeId2, context->weak_from_this()); in SetUpTestCase() 51 context->GetMutableNodeMap().RegisterRenderNode(node2); in SetUpTestCase() 57 context->GetMutableNodeMap().UnregisterRenderNode(node2->GetId()); in TearDownTestCase() 60 node2 = nullptr; in TearDownTestCase() 69 node2->ClearChildren(); in TearDown()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/pointer_render/ |
H A D | rs_pointer_render_manager_test.cpp | 86 auto node2 = std::make_shared<RSSurfaceRenderNode>(id); variable 87 node2->SetIsOnTheTree(true); 88 nodeMap.surfaceNodeMap_[2] = node2; 131 auto node2 = std::make_shared<RSSurfaceRenderNode>(id); variable 132 node2->SetIsOnTheTree(true); 133 nodeMap.surfaceNodeMap_[2] = node2;
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/util/ |
H A D | linked_list.rs | 245 let node2 = Entry::new(2); in ut_link_list_push_and_pop() localVariable 246 let node2 = node2.get_ptr(); in ut_link_list_push_and_pop() localVariable 250 list.push_front(node2); in ut_link_list_push_and_pop() 272 let node2 = Entry::new(2); in ut_link_list_remove() localVariable 273 let node2_ptr = node2.get_ptr(); in ut_link_list_remove() 283 assert_eq!(Some(node3_ptr), node2.node.prev); in ut_link_list_remove() 310 assert_eq!(Some(node1_ptr), node2.node.next); in ut_link_list_remove() 331 let node2 = Entry::new(2); in ut_link_list_for_each_mut() localVariable 332 let node2_ptr = node2.get_ptr(); in ut_link_list_for_each_mut()
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | NodeTools.js | 434 NodeTools.merge = function (node1, node2) { argument 435 if (node2 === null) { 438 if (node2.raw_ === undefined) { 439 node1.raw_ = node2; 441 node1.raw_ = node2.raw_; 444 if (node1.name_ !== node2.name_) { 447 node1.nodeType_ = node2.nodeType_; 448 …if (node2.nodeType_ === NodeType.INHERIT || node2.nodeType_ === NodeType.REFERENCE || node2.nodeTy… 449 node1.ref_ = node2.ref_; 455 for (let i in node2.value_) { [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/ |
H A D | rs_implicit_animation_param_test.cpp | 124 std::shared_ptr<RSCanvasNode> node2 = RSCanvasNode::Create(false, true); variable 129 node2->AddModifier(modifier2); 136 node2->AddAnimation(animation2); 137 animation2->Start(node2);
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | data_share_profile_config_test.cpp | 155 Serializable::json node2; variable 158 info.Marshal(node2); 159 EXPECT_EQ(node2["path"], "storeName/"); 160 profileInfo.Unmarshal(node2);
|
H A D | data_share_subscriber_managers_test.cpp | 107 PredicateTemplateNode node2("p2", "select name1 as name from TBL00"); variable 110 nodes.emplace_back(node2);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_main_thread_test.cpp | 988 ASSERT_NE(node2, nullptr); 989 node1->SetParent(node2); 1224 node2->name_ = "node2"; 1241 node2->AddChild(childNode1); 1242 node2->AddChild(childNode2); 1452 node1->AddChild(node2); 1854 node1->AddChild(node2); 2996 node1->AddChild(node2); 3019 node1->AddChild(node2); 3706 node1->AddChild(node2); [all …]
|
H A D | rs_uni_render_visitor_test.cpp | 1846 auto node2 = RSTestUtil::CreateSurfaceNode(); variable 1847 ASSERT_NE(node2, nullptr); 1851 node1->AddChild(node2); 2040 auto node2 = std::make_shared<RSRenderNode>(id2); variable 2041 nodeMap.renderNodeMap_[pid2][id2] = node2; 2183 auto node2 = std::make_shared<RSRenderNode>(id2); variable 2184 nodeMap.renderNodeMap_[pid2][id2] = node2; 2205 ASSERT_NE(node2->renderContent_, nullptr); 2240 auto node2 = std::make_shared<RSRenderNode>(id2); variable 2241 nodeMap.renderNodeMap_[pid2][id2] = node2; [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/common/dfx/hisysevent_adapter/unittest/ |
H A D | lnn_dfx_test.cpp | 90 AppDiscNode node2 = {0}; variable 91 node2.appDiscCnt = 2; 92 ret = memcpy_s(node2.appName, SOFTBUS_HISYSEVT_NAME_LEN, g_appName2, strlen(g_appName2)); 94 ret = SoftBusRecordDiscoveryResult(BUSINESS_DISCOVERY, &node2);
|
/ohos5.0/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_manager.c | 88 PathMountNode *node2 = (PathMountNode *)data; in PathMountNodeCompare() local 89 return (node1->sandboxNode.type == node2->sandboxNode.type) && in PathMountNodeCompare() 90 (strcmp(node1->source, node2->source) == 0) && in PathMountNodeCompare() 91 (strcmp(node1->target, node2->target) == 0) ? 0 : 1; in PathMountNodeCompare() 97 SymbolLinkNode *node2 = (SymbolLinkNode *)data; in SymbolLinkNodeCompare() local 98 return (node1->sandboxNode.type == node2->sandboxNode.type) && in SymbolLinkNodeCompare() 99 (strcmp(node1->target, node2->target) == 0) && in SymbolLinkNodeCompare() 100 (strcmp(node1->linkName, node2->linkName) == 0) ? 0 : 1; in SymbolLinkNodeCompare()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/ |
H A D | rs_node_animate_supplement_test.cpp | 423 auto node2 = weak.lock(); in __anoncbbe49820202() local 424 if (node2 == nullptr) { in __anoncbbe49820202() 427 node2->SetAlpha(0.2f); in __anoncbbe49820202() 434 auto node2 = weak.lock(); in __anoncbbe49820302() local 435 if (node2 == nullptr) { in __anoncbbe49820302() 438 node2->SetAlpha(0.3f); in __anoncbbe49820302()
|
/ohos5.0/base/startup/init/test/unittest/init/ |
H A D | group_unittest.cpp | 36 static int TestHashNodeCompare(const HashNode *node1, const HashNode *node2) in TestHashNodeCompare() argument 39 TestHashNode *testNode2 = HASHMAP_ENTRY(node2, TestHashNode, node); in TestHashNodeCompare() 126 TestHashNode *node2 = TestCreateHashNode(str2); variable 128 OH_HashMapAdd(handle, &node2->node);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_wrapper_build_test_ng.cpp | 165 …auto node2 = FrameNode::CreateFrameNode(OHOS::Ace::V2::FLEX_ETS_TAG, NODE_ID_1, AceType::MakeRefPt… variable 167 lazyEach->cachedItems_[INDEX + 1] = std::make_pair("test2", node2);
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
H A D | selinux_map.c | 30 static int GroupNodeNodeCompare(const HashNode *node1, const HashNode *node2) in GroupNodeNodeCompare() argument 33 ParamHashNode *groupNode2 = HASHMAP_ENTRY(node2, ParamHashNode, hashNode); in GroupNodeNodeCompare()
|
/ohos5.0/base/startup/init/services/loopevent/loop/ |
H A D | le_loop.c | 20 static int TaskNodeCompare(const HashNode *node1, const HashNode *node2) in TaskNodeCompare() argument 23 BaseTask *task2 = HASHMAP_ENTRY(node2, BaseTask, hashNode); in TaskNodeCompare()
|
/ohos5.0/foundation/distributeddatamgr/data_share/test/native/unittest/datashareproxy_test/ |
H A D | proxydatas_with_permission_test.cpp | 167 PredicateTemplateNode node2("p2", "select name1 as name from TBL00"); variable 170 nodes.emplace_back(node2); 185 PredicateTemplateNode node2("p2", "select name1 as name from TBL00"); variable 188 nodes.emplace_back(node2);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | list_element.cpp | 232 …edFocusNodesList_.sort([wp = WeakClaim(this)](RefPtr<FocusNode>& node1, RefPtr<FocusNode>& node2) { in UpdateFocusIndex() argument 235 return list->GetRealElementIndex(node1) < list->GetRealElementIndex(node2); in UpdateFocusIndex()
|
/ohos5.0/base/startup/init/interfaces/innerkits/include/ |
H A D | init_hashmap.h | 37 typedef int (*HashNodeCompare)(const HashNode *node1, const HashNode *node2);
|