/gem5/src/mem/ruby/common/ |
H A D | BoolVec.cc | 46 for (const auto& it: myvector) { 47 os << " " << it; local
|
H A D | IntVec.cc | 42 for (auto& it : myvector) 43 os << " " << it; local
|
/gem5/util/cpt_upgraders/ |
H A D | etherswitch.py | 5 for it in options: 6 opt_split = it[0].split('.') 17 cpt.set(new_sec_name, "_size", it[1]) 19 cpt.set(new_sec_name, "fifosize", it[1]) 21 cpt.set(new_sec_name, old_opt_name, it[1]) 22 cpt.remove_option(sec, it[0])
|
/gem5/ext/dsent/model/ |
H A D | EventInfo.cc | 34 // Get the name of each input port and add a transition info for it 37 Map<PortInfo*>::ConstIterator it; local 38 for(it = it_begin; it != it_end; ++it) 40 const String& port_name = it->first; 77 Map<TransitionInfo>::Iterator it; local 78 for(it = it_begin; it != it_end; ++it) 90 Map<TransitionInfo>::Iterator it; local [all...] |
/gem5/ext/dsent/libutil/ |
H A D | LibUtil.h | 39 for(typename std::vector<T*>::iterator it = vec_->begin(); it != vec_->end(); ++it) 41 T* temp_T = (*it);
|
H A D | Map.h | 68 // Remove an entry at 'it' 69 void remove(Iterator it); 101 // Remove all keys (it won't free the content if T is a pointer) 120 ConstIterator it = mMap.find(key_); local 121 return (it != mMap.end()); 126 ConstIterator it; local 128 it = mMap.find(key_); 129 ASSERT((it != mMap.end()), "Key not found: " + key_); 130 return (it->second); 167 template<class T> void Map<T>::remove(Iterator it) argument 181 ConstIterator it; local 213 Map<String>::ConstIterator it; local [all...] |
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_name_gen.cpp | 52 sc_strhash<int*>::iterator it( m_unique_name_map ); 53 for( ; ! it.empty(); it ++ ) { 54 delete it.contents();
|
H A D | sc_object_manager.cpp | 76 instance_table_t::iterator it; // instance table iterator. local 78 for ( it = m_instance_table.begin(); it != m_instance_table.end(); it++) 80 sc_object* obj_p = it->second.m_object_p; 89 // | object and the supplied leaf name. If the resultant name is not unique it 126 // If not use unique name generator to make it unique. 131 instance_table_t::iterator it = m_instance_table.find(result_string); local 132 if ( it == m_instance_table.end() || 133 (it 170 instance_table_t::iterator it; local 188 instance_table_t::iterator it; local 393 instance_table_t::iterator it; // instance table iterator. local 411 instance_table_t::iterator it; // instance table iterator. local [all...] |
H A D | sc_phase_callback_registry.h | 219 for(it_type it = vec.begin(), end = vec.end(); it != end; ++it) 220 (*it)->do_simulation_phase_callback(); 238 for(it_type it = vec.begin(), end = vec.end(); it != end; ++it) 239 (*it)->do_simulation_phase_callback(); 256 for(it_type it = vec.begin(), end = vec.end(); it ! [all...] |
H A D | sc_phase_callback_registry.cpp | 163 storage_type::iterator it = local 171 if( it != m_cb_vec.end() ) // update existing entry 174 new_mask = (*it).mask | m; 175 diff_mask = ~(*it).mask & m; 176 (*it).mask = new_mask; 204 storage_type::iterator it = local 212 if( it == m_cb_vec.end() ) { // not registered 217 new_mask = (*it).mask & ~m; 218 diff_mask = (*it).mask & m; 219 (*it) [all...] |
/gem5/src/mem/cache/prefetch/ |
H A D | queued.cc | 125 * - Setting it to 0 will disable the throttle control, so requests are 204 // If the queue is empty, attempt first to fill it with requests 257 iterator it = pfqMissingTranslation.begin(); local 258 while (it != pfqMissingTranslation.end() && count < max) { 259 DeferredPacket &dp = *it; 261 // calling finishTranslation, which will erase "it" 262 it++; 271 auto it = pfqMissingTranslation.begin(); local 272 while (it != pfqMissingTranslation.end()) { 273 if (&(*it) 310 iterator it; local 457 iterator it = queue.end(); local 484 iterator it = queue.end(); local [all...] |
/gem5/ext/googletest/googletest/src/ |
H A D | gtest-typed-test.cc | 79 for (RegisteredTestIter it = registered_tests_.begin(); 80 it != registered_tests_.end(); 81 ++it) { 82 if (name == it->first) { 96 for (RegisteredTestIter it = registered_tests_.begin(); 97 it != registered_tests_.end(); 98 ++it) { 99 if (tests.count(it->first) == 0) { 100 errors << "You forgot to list test " << it->first << ".\n";
|
/gem5/src/systemc/tests/systemc/kernel/sc_attribute/test01/ |
H A D | test01.cpp | 65 sc_attr_cltn::const_iterator it = attrs.begin(); local 66 for( ; it != attrs.end(); ++ it ) { 67 cout << (*it)->name() << endl;
|
/gem5/src/systemc/tests/systemc/kernel/sc_object/test01/ |
H A D | test01.cpp | 67 sc_attr_cltn::const_iterator it = att_cltn.begin(); local 68 for( ; it != att_cltn.end(); ++ it ) { 69 cout << (*it)->name() << endl;
|
/gem5/ext/dsent/model/timing_graph/ |
H A D | ElectricalTimingOptimizer.cc | 61 Map<PortInfo*>::ConstIterator it; local 63 for(it = it_begin; it != it_end; ++it) 65 const String& port_name = it->first; 66 const PortInfo* port_info = it->second;
|
/gem5/ext/dsent/util/ |
H A D | Result.cc | 81 for(vector<SubResult*>::iterator it = m_sub_results_.begin(); 82 it != m_sub_results_.end(); ++it) 84 SubResult* sub_result = (*it); 123 for(vector<SubResult*>::iterator it = m_sub_results_.begin(); 124 it != m_sub_results_.end(); ++it) 126 SubResult* sub_result = (*it); 138 for(vector<SubResult*>::const_iterator it = m_sub_results_.begin(); 139 it ! [all...] |
/gem5/src/sim/ |
H A D | futex_map.hh | 129 auto it = find(key); local 131 if (it == end()) { 135 it->second.push_back(WaiterState(tc)); 147 auto it = find(key); local 149 if (it == end()) 153 auto &waiterList = it->second; 162 erase(it); 176 auto it = find(key); local 178 if (it == end()) { 182 it 197 auto it = find(key); local [all...] |
/gem5/src/systemc/tests/systemc/utils/sc_vector/test03/ |
H A D | test03.cpp | 85 for( vec_type::const_iterator it = children.begin(); 86 it != children.end(); ++it ) 88 cout << it->name() << " - " 89 << (*it).kind()
|
/gem5/src/systemc/utils/ |
H A D | sc_report.cc | 92 auto it = sc_gem5::reportIdToMsgMap().find(id); local 93 if (it == sc_gem5::reportIdToMsgMap().end()) 96 return it->second.c_str(); 102 auto it = sc_gem5::reportIdToMsgMap().find(id); local 103 if (it == sc_gem5::reportIdToMsgMap().end()) 106 auto &msgInfo = sc_gem5::reportMsgInfoMap()[it->second]; 142 auto it = sc_gem5::reportIdToMsgMap().find(id); local 143 if (it == sc_gem5::reportIdToMsgMap().end()) 147 sc_gem5::reportMsgInfoMap()[it->second]. 149 sc_gem5::reportMsgInfoMap()[it [all...] |
/gem5/src/systemc/core/ |
H A D | event.cc | 100 EventsIt it = find(topLevelEvents.begin(), topLevelEvents.end(), local 102 assert(it != topLevelEvents.end()); 103 std::swap(*it, topLevelEvents.back()); 107 EventsIt it = findEvent(_name); local 108 std::swap(*it, allEvents.back()); 226 EventsIt it; local 227 for (it = allEvents.begin(); it != allEvents.end(); it++) 228 if (!strcmp((*it) [all...] |
/gem5/ext/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 103 for (ExpectationSet::const_iterator it = immediate_prerequisites_.begin(); 104 it != immediate_prerequisites_.end(); ++it) { 105 ExpectationBase* const prerequisite = it->expectation_base().get(); 118 for (ExpectationSet::const_iterator it = immediate_prerequisites_.begin(); 119 it != immediate_prerequisites_.end(); ++it) { 120 if (!(it->expectation_base()->IsSatisfied()) || 121 !(it->expectation_base()->AllPrerequisitesAreSatisfied())) 131 for (ExpectationSet::const_iterator it [all...] |
/gem5/ext/pybind11/tests/ |
H A D | test_sequences_and_iterators.cpp | 28 bool operator==(const NonZeroIterator<std::pair<A, B>>& it, const NonZeroSentinel&) { argument 29 return !(*it).first || !(*it).second; 44 auto it = x.begin(); local 45 assert_equal(x[0], *it); 46 assert_equal(x[0], it[0]); 47 assert_equal(x[1], it[1]); 49 assert_equal(x[1], *(++it)); 50 assert_equal(x[1], *(it++)); 51 assert_equal(x[2], *it); [all...] |
/gem5/src/learning_gem5/part2/ |
H A D | goodbye_object.cc | 66 // Kick off the the first buffer fill. If it can't fill the whole buffer 80 for (auto it = message.begin(); 81 it < message.end() && bufferUsed < bufferSize - 1; 82 it++, bufferUsed++, bytes_copied++) { 84 buffer[bufferUsed] = *it; 88 // Wait for the next copy for as long as it would have taken
|
/gem5/src/systemc/channel/ |
H A D | sc_signal_resolved.cc | 55 auto it = inputs.find(p); local 56 if (it == inputs.end()) { 59 } else if (it->second != l) { 60 it->second = l; 98 // Ask the signal to update it's value.
|
/gem5/src/cpu/ |
H A D | decode_cache.hh | 100 PageIt it = pageMap.find(page_addr); local 101 if (it != pageMap.end()) { 102 update(it); 103 return it->second;
|