Lines Matching full:subnode
87 node_path: Full path to node, e.g. '/subnode@1/subsubnode'
105 node_path: Full path to node, e.g. '/subnode@1/subsubnode'
108 List of subnode names for that node, e.g. ['subsubnode', 'ss1']
130 """check that we can locate a subnode by name"""
131 node1 = self.fdt.path_offset('/subnode@1')
132 self.assertEqual(self.fdt.subnode_offset(0, 'subnode@1'), node1)
138 node2 = self.fdt.path_offset('/subnode@1/subsubnode')
144 self.assertTrue(self.fdt.path_offset('/subnode@1') > 0)
178 node = self.fdt.path_offset('/subnode@1/ss1')
188 node = self.fdt.path_offset('/subnode@1/subsubnode')
222 node = self.fdt.path_offset('/subnode@1/subsubnode')
241 [1, 'subnode@1'],
244 [1, 'subnode@2'],
256 self.assertEqual(node_list, ['subnode@1', 'subnode@2'])
259 """Check except handling for first/next subnode functions"""
260 node = self.fdt.path_offset('/subnode@1/subsubnode', QUIET_NOTFOUND)
267 node = self.fdt.path_offset('/subnode@1/ss1', QUIET_NOTFOUND)
276 node_name = '/subnode@1'
300 node = self.fdt.path_offset('/subnode@2', QUIET_NOTFOUND)
336 node2 = self.fdt.path_offset('/subnode@2')
342 node2 = self.fdt.path_offset('/subnode@2')
347 self.assertEqual("/subnode@1", self.fdt3.get_alias('s1'))
348 self.assertEqual("/subnode@1/subsubnode", self.fdt3.get_alias('ss1'))
349 self.assertEqual("/subnode@1/subsubnode/subsubsubnode", self.fdt3.get_alias('sss1'))
359 node1 = self.fdt.path_offset('/subnode@2')
361 node2 = self.fdt.path_offset('/subnode@2/subsubnode@0')
368 node1 = self.fdt.path_offset('/subnode@2')
370 node2 = self.fdt.path_offset('/subnode@2/subsubnode@0')
410 node = self.fdt.path_offset('/subnode@1')
454 node2 = self.fdt.path_offset('/subnode@1/subsubnode')
468 node = self.fdt.path_offset('/subnode@1')
483 node_name = '/subnode@1'
521 sw.begin_node('subnode@1')
535 with sw.add_node('subnode@%d' % i):
559 node = sw.path_offset('/subnode@1')
583 node = self.fdt.path_offset('/subnode@1')