Home
last modified time | relevance | path

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

123

/test/xts/acts/distributeddatamgr/kvStoretest/kvStorejstest/hap/src/main/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/src/main/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/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.py146 for node in all_nodes:
148 if node.get('label') != filter_name:
150 for sub in node:
164 for node in self.config_content.findall(target_name):
165 if node.attrib["type"] != "com":
168 device = [node.attrib]
172 for sub in node:
183 for serial in node.findall("serial"):
195 for node in self.config_content.findall(target_name):
197 if node.attrib["type"] != "usb-hdc" and \
[all …]
Dresource_manager.py42 node = self._find_node_by_target(filepath, targetname)
43 if node:
45 target_attrib_list.append(node.attrib)
47 env_node = node.find("environment")
56 pre_node = node.find("preparer")
63 clr_node = node.find("cleaner")
78 node = None
87 node = target
91 return node
/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/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/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:
219 for node in root.findall("environment/device"):
220 if node.attrib["type"] != "usb-hdc":
222 for sub in node:
240 node = root.find(target_name)
241 if not node:
245 node = node.find(sub_target)
[all …]
Dresource_manager.py59 node = self.find_node_by_target(filepath, targetname)
60 if node:
62 target_attrib_list.append(node.attrib)
64 env_node = node.find("environment")
73 pre_node = node.find("preparer")
80 clr_node = node.find("cleaner")
95 node = None
105 node = target
110 return node
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp197 static size_t GenerateNodeHash(AccessibilityElementInfo &node) in GenerateNodeHash() argument
201 int64_t intId = node.GetWindowId(); in GenerateNodeHash()
202 intId = (intId << SHIFT_BITS) + node.GetAccessibilityId(); in GenerateNodeHash()
203 const string strId = node.GetBundleName() + node.GetComponentType() + to_string(intId); in GenerateNodeHash()
220 …static void MarshalAccessibilityNodeAttributes(AccessibilityElementInfo &node, json &to, Rect wind… in MarshalAccessibilityNodeAttributes() argument
222 to[ATTR_NAMES[UiAttr::HASHCODE].data()] = to_string(GenerateNodeHash(node)); in MarshalAccessibilityNodeAttributes()
223 to[ATTR_NAMES[UiAttr::TEXT].data()] = node.GetContent(); in MarshalAccessibilityNodeAttributes()
224 to[ATTR_NAMES[UiAttr::ACCESSIBILITY_ID].data()] = to_string(node.GetAccessibilityId()); in MarshalAccessibilityNodeAttributes()
225 to[ATTR_NAMES[UiAttr::ID].data()] = node.GetInspectorKey(); in MarshalAccessibilityNodeAttributes()
226 to[ATTR_NAMES[UiAttr::KEY].data()] = node.GetInspectorKey(); in MarshalAccessibilityNodeAttributes()
[all …]
/test/xts/acts/arkcompiler/esmodule/esmodule_entry/
Dhvigorw42 # Determine node to start hvigor wrapper script
44 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
49 EXECUTABLE_NODE="node"
50 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
/test/xts/acts/barrierfree/accessibleregisterstate/
Dhvigorw43 # Determine node to start hvigor wrapper script
45 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
50 EXECUTABLE_NODE="node"
51 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
Dhvigorw.bat32 set NODE_EXE=node.exe
37 @rem Find node.exe
44 echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.
57 echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostestlib/
Dhvigorw42 # Determine node to start hvigor wrapper script
44 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
49 EXECUTABLE_NODE="node"
50 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
/test/xts/acts/barrierfree/accessiblesendevent/
Dhvigorw43 # Determine node to start hvigor wrapper script
45 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
50 EXECUTABLE_NODE="node"
51 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
/test/xts/acts/arkcompiler/esmodule/esmodule_ohostest/
Dhvigorw42 # Determine node to start hvigor wrapper script
44 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
49 EXECUTABLE_NODE="node"
50 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
/test/xts/acts/barrierfree/accessibleabilitylist/
Dhvigorw42 # Determine node to start hvigor wrapper script
44 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
49 EXECUTABLE_NODE="node"
50 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
Dhvigorw.bat32 set NODE_EXE=node.exe
37 @rem Find node.exe
44 echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.
57 echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.
/test/xts/acts/barrierfree/accessiblecaptionconfiguration/
Dhvigorw43 # Determine node to start hvigor wrapper script
45 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
50 EXECUTABLE_NODE="node"
51 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
/test/xts/acts/multimedia/media/media_js_standard/codec_ndk_test/
Dhvigorw42 # Determine node to start hvigor wrapper script
44 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
49 EXECUTABLE_NODE="node"
50 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
/test/xts/acts/barrierfree/accessiblecheckability/
Dhvigorw43 # Determine node to start hvigor wrapper script
45 EXECUTABLE_NODE="${NODE_HOME}/bin/node"
50 EXECUTABLE_NODE="node"
51 …which ${EXECUTABLE_NODE} > /dev/null 2>&1 || fail "ERROR: NODE_HOME is not set and not 'node' comm…
Dhvigorw.bat32 set NODE_EXE=node.exe
37 @rem Find node.exe
44 echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.
57 echo ERROR: NODE_HOME is not set and no 'node' command could be found in your PATH.

123