Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 55) sorted by relevance

123

/scripts/pylib/twister/
A Dexpr_parser.py247 parent = node.parent
248 if parent is None:
251 (parent.matching_compat == compat or compat in parent.compats):
259 parent = node.parent
262 return parent is not None and parent.status == 'okay' and \
263 (parent.matching_compat == compat or compat in parent.compats)
/scripts/west_commands/
A Dzephyr_ext_common.py19 THIS_ZEPHYR = Path(__file__).parent.parent.parent
A Dshields.py16 sys.path.append(os.fspath(Path(__file__).parent.parent))
A Dblobs.py15 sys.path.append(os.fspath(Path(__file__).parent.parent))
114 path.parent.mkdir(parents=True, exist_ok=True)
A Dboards.py15 sys.path.append(os.fspath(Path(__file__).parent.parent))
A Dpackages.py16 sys.path.append(os.fspath(Path(__file__).parent.parent))
A Dtwister_cmd.py15 os.environ["ZEPHYR_BASE"] = str(twister_path.parent)
/scripts/dts/python-devicetree/src/devicetree/
A Dedtlib.py1256 if not self.parent or not self.parent.parent:
1259 controller = self.parent.parent
1305 if not self.parent or "gpio-controller" not in self.parent.props:
1440 if not self.parent:
1457 if not self.parent:
2824 if not node.parent or "ranges" not in node.parent.props:
2910 node = node.parent
2982 "interrupt", child, parent, _raw_unit_addr(child, parent) + child_spec,
2986 return (parent, raw_spec[4*own_address_cells(parent):])
3273 assert node.parent
[all …]
A Ddtlib.py105 self.parent = parent
159 while cur.parent:
161 cur = cur.parent
195 if self.parent is None:
940 del node.parent.nodes[old_name]
942 node.parent = new_parent
1013 parent = node.parent
1014 if parent is not None:
1015 node_copy.parent = path2node_copy[parent.path]
1224 parent=node,
[all …]
A Dgrutils.py155 if node.parent:
156 parent_path = node.parent.path
/scripts/kconfig/
A Dguiconfig.py782 parent = node.parent
783 _tree.move(id(node), "" if parent is top else id(parent), "end")
1259 parent.grab_set()
1312 parent=dialog)
1366 parent=_root)
1390 parent=_root)
1422 parent=_root)
1998 cur = node.parent
2001 cur = cur.parent
2021 menu = node.parent
[all …]
A Dmenuconfig.py1203 parent = _parent_menu(_cur_menu)
1204 _shown = _shown_nodes(parent)
1206 _cur_menu = parent
1454 menu = menu.parent
1482 menu = node.parent
1484 menu = menu.parent
2801 while node.parent is not _kconf.top_node:
2802 node = node.parent
2971 parent = node.parent
2972 while not parent.is_menuconfig:
[all …]
/scripts/dts/python-devicetree/tests/
A Dtest.dts16 interrupt-parent-test {
25 interrupt-parent = <&{/interrupt-parent-test/controller}>;
102 interrupt-parent = <&{/interrupt-map-test/nexus}>;
114 interrupt-parent = <&{/interrupt-map-test/nexus-0}>;
119 interrupt-parent = <&{/interrupt-map-test/nexus-0}>;
128 interrupt-parent = <&{/interrupt-map-test/nexus-1}>;
133 interrupt-parent = <&{/interrupt-map-test/nexus-1}>;
181 ranges-zero-parent-cells {
295 parent {
322 parent {
[all …]
A Dtest_dtlib.py2398 assert root_copy.parent is None
2445 assert subnode_copy.parent is node_copy
2504 parent = dt.get_node('/parent')
2507 dt.move_node(parent, '/newpath')
2509 assert parent.path == '/newpath'
2511 assert child.parent is parent
2513 assert dt.get_node('parent-alias') is parent
2526 dt.move_node(parent, '/aliases')
2529 dt.move_node(parent, 'xyz')
2532 dt.move_node(parent, '/ invalid')
[all …]
/scripts/footprint/
A Dsize_report583 …def __init__(self, name, identifier, size=0, parent=None, children=None, address=None, section=Non…
587 self.parent = parent
617 node_no_paths = TreeNode('(no paths)', ":", parent=root)
641 parent = root
653 parent = item
654 parent._size += size
657 parent = item.parent
658 node = TreeNode(name=str(part), identifier=cur, size=size, parent=parent)
662 parent = node
663 node = TreeNode(name=str(part), identifier=cur, size=size, parent=parent)
[all …]
A Dfpdiff.py63 if not n.children or not n.parent:
/scripts/west_commands/zspdx/
A Dcmakefileapi.py53 self.parent = None
74 self.parent = None
251 self.parent = -1
A Dcmakefileapijson.py328 node.parent = node_dict.get("parent", -1)
351 cfgDir.parent = None
353 cfgDir.parent = cfg.directories[cfgDir.parentIndex]
372 cfgPrj.parent = None
374 cfgPrj.parent = cfg.projects[cfgPrj.parentIndex]
/scripts/dts/python-devicetree/tests/test-bindings/
A Dchild-binding-with-compat.yaml3 description: child-binding with separate compatible than the parent
/scripts/west_commands/fetchers/
A D__init__.py32 fetchers_dir = Path(__file__).parent.resolve()
/scripts/
A Dsnippets.py56 path = pathobj.parent / value
186 SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'snippet-schema.yml')
336 if not cmake_out.parent.exists():
337 cmake_out.parent.mkdir()
A Dlist_hardware.py21 SOC_SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'soc-schema.yml')
27 ARCH_SCHEMA_PATH = str(Path(__file__).parent / 'schemas' / 'arch-schema.yml')
128 return Systems(str(socs_file.parent), socs_yaml)
/scripts/dts/
A Dgen_defines.py84 if node.parent is not None:
91 node.parent.child_index(node))
124 if node.parent is not None:
465 yield node.parent
466 node = node.parent
470 " ".join(f"fn(DT_{parent.z_path_id})" for parent in
471 _visit_parent_node(node) if parent is not None))
557 …if not (node.parent and ("fixed-partitions" in node.parent.compats or "fixed-subpartitions" in nod…
/scripts/pylib/pytest-twister-harness/tests/
A Dconftest.py20 return Path(__file__).parent.joinpath('resources')
/scripts/pylib/twister/twisterlib/
A Drunner.py158 Node(f"Total test suites: {self.total}", parent=root)
162 parent=processed_suites
167 Node(f"Skipped test suites: {self.skipped}", parent=selected_suites)
168 Node(f"Passed test suites: {self.passed}", parent=selected_suites)
169 Node(f"Built only test suites: {self.notrun}", parent=selected_suites)
170 Node(f"Failed test suites: {self.failed}", parent=selected_suites)
171 Node(f"Errors in test suites: {self.error}", parent=selected_suites)
173 total_cases = Node(f"Total test cases: {self.cases}", parent=root)
174 Node(f"Filtered test cases: {self.filtered_cases}", parent=total_cases)
183 parent=selected_cases_node
[all …]

Completed in 56 milliseconds

123