/gem5/src/python/m5/stats/ |
H A D | __init__.py | 107 def parse_value(key, values): 110 url.geturl(), key)) 113 url.geturl(), key)) 116 return key, literal_eval(values[0]) 305 stats_list.sort(key=lambda s: s.name.split('.'))
|
/gem5/src/cpu/pred/ |
H A D | multiperspective_perceptron.hh | 76 static inline unsigned int hash2(unsigned int key) argument 79 key = (key ^ 61) ^ (key >> 16); 80 key = key + (key << 3); 81 key = key ^ (key >> 87 hash(unsigned int key, unsigned int i) argument [all...] |
/gem5/src/arch/arm/insts/ |
H A D | crypto.hh | 88 void aesAddRoundKey(uint8_t *output, uint8_t *input, uint8_t *key); 132 void aesEncrypt(uint8_t *output, uint8_t *input, uint8_t *key); 133 void aesDecrypt(uint8_t *output, uint8_t *input, uint8_t *key);
|
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_stress_test.cc | 65 Message key; local 66 key << "key_" << id << "_" << suffix; 67 return key.GetString();
|
H A D | gtest_test_utils.py | 259 for key in dest.keys(): 260 del dest[key]
|
/gem5/src/python/m5/ |
H A D | options.py | 135 for key,val in opts.__dict__.items(): 136 if val is not None or key not in self: 137 self[key] = val
|
H A D | proxy.py | 175 def __getitem__(self, key): 176 if not isinstance(key, int): 181 new_self._modifiers.append(key)
|
H A D | params.py | 308 def __setitem__(self, key, value): 309 val = self[key] 314 super(SimObjectVector, self).__setitem__(key, value) 1070 def handle_kwarg(self, kwargs, key, elseVal = None): 1071 if key in kwargs: 1072 setattr(self, key, kwargs.pop(key)) 1074 setattr(self, key, elseVal) 1076 raise TypeError("No value set for %s" % key) 1144 def handle_kwarg(self, kwargs, key, elseVa [all...] |
H A D | main.py | 281 for key in keys: 282 val = defines.buildEnv[key] 283 print(' %s = %s' % (key, val))
|
/gem5/util/maint/ |
H A D | list_changes.py | 80 key, value = m.group(1), m.group(2) 82 tags[key].append(value) 84 tags[key] = [ value ]
|
/gem5/ext/ply/ply/ |
H A D | lex.py | 150 for key, ritem in self.lexstatere.items(): 160 newtab[key] = newre 163 for key, ef in self.lexstateerrorf.items(): 164 c.lexstateerrorf[key] = getattr(object,ef.__name__) 193 for key, lre in self.lexstatere.items(): 196 titem.append((self.lexstateretext[key][i],_funcs_to_names(lre[i][1],self.lexstaterenames[key][i]))) 197 tabre[key] = titem 203 for key, ef in self.lexstateerrorf.items(): 205 taberr[key] [all...] |
/gem5/src/dev/ps2/ |
H A D | keyboard.cc | 147 panic("Setting a key to typematic unimplemented.\n"); 149 panic("Setting a key to make/release unimplemented.\n"); 151 panic("Setting key to make only unimplemented.\n"); 158 PS2Keyboard::keyPress(uint32_t key, bool down) argument 164 Ps2::keySymToPs2(key, down, shiftDown, keys); 166 // Drop key presses if the keyboard hasn't been enabled by the 167 // host. We do that after translating the key code to ensure that
|
H A D | types.hh | 119 /** Convert an x11 key symbol into a set of ps2 charecters. 120 * @param key x11 key symbol 121 * @param down if the key is being pressed or released 123 * @param keys list of keys command to send to emulate the x11 key symbol 125 void keySymToPs2(uint32_t key, bool down, bool &cur_shift,
|
/gem5/ext/systemc/src/sysc/utils/ |
H A D | sc_hash.h | 73 unsigned do_hash(const void* key) const { return (*hash)(key) % num_bins; } 75 sc_phash_elem* add_direct(void* key, void* contents, unsigned hash_val); 124 void* operator[](const void* key) const; 152 void* key() const; 246 K key() const { return (K) sc_phash_base_iter::key(); } function in class:sc_core::sc_phash_iter 339 K key() const { return (K) sc_phash_base_iter::key(); } function in class:sc_core::sc_pdhash_iter 429 const char* key() { retur function in class:sc_core::sc_strhash_iter [all...] |
/gem5/util/ |
H A D | decode_packet_trace.py | 84 print 'Master id %d: %s' % (id_string.key, id_string.value)
|
/gem5/util/style/ |
H A D | sort_includes.py | 89 key = '/'.join(parts) 91 return key 189 for key in keys: 190 self.block_priority[key] = prio
|
/gem5/src/python/m5/util/ |
H A D | fdthelper.py | 100 """Return a unique phandle number for a key. The key can be a SimObject 105 key = str(id(obj)) 108 key = str(obj) 112 if not key in FdtState.phandles: 115 return FdtState.phandles.setdefault(key, FdtState.phandle_counter)
|
/gem5/ext/pybind11/tests/ |
H A D | test_sequences_and_iterators.cpp | 232 void set(std::string key, std::string val) { map[key] = val; } argument 233 std::string get(std::string key) const { return map.at(key); } 244 .def("__getitem__", [](const StringMap &map, std::string key) { 245 try { return map.get(key); } 247 throw py::key_error("key '" + key + "' does not exist");
|
H A D | test_pytypes.cpp | 40 py::print("key:", item); 42 m.def("set_contains", [](py::set set, py::object key) { 43 return set.contains(key); 45 m.def("set_contains", [](py::set set, const char* key) { 46 return set.contains(key); 50 m.def("get_dict", []() { return py::dict("key"_a="value"); }); 53 py::print("key: {}, value={}"_s.format(item.first, item.second));
|
/gem5/src/systemc/tests/ |
H A D | verify.py | 72 for key, val in props.iteritems(): 73 self.set_prop(key, val) 75 def set_prop(self, key, val): 76 setattr(self, key, val) 77 self.props[key] = val 394 for test in sorted(tests, key=lambda t: t.path): 584 for key, val in props.iteritems(): 585 print(' %s: %s' % (key, val))
|
/gem5/util/cpt_upgraders/ |
H A D | armv8.py | 300 for key in cpu_prefix: 302 new_sec = key + suffix 304 new_sec = key + suffix + ".stage2_tlb"
|
/gem5/src/python/m5/ext/pyfdt/ |
H A D | pyfdt.py | 828 for (key, value) in subjson.items(): 830 subnode = FdtNode(key) 836 raise Exception("Invalid list for %s" % key) 839 node.append(FdtPropertyWords(key, words)) 842 node.append(FdtPropertyBytes(key, bytez)) 844 node.append(FdtPropertyStrings(key, \ 847 raise Exception("Invalid list for %s" % key) 849 node.append(FdtProperty(key)) 851 raise Exception("Invalid value for %s" % key)
|
/gem5/util/streamline/ |
H A D | m5stats2streamline.py | 463 # - key: packed32 465 def counterFrame(timestamp, core, key, value): 467 body = timestampList(timestamp) + packed32(core) + packed32(key) + \ 473 # - key: packed32 475 def blockCounterFrame(core, key, value): 477 body = packed32(key) + packed64(value) 716 def __init__(self, name, group, group_index, per_cpu, key): 741 self.key = key 1035 s.set("key", " [all...] |
/gem5/ext/dsent/libutil/ |
H A D | Map.h | 55 // Check if the key exists 72 // Merge a map. Values with same key will be overwritten. 184 const String& key = it->first; local 186 set(key, value);
|
/gem5/src/systemc/tests/systemc/examples/aes/ |
H A D | aes.cpp | 1024 sc_biguint<128> key; local 1046 key[(i*4+j)*8+k] = tt[k]; 1050 return(key); 1073 sc_biguint<128> key; local 1105 key = makekey(key_string); 1115 E_In_wire = key; 1121 D_In_wire = key; 1154 cout << "key:" << key_string << " in:" << in
|