/scripts/build/ |
A D | gen_app_partitions.py | 248 tokens = [fr"{key}\;{value}" for key, value in props.items()] 503 generic_partitions = {key: value for key, value in partitions.items() 504 if key not in pin_part_names} 505 pinned_partitions = {key: value for key, value in partitions.items() 506 if key in pin_part_names} 514 key=lambda x: (x[1][SZ], x[0]), reverse=True) 522 for key in partsorted: 523 print(" {0}: size {1}: {2}".format(key, 524 partsorted[key][SZ], 536 for key in partsorted: [all …]
|
A D | gen_device_deps.py | 155 "depends": sorted(dev.devs_depends_on, key=lambda d: d.handle), 156 "injected": sorted(dev.devs_depends_on_injected, key=lambda d: d.handle), 157 "supports": sorted(dev.devs_supports, key=lambda d: d.handle),
|
/scripts/ci/ |
A D | twister_report_analyzer.py | 81 def add_counter(self, key: str, test: str = '') -> None: 82 self.counters[key] = self.counters.get(key, TestCollection()) 83 self.counters[key].append(test) 86 for key, value in self.counters.items(): 100 for key, value in self.counters.items(): 112 for key, value in self.counters.items(): 116 yield key, value 274 if key := self._parse_log_with_error_paterns(ts_log): 275 self.errors.add_counter(key, test_identifier) 280 self.errors.add_counter(key, test_identifier) [all …]
|
A D | pylintrc | 150 unhashable-dict-key, 159 missing-format-string-key, 195 duplicate-key, 225 bad-format-string-key, 226 unused-format-string-key,
|
A D | upload_test_results_es.py | 94 for key,val in value.items(): 95 if names_dict and key in names_dict: 98 name_k = name_prefix + str(key).replace(name_sep, escape_sep + name_sep) 99 flat_item = flatten(name_k, val, name_sep, names_dict, key, escape_sep)
|
A D | check_maintainer_changes.py | 22 def set_or_empty(d, key): argument 23 return set(d.get(key, []) or [])
|
A D | tags.yaml | 24 # Can be combined with a 'files' key. 37 # All tags must have a 'files' and/or 'files-regex' key.
|
/scripts/dts/python-devicetree/tests/test-bindings-include/ |
A D | include-invalid-keys.yaml | 9 bad-key-1: 3 10 bad-key-2: 3
|
A D | include-no-name.yaml | 4 Invalid include element: no name key is present.
|
/scripts/dts/python-devicetree/src/devicetree/ |
A D | grutils.py | 83 roots = sorted(self.roots(), key=node_key) 111 for target in sorted(self.__edge_map[source], key=node_key): 143 return sorted(self.__edge_map[node], key=node_key) 147 return sorted(self.__reverse_map[node], key=node_key)
|
/scripts/pylib/power-twister-harness/ |
A D | conftest.py | 56 for key in required_keys: 57 if key not in measurements_dict:
|
/scripts/net/ |
A D | enumerate_http_status.py | 63 for key in sorted(parser.status_codes.keys()): 64 val = parser.status_codes[key]
|
/scripts/west_commands/ |
A D | boards.py | 86 for key in module_settings: 87 root = module.meta.get('build', {}).get('settings', {}).get(key) 89 module_settings[key].append(Path(module.project) / root)
|
/scripts/dts/ |
A D | gen_driver_kconfig_dts.py | 77 for key, node in root.value: 78 if key.value == "compatible" and isinstance(node, yaml.ScalarNode):
|
/scripts/west_commands/completion/ |
A D | west-completion.bash | 308 local key glob_pos 310 key="$prev" 313 key=${cur%=*} 316 key=${words[$cword - 2]} # key=value case 324 [[ ${words[$glob_pos]} == @($glob) ]] && echo "$key"
|
/scripts/ |
A D | list_shields.py | 64 return sorted(ret, key=shield_key) 106 return sorted(ret, key=shield_key)
|
A D | dump_bugs_pickle.py | 45 for bug in sorted(bugs, key=lambda bug: bug.number):
|
A D | get_maintainer.py | 437 for area in sorted(areas, key=operator.attrgetter("name")): 539 for key in area_dict: 540 if key not in ok_keys: 542 .format(key, area_name))
|
A D | set_assignees.py | 94 sorted_areas = sorted(areas, key=lambda x: 'Platform' in x.name, reverse=True) 108 area_counter = dict(sorted(area_counter.items(), key=lambda item: item[1], reverse=True)) 120 … _all_maintainers = dict(sorted(found_maintainers.items(), key=lambda item: item[1], reverse=True))
|
/scripts/west_commands/runners/ |
A D | rfp.py | 118 key = winreg.OpenKey(registry, r"SOFTWARE\Classes\rpjfile\shell\Open\command") 119 val = winreg.QueryValue(key, None)
|
/scripts/ruff/ |
A D | gen_lint_exclude.py | 40 for r in sorted(rs, key=lambda x: x.code):
|
/scripts/release/ |
A D | list_backports.py | 156 pulls = sorted(pulls, key=lambda x: x.number) 185 pulls = sorted(pulls, key=lambda x: x.number) 263 issues = sorted(issues, key=lambda x: x.number)
|
/scripts/west_commands/zspdx/ |
A D | writer.py | 133 bfs.sort(key = lambda x: x.relpath) 169 extDocs.sort(key = lambda x: x.cfg.docRefID)
|
/scripts/schemas/ |
A D | arch-schema.yml | 8 # The archs.yml file is a simple list of key value pairs containing architectures
|
/scripts/pylib/twister/twisterlib/ |
A D | testsuite.py | 400 key = value.name if isinstance(value, Enum) else value 401 self._status = TwisterStatus[key] 468 key = value.name if isinstance(value, Enum) else value 469 self._status = TwisterStatus[key]
|