/gem5/ext/pybind11/tests/ |
H A D | test_union.py | 5 instance = m.TestUnion() 7 instance.as_uint = 10 8 assert instance.as_int == 10
|
H A D | test_methods_and_attributes.py | 85 instance = m.TestProperties() 87 assert instance.def_readonly == 1 89 instance.def_readonly = 2 91 instance.def_readwrite = 2 92 assert instance.def_readwrite == 2 94 assert instance.def_property_readonly == 2 96 instance.def_property_readonly = 3 98 instance.def_property = 3 99 assert instance.def_property == 3 102 dummy = instance [all...] |
/gem5/src/systemc/python/ |
H A D | tlm.py | 33 return tlm_global_quantum.instance()
|
/gem5/src/mem/ruby/network/ |
H A D | dummy_port.hh | 52 instance() function in class:RubyDummyPort
|
H A D | Network.hh | 140 return RubyDummyPort::instance();
|
/gem5/src/systemc/ext/tlm_core/2/quantum/ |
H A D | global_quantum.hh | 48 static tlm_global_quantum &instance();
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | options.h | 58 static state instance; local 59 return instance;
|
/gem5/src/systemc/tlm_core/2/quantum/ |
H A D | global_quantum.cc | 32 tlm_global_quantum::instance() function in class:tlm::tlm_global_quantum
|
H A D | global_quantum_python.cc | 43 .def_static("instance", &tlm::tlm_global_quantum::instance,
|
/gem5/ext/systemc/src/tlm_utils/ |
H A D | tlm_quantumkeeper.h | 49 tlm::tlm_global_quantum::instance().set(t); 54 return tlm::tlm_global_quantum::instance().get(); 162 return tlm::tlm_global_quantum::instance().compute_local_quantum();
|
/gem5/src/systemc/ext/tlm_utils/ |
H A D | tlm_quantumkeeper.h | 46 tlm::tlm_global_quantum::instance().set(t); 52 return tlm::tlm_global_quantum::instance().get(); 142 return tlm::tlm_global_quantum::instance().compute_local_quantum();
|
/gem5/src/systemc/tlm_core/2/generic_payload/ |
H A D | phase.cc | 39 instance() function in struct:tlm::__anon147::tlm_phase_registry 102 m_id(tlm_phase_registry::instance().register_phase(type, name)) 108 return tlm_phase_registry::instance().get_name(m_id);
|
H A D | gp.cc | 44 instance() function in class:tlm::__anon146::tlm_extension_registry 70 return (instance_) ? instance().ids_.size() : 0; 93 return tlm_extension_registry::instance().register_extension(type);
|
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | class.h | 34 /// `pybind11_static_property.__get__()`: Always pass the class instead of the instance. 46 methods are modified to always use the object type instead of a concrete instance. 144 * when called on a class, or a PyMethod, when called on an instance. Override that behaviour here 199 /// base classes with pointers that are difference from the instance value pointer so that we can 201 inline void traverse_offset_bases(void *valueptr, const detail::type_info *tinfo, instance *self, 202 bool (*f)(void * /*parentptr*/, instance * /*self*/)) { 218 inline bool register_instance_impl(void *ptr, instance *self) { 222 inline bool deregister_instance_impl(void *ptr, instance *self) { 234 inline void register_instance(instance *self, void *valptr, const type_info *tinfo) { 240 inline bool deregister_instance(instance *sel 292 auto instance = reinterpret_cast<detail::instance *>(nurse); local 299 auto instance = reinterpret_cast<detail::instance *>(self); local 316 auto instance = reinterpret_cast<detail::instance *>(self); local [all...] |
/gem5/src/systemc/tlm_utils/ |
H A D | instance_specific_extensions.cc | 46 instance() function in class:tlm_utils::__anon149::ispex_registry 72 return (instance_) ? instance().ids_.size() : 0; 88 return ispex_registry::instance().register_extension(type); 111 instance() function in class:tlm_utils::instance_specific_extension_container_pool 158 return instance_specific_extension_container_pool::instance().create(); 211 instance_specific_extension_container_pool::instance().free(this);
|
/gem5/src/gpu-compute/ |
H A D | dispatcher.hh | 90 static GpuDispatcher *instance; member in class:GpuDispatcher 118 instance = _instance; 121 static GpuDispatcher* getInstance() { return instance; }
|
/gem5/ext/systemc/src/tlm_core/tlm_2/tlm_quantum/ |
H A D | tlm_global_quantum.h | 47 static tlm_global_quantum& instance() function in class:tlm::tlm_global_quantum
|
/gem5/src/systemc/ext/dt/fx/ |
H A D | sc_context.hh | 51 // sc_get_current_process_b() since its returning an sc_process_b instance. 100 static sc_global<T>* instance(); 195 sc_global<T>::instance() function in class:sc_dt::sc_global 222 m_def_value_ptr(sc_global<T>::instance()->value_ptr()), 270 return *sc_global<T>::instance()->value_ptr();
|
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_join/test03/ |
H A D | test03.cpp | 76 void process( int& instance ) 78 int i = instance;
|
/gem5/ext/systemc/src/sysc/datatypes/fx/ |
H A D | sc_context.h | 51 // sc_get_current_process_b() since its returning an sc_process_b instance. 107 static sc_global<T>* instance(); 210 sc_global<T>::instance() function in class:sc_dt::sc_global 240 m_def_value_ptr( sc_global<T>::instance()->value_ptr() ), 300 return *sc_global<T>::instance()->value_ptr();
|
/gem5/util/tlm/src/ |
H A D | sim_control.hh | 59 * While it is mandatory to have one instance of this class for running a gem5 77 /// Pointer to a previously created instance. 78 static Gem5SimControl* instance; member in class:Gem5SystemC::Gem5SimControl 92 * exits. For instance, a derived class could use this to call sc_stop().
|
H A D | sim_control.cc | 63 Gem5SimControl* Gem5SimControl::instance = nullptr; member in class:Gem5SystemC::Gem5SimControl 74 if (instance != nullptr) { 77 instance = this;
|
/gem5/src/sim/ |
H A D | drain.hh | 102 /** Get the singleton DrainManager instance */ 103 static DrainManager &instance() { return _instance; } function in class:DrainManager 184 /** Singleton instance of the drain manager */
|
/gem5/src/cpu/kvm/ |
H A D | vm.cc | 64 Kvm *Kvm::instance = NULL; member in class:Kvm 90 if (!instance) 91 instance = new Kvm(); 93 return instance;
|
H A D | vm.hh | 261 /** Singleton instance */ 262 static Kvm *instance; member in class:Kvm
|