/gem5/src/doxygen/ |
H A D | stl.hh | 43 T item; member in class:std::vector 50 T item; member in class:std::deque 57 T item; member in class:std::list
|
/gem5/src/mem/slicc/ |
H A D | util.py | 39 def __contains__(self, item): 40 return item in self.pairs 42 def __getitem__(self, item): 43 return self.pairs[item] 45 def __setitem__(self, item, value): 46 self.pairs[item] = value 48 def get(self, item, failobj=None): 49 return self.pairs.get(item, failobj)
|
/gem5/src/python/m5/util/ |
H A D | code_formatter.py | 48 def __setitem__(self, item, val): 49 self.locals[item] = val 51 def __getitem__(self, item): 52 if item in self.locals: 53 return self.locals[item] 55 if item in self.kwargs: 56 return self.kwargs[item] 58 if item == '__file__': 61 if item == '__line__': 64 if self.formatter.locals and item i [all...] |
H A D | __init__.py | 154 item = items.pop(0) 155 if isinstance(item, (list, tuple)): 156 items[0:0] = item 158 yield item 168 for i,item in enumerate(items): 169 if len(line) + len(item) > 76: 174 line += '%s, ' % item 176 line += item
|
H A D | fdthelper.py | 193 item = self.pop(index) 195 item = None 197 item = None 199 if isinstance(item, pyfdt.FdtNode) and \ 201 item.merge(subnode) 202 subnode = item
|
H A D | sorteddict.py | 92 return 'SortedDict({%s})' % ', '.join('%r: %r' % item 93 for item in self.items()) 94 def __setitem__(self, key, item): 95 dict.__setitem__(self, key, item)
|
H A D | smartdict.py | 140 def __setitem__(self, key, item): 143 dict.__setitem__(self, key, str(item))
|
H A D | multidict.py | 86 for item in self.next(): 87 yield item
|
/gem5/util/cpt_upgraders/ |
H A D | process-fdmap-rename.py | 6 for item in items: 7 cp.set(section_to, item[0], item[1])
|
H A D | arm-ccregs.py | 14 for (item,value) in cpt.items(sec): 15 items.append(item)
|
/gem5/ext/drampower/src/ |
H A D | TraceParser.cc | 55 string item; local 59 while (getline(linestream, item, ',')) { 61 stringstream timestamp(item); 65 item_val = MemCommand::getTypeFromName(item); 68 stringstream bank(item);
|
/gem5/util/ |
H A D | checkpoint_aggregator.py | 73 for item in items: 74 if item[0] == "paddr": 75 merged_config.set(newsec, item[0], int(item[1]) + (page_ptr << 12)) 77 merged_config.set(newsec, item[0], item[1]) 91 for item in config.items(sec): 92 merged_config.set(sec, item[0], item[1])
|
/gem5/src/python/m5/ |
H A D | debug.py | 74 def __contains__(self, item): 76 return item in self._dict 78 def __getitem__(self, item): 80 return self._dict[item]
|
H A D | simulate.py | 261 for item in cpuList: 262 if not isinstance(item, tuple) or len(item) != 2:
|
/gem5/ext/ply/example/yply/ |
H A D | yparse.py | 128 item = r[i] 129 if item[0] == '{': # A code block 131 prodcode = item 137 embedded.append((embed_name,item)) 140 prod.append(item)
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_pvector.h | 125 void push_back( T item ) 126 { m_vector.push_back( item ); } 137 void put( T item, int i ) argument 138 { ACCESS(i) = item; }
|
H A D | sc_report_handler.cpp | 203 for ( msg_def_items * item = messages; item; item = item->next ) 205 for ( int i = 0; i < item->count; ++i ) 206 if ( !strcmp(msg_type_, item->md[i].msg_type) ) 207 return item->md + i; 647 for ( msg_def_items * item = messages; item; item [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_pytypes.cpp | 26 for (auto item : list) 27 py::print("list item {}: {}"_s.format(index++, item)); 39 for (auto item : set) 40 py::print("key:", item); 52 for (auto item : dict) 53 py::print("key: {}, value={}"_s.format(item.first, item.second)); 119 for (const auto &item : o.attr("begin_end")) { 120 l.append(item); [all...] |
/gem5/ext/testlib/ |
H A D | log.py | 70 def __getitem__(self, item): 71 if item not in self.data: 73 (item, self.__class__.__name__)) 74 return self.data[item]
|
H A D | result.py | 40 for item in iterable: 41 assert item.uid not in index 42 index[item.uid] = item
|
H A D | helper.py | 142 for item in kwds.items(): 143 key += item 287 def __getitem__(self, item): 288 return self.__dict__[item]
|
H A D | handlers.py | 397 item = self.queue.get(timeout=0.1) 398 self._handle(item) 409 item = self.queue.get(block=False) 410 self._handle(item)
|
/gem5/src/base/ |
H A D | statistics.cc | 180 vector<string>::const_iterator item = vec.begin(); local 181 while (item != vec.end()) { 182 if (item->empty()) 185 string::const_iterator c = item->begin(); 192 while (++c != item->end()) { 197 ++item;
|
/gem5/src/mem/slicc/symbols/ |
H A D | Type.py | 374 for item in self.methods: 375 proto = self.methods[item].prototype 439 for item in self.methods: 440 code(self.methods[item].generateCode())
|
/gem5/ext/pybind11/tools/ |
H A D | mkdoc.py | 271 for item in args: 272 if item.startswith('-'): 273 parameters.append(item) 275 filenames.append(item)
|