| /scripts/kconfig/ |
| A D | lint.py | 125 if not has_prompt(sym) and not is_selected_or_implied(sym) and \ 134 if not is_selecting_or_implying(sym) and not sym.choice and \ 173 syms = [sym for sym in kconf.unique_defined_syms 183 "|".join(sym.name for sym in batch) + r")\b" 269 def has_prompt(sym): argument 274 return sym.rev_dep is not kconf.n or sym.weak_rev_dep is not kconf.n 277 def has_defaults(sym): argument 278 return bool(sym.defaults) 282 return sym.selects or sym.implies 285 def name_and_locs(sym): argument [all …]
|
| A D | kconfiglib.py | 1014 sym.rev_dep = sym.weak_rev_dep = sym.direct_dep = self.n 1279 if not sym or not sym.nodes: 1342 if not sym or not sym.nodes: 1715 if sym.str_value == sym._str_default(): 2311 sym.rev_dep = sym.weak_rev_dep = sym.direct_dep = self.n 2331 sym.rev_dep = sym.weak_rev_dep = sym.direct_dep = self.n 3508 depend_on(sym, sym.rev_dep) 3509 depend_on(sym, sym.weak_rev_dep) 3522 depend_on(sym, sym.direct_dep) 3827 if sym.selects or sym.implies: [all …]
|
| A D | kconfig.py | 142 for sym in kconf.unique_defined_syms: 143 if sym.user_value is not None and promptless(sym): 147 symbols. """ + SYM_INFO_HINT.format(sym)) 156 if sym.choice: 159 user_value = sym.user_value 165 if sym.type in (BOOL, TRISTATE): 168 if user_value != sym.str_value: 173 mdeps = missing_deps(sym) 192 def missing_deps(sym): argument 211 if sym.type in (BOOL, TRISTATE): [all …]
|
| A D | guiconfig.py | 270 if sym.tri_value != sym.user_value: 273 elif sym.str_value != sym.user_value: 810 if sym.user_value is None and sym.type and not \ 811 (sym.choice and sym.choice.tri_value == 2): 826 sym = node.item 836 if sym: 1200 sym = node.item 1334 def _range_info(sym): argument 1961 key=lambda sym: sym.name): 2045 sym = node.item [all …]
|
| A D | menuconfig.py | 763 if sym.tri_value != sym.user_value: 766 elif sym.str_value != sym.user_value: 2220 key=lambda sym: sym.name): 2554 sym = node.item 2605 def _value_info(sym): argument 2612 else sym.str_value) 2999 if sym.user_value is None and sym.orig_type and \ 3000 not (sym.choice and sym.choice.tri_value == 2): 3008 if sym: 3084 def _check_valid(sym, s): argument [all …]
|
| /scripts/build/ |
| A D | elf_parser.py | 22 def __init__(self, elf, sym): argument 24 self.sym = sym 28 return self.sym.entry.st_value < other.sym.entry.st_value 43 def __init__(self, elf, sym): argument 59 def __init__(self, elf, sym): argument 176 symbols[sym.name] = sym.entry.st_value 229 def _on_pm(sym): argument 230 pm_structs[sym.entry.st_value] = DevicePM(self, sym) 235 def _on_ordinal(sym): argument 236 ordinal_arrays[sym.entry.st_value] = DeviceOrdinals(self, sym) [all …]
|
| A D | gen_offset_header.py | 42 for sym in get_symbol_table(obj).iter_symbols(): 43 if isinstance(sym.name, bytes): 44 sym.name = str(sym.name, 'ascii') 46 if not sym.name.endswith(('_OFFSET', '_SIZEOF')): 48 if sym.entry['st_shndx'] != 'SHN_ABS': 50 if sym.entry['st_info']['bind'] != 'STB_GLOBAL': 55 (sym.name, sym.entry['st_value']))
|
| A D | check_init_priorities.py | 120 for sym in section.iter_symbols(): 121 if (sym.name and 122 sym.entry.st_size > 0 and 124 self._objects[sym.entry.st_value] = ( 125 sym.name, sym.entry.st_size, sym.entry.st_shndx) 126 self._object_addr[sym.name] = sym.entry.st_value 136 for sym in section.iter_symbols(): 139 if sym.name == name: 140 self._init_level_addr[level] = sym.entry.st_value 141 elif sym.name == "__init_end": [all …]
|
| A D | llext_inject_slids.py | 60 for sym in symtab.iter_symbols(): 62 if sym.entry['st_info']['type'] == 'STT_NOTYPE' and \ 63 sym.entry['st_info']['bind'] == 'STB_GLOBAL' and \ 64 sym.entry['st_shndx'] == 'SHN_UNDEF': 67 imports.append((i, sym))
|
| A D | gen_device_deps.py | 78 return dev.edt_node and dev.edt_node.path or dev.sym.name 116 'extern {:s} {:s}[{:d}];'.format(ctype, dev.ordinals.sym.name, len(handles)), 118 '{:s}[] = {{ {:s} }};'.format(dev.ordinals.sym.name, ', '.join(handles)),
|
| A D | gen_isr_tables.py | 254 return {sym.name: sym.entry.st_value 255 for sym in section.iter_symbols()}
|
| A D | gen_kobject_list.py | 720 return {sym.name: sym.entry.st_value 721 for sym in section.iter_symbols()}
|
| /scripts/profiling/ |
| A D | stackcollapse.py | 30 for sym in symtab.iter_symbols(): 31 …if sym.entry.st_info.type == "STT_FUNC" and sym.entry.st_value <= addr < sym.entry.st_value + sym.… 32 return sym.name
|
| /scripts/footprint/ |
| A D | size_report | 54 def get_symbol_addr(sym): 56 return sym['st_value'] 59 def get_symbol_size(sym): 61 return sym['st_size'] 64 def is_symbol_in_ranges(sym, ranges): 120 for sym in symlist: 122 return sym 149 'symbol': sym, 569 for symbol in sym: 686 for symbol in sym: [all …]
|
| /scripts/logging/dictionary/ |
| A D | database_gen.py | 140 return {sym.name: sym.entry.st_value 141 for sym in section.iter_symbols() 142 if sym.name.startswith("CONFIG_")} 189 for sym in log_const_symbols: 190 if sym.entry['st_value'] < first_offset: 191 first_offset = sym.entry['st_value'] 196 for sym in log_const_symbols: 198 offset = sym.entry['st_value'] - log_const_area['start'] 209 if sym.entry['st_size'] == 0: 223 source_id = int((offset - first_offset) / sym.entry['st_size']) [all …]
|
| /scripts/pylib/twister/twisterlib/ |
| A D | runner.py | 1232 for sym in section.iter_symbols(): 1235 m_ = new_ztest_unit_test_regex.search(sym.name) 1239 m_ = new_ztest_unit_test_regex.search(self.demangle(sym.name))
|
| /scripts/ci/ |
| A D | check_compliance.py | 964 [sym.name for sym in kconf_syms]
|