Searched refs:items (Results 1 - 25 of 47) sorted by relevance

12

/gem5/util/cpt_upgraders/
H A Darm-ccregs.py13 items = []
14 for (item,value) in cpt.items(sec):
15 items.append(item)
16 if 'ccRegs' not in items:
H A Dprocess-fdmap-rename.py4 items = cp.items(section_from)
6 for item in items:
H A Disa-is-simobject.py41 for (key, value) in cpt.items(sec, raw=True):
58 if cpt.items(sec):
H A Detherswitch.py4 options = cpt.items(sec)
H A Darm-hdlcd-upgrade.py79 for new, old in option_names.items():
84 for key, value in options.items():
/gem5/src/python/m5/util/
H A D__init__.py143 def crossproduct(items):
144 if len(items) == 1:
145 for i in items[0]:
148 for i in items[0]:
149 for j in crossproduct(items[1:]):
152 def flatten(items):
153 while items:
154 item = items.pop(0)
156 items[0:0] = item
166 def printList(items, inden
[all...]
H A Dmultidict.py40 return str(dict(self.items()))
43 return repr(dict(list(self.items())))
74 for key,value in self.local.items():
85 def items(self): member in class:multidict
146 print('test1>', list(test1.items()))
147 print('test2>', list(test2.items()))
H A Dterminal.py88 for name, cap in capability_map.items():
H A Dsorteddict.py93 for item in self.items())
117 def items(self): member in class:SortedDict
183 print(list(d.items()))
184 print(list(d.items()))
H A Dsmartdict.py149 def items(self): member in class:SmartDict
150 for key,value in dict.items(self):
/gem5/ext/systemc/src/sysc/utils/
H A Dsc_report_handler.cpp339 msg_def_items * items = messages; local
341 while ( items != &msg_terminator )
343 for ( int i = 0; i < items->count; ++i )
345 items->md[i].call_count = 0;
346 items->md[i].sev_call_count[SC_INFO] = 0;
347 items->md[i].sev_call_count[SC_WARNING] = 0;
348 items->md[i].sev_call_count[SC_ERROR] = 0;
349 items->md[i].sev_call_count[SC_FATAL] = 0;
351 items = items
372 msg_def_items * items = messages, * newitems = &msg_terminator; local
440 add_static_msg_types(msg_def_items * items) argument
[all...]
H A Dsc_utils_ids.cpp75 static sc_report_handler::msg_def_items items = { member in namespace:sc_core
82 sc_report_handler::add_static_msg_types(&items);
/gem5/src/python/m5/
H A Ddebug.py70 for name, flag in _m5.debug.allFlags().items():
98 def items(self): member in class:AllFlags
100 return self._dict.items()
H A DSimObject.py433 for key,val in dict.items():
523 # Now process the _value_dict items. They could be defining
530 for key,val in cls._value_dict.items():
693 params = map(lambda k_v: k_v[1], sorted(cls._params.local.items()))
735 for k, v in sorted(cls._params.local.items())
790 params = map(lambda k_v: k_v[1], sorted(cls._params.local.items()))
1032 Slicing allows for multiple simultaneous assignment of items in
1060 for example object[1, 3] selects items 1 and 3.
1137 for keys,values in self._params.items():
1203 for key,val in ancestor._children.items()
[all...]
/gem5/src/cpu/
H A Ddecode_cache.hh60 Value items[TheISA::PageBytes]; member in struct:DecodeCache::AddrMap::CachePage
125 return page->items[addr & (TheISA::PageBytes - 1)];
/gem5/configs/common/
H A DPlatformConfig.py90 for name, cls in _platform_classes.items():
102 for alias, target in _platform_aliases.items():
H A DBPConfig.py71 for name, cls in _bp_classes.items():
122 for name, cls in _indirect_bp_classes.items():
H A DHWPConfig.py71 for name, cls in _hwp_classes.items():
H A DCpuConfig.py91 for name, cls in _cpu_classes.items():
/gem5/ext/pybind11/tests/
H A Dtest_stl_binders.py147 assert list(mm.items()) == [('a', 1), ('b', 2.5)]
155 assert sorted(list(um.items())) == [('ua', 1.1), ('ub', 2.6)]
197 for k, v in mnc.items():
209 for k, v in mnc.items():
222 assert list(mm.items()) == [('a', 1), ('b', 2.5)]
225 assert list(mm.items()) == [('b', 2.5)]
232 assert sorted(list(um.items())) == [('ua', 1.1), ('ub', 2.6)]
235 assert sorted(list(um.items())) == [('ub', 2.6)]
/gem5/util/
H A Dcheckpoint_aggregator.py72 items = config.items(sec)
73 for item in items:
91 for item in config.items(sec):
H A Ddecode_inst_dep_trace.py147 for namestr, valdesc in desc.enum_values_by_name.items():
/gem5/src/systemc/tests/
H A Dverify.py321 matches = { n: e for n, e in self.entries.items() if match(n) }
335 items = self.entries.items()
336 items = filter(lambda i: not i[1].used, items)
338 items.sort()
341 while i < len(items):
342 root = items[i][0]
345 while i < len(items) and items[
[all...]
/gem5/src/python/m5/stats/
H A D__init__.py121 kwargs = dict([ parse_value(k, v) for k, v in qs.items() ])
278 for name, obj in root._children.items():
339 for n, g in group.getStatGroups().items():
/gem5/ext/testlib/
H A Dhelper.py55 :params stdout: Iterable of items to write to as we read from the
58 :params stderr: Iterable of items to write to as we read from the
142 for item in kwds.items():
177 Maintain ordering of insertion in items to the set with quick iteration.
290 def update(self, items):
291 self.__dict__.update(items)
308 def update(self, items):
313 super(FrozenAttrDict, self).update(items)

Completed in 29 milliseconds

12