Lines Matching full:dict

73 from typing import (Any, Callable, Dict, Iterable, List, NoReturn,
118 A dict mapping property names to PropertySpec objects
122 A dict that maps specifier space names (like "gpio",
164 def __init__(self, path: Optional[str], fname2path: Dict[str, str],
196 self._fname2path: Dict[str, str] = fname2path
207 self.raw: dict = self._merge_includes(raw, self.path)
213 if not isinstance(raw["child-binding"], dict):
228 self.prop2specs: Dict[str, 'PropertySpec'] = {}
231 self.specifier2cells: Dict[str, List[str]] = {}
272 def _merge_includes(self, raw: dict, binding_path: Optional[str]) -> dict: argument
290 merged: Dict[str, Any] = {}
302 elif isinstance(elem, dict):
339 def _load_raw(self, fname: str) -> dict:
352 if not isinstance(contents, dict):
533 self._raw: Dict[str, Any] = self.binding.raw["properties"][name]
819 data: dict
949 A dict that maps property names to Property objects.
1026 self.props: Dict[str, Property] = {}
1087 def children(self) -> Dict[str, 'Node']:
1104 self._child2index: Dict[str, int] = {}
1330 raw: Dict[str, Any] = {
1335 pp: Dict[str, str] = {}
1832 ) -> Dict[str, int]:
1855 return dict(zip(cell_names, data_list))
1888 A dict that maps a node label to the node with that label.
1891 A dict that maps an ordinal to the node with that dependency ordinal.
1894 A dict that maps the properties defined on the devicetree's /chosen
1931 vendor_prefixes: Optional[Dict[str, str]] = None,
1963 A dict mapping vendor prefixes in compatible properties to their
1965 for which "manufacturer" is neither a key in the dict nor a specially
1981 self.compat2nodes: Dict[str, List[Node]] = defaultdict(list)
1982 self.compat2okay: Dict[str, List[Node]] = defaultdict(list)
1983 self.compat2notokay: Dict[str, List[Node]] = defaultdict(list)
1984 self.compat2vendor: Dict[str, str] = defaultdict(str)
1985 self.compat2model: Dict[str, str] = defaultdict(str)
1986 self.label2node: Dict[str, Node] = {}
1987 self.dep_ord2node: Dict[int, Node] = {}
1996 self._vendor_prefixes: Dict[str, str] = vendor_prefixes or {}
2000 self._compat2binding: Dict[Tuple[str, Optional[str]], Binding] = {}
2003 self._binding_fname2path: Dict[str, str] = {
2007 self._node2enode: Dict[dtlib_Node, Node] = {}
2039 def chosen_nodes(self) -> Dict[str, Node]:
2040 ret: Dict[str, Node] = {}
2086 vendor_prefixes=dict(self._vendor_prefixes),
2228 raw: Optional[dict], argument
2420 def load_vendor_prefixes_txt(vendor_prefixes: str) -> Dict[str, str]:
2421 """Load a vendor-prefixes.txt file and return a dict
2424 vnd2vendor: Dict[str, str] = {}
2480 child_filter: Optional[dict], argument
2501 next_child_filter: Optional[dict] = (
2518 def _filter_properties(raw: dict, argument
2521 child_filter: Optional[dict], argument
2540 def _filter_properties_helper(props: Optional[dict], argument
2575 def _merge_props(to_dict: dict, argument
2576 from_dict: dict, argument
2599 if (isinstance(to_dict.get(prop), dict)
2600 and isinstance(from_dict[prop], dict)):
2621 def _bad_overwrite(to_dict: dict, from_dict: dict, prop: str, argument
2657 options: dict, argument
3262 _DEFAULT_PROP_TYPES: Dict[str, str] = {
3279 ) -> Dict[str, Union[str, bool, List[str]]]:
3280 ret: Dict[str, Union[str, bool, List[str]]] = {
3299 _DEFAULT_PROP_SPECS: Dict[str, PropertySpec] = {