Home
last modified time | relevance | path

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

12345678910>>...89

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
Darkoala_api.h1388 void (*setBackgroundColor)(ArkUINodeHandle node, ArkUI_Uint32 color);
1389 void (*resetBackgroundColor)(ArkUINodeHandle node);
1390 …void (*setWidth)(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit, ArkUI_CharPtr calcVa…
1391 void (*resetWidth)(ArkUINodeHandle node);
1392 …void (*setHeight)(ArkUINodeHandle node, ArkUI_Float32 value, ArkUI_Int32 unit, ArkUI_CharPtr calcV…
1393 void (*resetHeight)(ArkUINodeHandle node);
1395 … ArkUINodeHandle node, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length);
1396 void (*resetBorderRadius)(ArkUINodeHandle node);
1398 … ArkUINodeHandle node, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length);
1399 void (*resetBorderWidth)(ArkUINodeHandle node);
[all …]
/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/entry/src/ohosTest/js/test/
DFieldNodeJsunit.test.js28 let node = new ddm.FieldNode("root");
32 node.appendChild(child1);
33 node.appendChild(child2);
34 node.appendChild(child3);
38 node = null;
53 let node = new ddm.FieldNode("root");
55 node.appendChild(child);
57 node = null;
72 let node = new ddm.FieldNode("root");
74 node.appendChild(child);
[all …]
/test/xts/acts/distributeddatamgr/distributedKVStoretest/distributedKVStorejstest/hap/entry/src/ohosTest/js/test/
DFieldNodeJsTest.js29 let node = new ddm.FieldNode("root");
33 let res1 = node.appendChild(child1);
34 let res2 = node.appendChild(child2);
35 let res3 = node.appendChild(child3);
42 node = null;
59 let node = new ddm.FieldNode("root");
61 let res1 = node.appendChild(child);
64 node = null;
81 let node = new ddm.FieldNode("root");
83 node.appendChild(child);
[all …]
/test/xts/acts/distributeddatamgr/kvStoretest/kvStoreStagetest/src/main/ets/test/
DFieldNodeStage.test.ets28 let node = new ddm.FieldNode("root");
32 node.appendChild(child1);
33 node.appendChild(child2);
34 node.appendChild(child3);
38 node = null;
53 let node = new ddm.FieldNode("root");
55 node.appendChild(child);
57 node = null;
72 let node = new ddm.FieldNode("root");
74 node.appendChild(child);
[all …]
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DCommonTest.cpp87 Node node = {1, (char*)"node1", 1}; variable
88 Node *vectorSwap = (Node *)VECTOR_Swap(&nodeVector, (int16)0, &node);
91 int16 indexFind = VECTOR_Find(&nodeVector, &node);
94 int16 indexFindByKey = VECTOR_FindByKey(&nodeVector, &node);
109 Node node = {1, (char*)"node1", 1}; variable
110 int16 resultAdd = VECTOR_Add(&nodeVector, &node);
144 Node node[] = { variable
158 int16 resultAdd = VECTOR_Add(&nodeVector, &(node[i]));
173 int16 indexFind = VECTOR_Find(&nodeVector, &node[i]);
176 int16 indexFindByKey = VECTOR_FindByKey(&nodeVector, &node[i]);
[all …]
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Dcommon_func_test.c79 Node node = {1, "node1"}; variable
80 Node *vectorSwap = (Node *)VECTOR_Swap(&nodeVector, (int16)0, &node);
83 int16 indexFind = VECTOR_Find(&nodeVector, &node);
86 int16 indexFindByKey = VECTOR_FindByKey(&nodeVector, &node);
101 Node node = {1, "node1"}; variable
102 int16 resultAdd = VECTOR_Add(&nodeVector, &node);
135 Node node[] = { variable
149 int16 resultAdd = VECTOR_Add(&nodeVector, &(node[i]));
164 int16 indexFind = VECTOR_Find(&nodeVector, &node[i]);
167 int16 indexFindByKey = VECTOR_FindByKey(&nodeVector, &node[i]);
[all …]
/test/testfwk/xdevice/src/xdevice/_core/config/
Dconfig_manager.py162 for node in all_nodes:
164 if node.get('label') != filter_name:
166 for sub in node:
180 for node in self.config_content.findall(target_name):
181 if node.attrib["type"] != "com":
184 device = [node.attrib]
188 for sub in node:
199 for serial in node.findall("serial"):
211 for node in self.config_content.findall(target_name):
213 if node.attrib["type"] != "usb-hdc" and \
[all …]
/test/xts/acts/graphic/graphic3D/entry/src/ohosTest/ets/test/
DsceneNode.test.ets24 let node: Node | null = null;
35 …* @tc.desc : Used to obtain the node according to the path, and return empty if it cannot be …
47 node = scene?.root?.getNodeByPath('Scene/node_damagedHelmet_-6514') as Node;
48 expect(node != null).assertTrue();
60 * @tc.desc : Used to get node path
69 let path = node?.path;
71 console.info(msg + " Succeed in path = node?.path ");
74 console.info(msg + " Failed in path = node?.path " + JSON.stringify(err));
81 * @tc.desc : Used to get node Parent
90 let parentName = node?.parent?.name;
[all …]
/test/xts/device_attest_lite/services/core/utils/
Dattest_utils_memleak.c58 static void FreeMemNode(ListNode** node) in FreeMemNode() argument
60 if (node == NULL || *node == NULL) { in FreeMemNode()
63 ListNode* listNode = *node; in FreeMemNode()
79 *node = NULL; in FreeMemNode()
105 ListNode* node = (ListNode *)malloc(sizeof(ListNode)); in AddMemNode() local
106 if (node == NULL) { in AddMemNode()
109 node->data = data; in AddMemNode()
110 node->next = NULL; in AddMemNode()
114 list->head = node; in AddMemNode()
122 free(node); in AddMemNode()
[all …]
Dattest_utils_list.c53 ListNode* node = (ListNode *)ATTEST_MEM_MALLOC(sizeof(ListNode)); in AddListNode() local
54 if (node == NULL) { in AddListNode()
58 node->data = data; in AddListNode()
59 node->next = NULL; in AddListNode()
61 list->head = node; in AddListNode()
63 head->next = node; in AddListNode()
/test/xts/device_attest/services/core/utils/
Dattest_utils_memleak.c58 static void FreeMemNode(ListNode** node) in FreeMemNode() argument
60 if (node == NULL || *node == NULL) { in FreeMemNode()
63 ListNode* listNode = *node; in FreeMemNode()
79 *node = NULL; in FreeMemNode()
105 ListNode* node = (ListNode *)malloc(sizeof(ListNode)); in AddMemNode() local
106 if (node == NULL) { in AddMemNode()
109 node->data = data; in AddMemNode()
110 node->next = NULL; in AddMemNode()
114 list->head = node; in AddMemNode()
122 free(node); in AddMemNode()
[all …]
Dattest_utils_list.c53 ListNode* node = (ListNode *)ATTEST_MEM_MALLOC(sizeof(ListNode)); in AddListNode() local
54 if (node == NULL) { in AddListNode()
58 node->data = data; in AddListNode()
59 node->next = NULL; in AddListNode()
61 list->head = node; in AddListNode()
63 head->next = node; in AddListNode()
/test/testfwk/developer_test/src/core/config/
Dconfig_manager.py58 node = root.find(target_name)
61 for sub in node:
76 node = root.find(target_name)
77 for sub in node:
211 for node in root.findall("environment/device"):
212 if node.attrib["type"] != "usb-hdc":
214 for sub in node:
232 node = root.find(target_name)
233 if not node:
237 node = node.find(sub_target)
[all …]
/test/xts/acts/arkui/ace_ets_module_ui/ace_ets_module_XNode/ace_ets_module_XNode_api12/entry/src/main/ets/MainAbility/pages/FrameNode/
DgetAttrs.ets16 import { FrameNode, NodeController } from "@ohos.arkui.node"
78 console.log(TEST_TAG + " the rootNode does not have child node.")
227 @State node: FrameNode | null = null;
232 this.node = this.uiContext.getFrameNodeById("FrameNode_button")
247 if(this.uiContext && this.node){
248 this.getData = "" + JSON.stringify(this.node.getPositionToWindow())
254 if(this.uiContext && this.node){
255 this.getData = "" + JSON.stringify(this.node.getPositionToParent())
261 if(this.uiContext && this.node){
262 this.getData = "" + JSON.stringify(this.node.getMeasuredSize())
[all …]
DcreateNodeSearch.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
40 return this.node
44 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
54 @State node: FrameNode | null = null;
DcreateNodeBlank.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
40 return this.node
44 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
54 @State node: FrameNode | null = null;
DcreateNodeDivider.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
35 this.node.appendChild(col)
36 return this.node
40 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
50 @State node: FrameNode | null = null;
DcreateNodeImage.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
40 return this.node
44 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
54 @State node: FrameNode | null = null;
DcreateNodeLoad.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
40 return this.node
44 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
54 @State node: FrameNode | null = null;
DcreateNodeText.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
40 return this.node
44 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
57 @State node: FrameNode | null = null;
DcreateNodeStack.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
49 return this.node
53 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
66 @State node: FrameNode | null = null;
DcreateNodeList.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
49 return this.node
53 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
66 @State node: FrameNode | null = null;
DcreateNodeGrid.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
49 return this.node
53 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
66 @State node: FrameNode | null = null;
DcreateNodeFlex.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
49 return this.node
53 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
66 @State node: FrameNode | null = null;
DcreateNodeScroll.ets15 import { typeNode, NodeController, FrameNode, ComponentContent } from '@ohos.arkui.node';
29 public node: FrameNode | null = null;
31 this.node = new FrameNode(uiContext)
32 this.node.commonAttribute.width(300).height(300).backgroundColor(Color.Red)
39 this.node.appendChild(col)
49 return this.node
53 let inspectorInfo = this.node?.getFirstChild()?.getNodeType();
66 @State node: FrameNode | null = null;

12345678910>>...89