/gem5/src/sim/ |
H A D | py_interact.cc | 39 PyObject *globals; local 42 globals = PyEval_GetGlobals(); 43 Py_INCREF(globals); 45 PyRun_String("import code", Py_file_input, globals, locals); 46 PyRun_String("code.interact(local=globals())", Py_file_input, 47 globals, locals); 48 Py_DECREF(globals);
|
H A D | serialize.cc | 96 Globals globals; variable 203 globals.serializeSection(outstream, "Globals"); 211 globals.unserializeSection(cp, "Globals"); 214 mainEventQueue[i]->setCurTick(globals.unserializedCurTick);
|
/gem5/ext/ply/test/ |
H A D | lex_many_tokens.py | 17 exec("t_%s = '%s:'" % (tok,tok), globals())
|
/gem5/src/python/ |
H A D | marshal.cc | 63 py::globals(), locals);
|
/gem5/ext/pybind11/include/pybind11/ |
H A D | eval.h | 30 object eval(str expr, object global = globals(), object local = object()) { argument 53 object eval(const char (&s)[N], object global = globals(), object local = object()) { argument 60 inline void exec(str expr, object global = globals(), object local = object()) { argument 65 void exec(const char (&s)[N], object global = globals(), object local = object()) { argument 70 object eval_file(str fname, object global = globals(), object local = object()) { argument
|
H A D | pybind11.h | 880 inline dict globals() { function
|
/gem5/ext/pybind11/tests/test_cmake_build/ |
H A D | embed.cpp | 20 py::eval_file(test_py_file, py::globals());
|
/gem5/src/unittest/ |
H A D | genini.py | 71 m5execfile(arg, globals()) 73 if 'root' in globals() and isinstance(root, Root):
|
/gem5/src/python/m5/util/ |
H A D | code_formatter.py | 70 if self.formatter.globals and item in self.frame.f_globals: 124 globals = True variable in class:code_formatter 132 self.globals = kwargs.pop('globals', type(self).globals)
|
/gem5/ext/pybind11/tests/ |
H A D | constructor_stats.h | 113 PyObject *globals = PyEval_GetGlobals(); local 118 Py_file_input, globals, globals);
|
/gem5/ext/testlib/ |
H A D | uid.py | 59 return globals()[uid.split(cls.sep)[cls.type_idx]]
|
H A D | main.py | 328 result = globals()['do_'+config.config.command]()
|
/gem5/src/systemc/tests/tlm/endian_conv/ |
H A D | testall.py | 291 fragmenters = [globals()[n] for n in globals().keys() if n[:8]=="__FRAG__"] 341 all_converters = [globals()[n] for n in globals().keys() if n[:8]=="__CHCK__"]
|
/gem5/ext/pybind11/tests/test_embed/ |
H A D | test_interpreter.cpp | 61 )", py::globals(), locals); 203 // should still function by using reasonable globals: `__main__.__dict__`. 205 REQUIRE(py::globals()["var"]["number"].cast<int>() == 42);
|
/gem5/ext/mcpat/regression/ |
H A D | regression.py | 141 usage = globals()['__doc__'])
|
H A D | verify_output.py | 56 usage = globals()['__doc__'])
|
/gem5/ext/ply/example/GardenSnake/ |
H A D | GardenSnake.py | 704 globals()["print"] = print_ 708 exec compiled_code in globals()
|
/gem5/tests/configs/ |
H A D | base_config.py | 50 _have_kvm_support = 'BaseKvmCPU' in globals()
|
/gem5/configs/example/ |
H A D | apu_se.py | 432 have_kvm_support = 'BaseKvmCPU' in globals()
|