/gem5/ext/systemc/src/sysc/communication/ |
H A D | sc_export.cpp | 75 sc_object::hierarchy_scope scope( parent ); 91 sc_object::hierarchy_scope scope( parent ); 107 sc_object::hierarchy_scope scope( parent ); 123 sc_object::hierarchy_scope scope( parent );
|
H A D | sc_prim_channel.cpp | 92 sc_object::hierarchy_scope scope( get_parent_object() ); 108 sc_object::hierarchy_scope scope( get_parent_object() ); 123 sc_object::hierarchy_scope scope( get_parent_object() ); 138 sc_object::hierarchy_scope scope( get_parent_object() );
|
H A D | sc_port.cpp | 561 sc_object::hierarchy_scope scope( parent ); 573 sc_object::hierarchy_scope scope( parent ); 581 sc_object::hierarchy_scope scope( parent ); 589 sc_object::hierarchy_scope scope( parent );
|
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_phase_callback_registry.h | 172 scoped_status scope( m_simc->m_simulation_status 216 scoped_status scope( m_simc->m_simulation_status 235 scoped_status scope( m_simc->m_simulation_status 253 scoped_status scope( m_simc->m_simulation_status
|
H A D | sc_module.cpp | 385 hierarchy_scope scope(this); 411 hierarchy_scope scope(this); 424 hierarchy_scope scope(this); 437 hierarchy_scope scope(this);
|
H A D | sc_phase_callback_registry.cpp | 248 sc_object::hierarchy_scope scope(it->target);
|
/gem5/src/python/m5/ |
H A D | main.py | 165 scope = { 'options' : options } 166 exec(compile(open(options_file).read(), options_file, 'exec'), scope) 171 def interact(scope): 183 banner=banner, user_ns=scope) 197 ipshell = InteractiveShellEmbed(config=cfg, user_ns=scope, 207 code.InteractiveConsole(scope).interact(banner) 430 scope = { '__file__' : filename, 441 pdb.run(filecode, scope) 453 exec(filecode, scope) 457 interact(scope) [all...] |
/gem5/ext/pybind11/include/pybind11/detail/ |
H A D | class.h | 521 if (rec.scope && !PyModule_Check(rec.scope.ptr()) && hasattr(rec.scope, "__qualname__")) { 524 PyUnicode_FromFormat("%U.%U", rec.scope.attr("__qualname__").ptr(), name.ptr())); 526 qualname = str(rec.scope.attr("__qualname__").cast<std::string>() + "." + rec.name); 531 if (rec.scope) { 532 if (hasattr(rec.scope, "__module__")) 533 module = rec.scope.attr("__module__"); 534 else if (hasattr(rec.scope, "__name__")) 535 module = rec.scope [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | attr.h | 26 /// Annotation for parent scope 27 struct scope { handle value; scope(const handle &s) : value(s) { } }; function in struct:scope 190 /// Python handle to the parent scope (a class or a module) 191 handle scope; member in struct:function_record 206 /// Handle to the parent scope 207 handle scope; member in struct:type_record 339 static void init(const is_method &s, function_record *r) { r->is_method = true; r->scope = s.class_; } 342 /// Process an attribute which indicates the parent scope of a method 343 template <> struct process_attribute<scope> [all...] |
H A D | pybind11.h | 155 /* Function scope guard -- defaults to the compile-to-nothing `void_type` */ 212 const auto class_name = std::string(((PyTypeObject *) rec->scope.ptr())->tp_name); 263 rec->scope.attr("__module__").cast<std::string>() + "." + 264 rec->scope.attr("__qualname__").cast<std::string>(); 300 if (!chain->scope.is(rec->scope)) 322 if (rec->scope) { 323 if (hasattr(rec->scope, "__module__")) { 324 scope_module = rec->scope.attr("__module__"); 325 } else if (hasattr(rec->scope, "__name_ 1061 class_(handle scope, const char *name, const Extra &... extra) argument 1558 enum_(const handle &scope, const char *name, const Extra&... extra) argument 1782 exception(handle scope, const char *name, PyObject *base = PyExc_Exception) argument 1813 register_exception(handle scope, const char *name, PyObject *base = PyExc_Exception) argument 2017 error_scope scope; local [all...] |
H A D | cast.h | 412 error_scope scope; // Preserve error state local 415 if (scope.type) { 416 errorString += handle(scope.type).attr("__name__").cast<std::string>(); 419 if (scope.value) 420 errorString += (std::string) str(scope.value); 422 PyErr_NormalizeException(&scope.type, &scope.value, &scope.trace); 425 if (scope.trace != nullptr) 426 PyException_SetTraceback(scope [all...] |
H A D | stl_bind.h | 415 class_<Vector, holder_type> bind_vector(handle scope, std::string const &name, Args&&... args) { argument 424 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...); 576 class_<Map, holder_type> bind_map(handle scope, const std::string &name, Args&&... args) { argument 591 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
|
/gem5/tests/ |
H A D | run.py | 187 scope = { 204 exec(code, scope)
|
/gem5/ext/pybind11/tests/ |
H A D | test_numpy_dtypes.py | 11 @pytest.fixture(scope='module') 19 @pytest.fixture(scope='module')
|
H A D | test_numpy_array.py | 25 @pytest.fixture(scope='function')
|