Searched refs:locals (Results 1 - 13 of 13) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_eval_call.py3 if 'call_test2' in locals():
/gem5/src/sim/
H A Dpy_interact.cc40 PyObject *locals; local
44 locals = PyDict_New();
45 PyRun_String("import code", Py_file_input, globals, locals);
47 globals, locals);
49 Py_DECREF(locals);
/gem5/src/python/
H A Dmarshal.cc56 auto locals = py::dict("source"_a=argv[1]); local
63 py::globals(), locals);
65 auto marshalled = locals["marshalled"].cast<std::string>();
/gem5/ext/testlib/
H A Dstate.py36 locals()[enum] = idx
59 locals()[enum] = idx
/gem5/src/systemc/core/
H A DSystemC.py55 locals().update({
/gem5/ext/pybind11/tests/test_embed/
H A Dtest_interpreter.cpp57 auto locals = py::dict("hello"_a="Hello, World!", "x"_a=5, **module.attr("__dict__")); variable
61 )", py::globals(), locals);
62 REQUIRE(locals["message"].cast<std::string>() == "Hello, World! - 5");
215 auto locals = py::dict("count"_a=0); variable
225 locals["count"] = locals["count"].cast<int>() + 1;
234 REQUIRE(locals["count"].cast<int>() == num_threads);
/gem5/src/python/m5/util/
H A Dcode_formatter.py46 self.locals = {}
49 self.locals[item] = val
52 if item in self.locals:
53 return self.locals[item]
64 if self.formatter.locals and item in self.frame.f_locals:
125 locals = True variable in class:code_formatter
133 self.locals = kwargs.pop('locals', type(self).locals)
/gem5/util/statetrace/arch/sparc/
H A Dtracechild.cc75 getRegs(regs & myregs, fpu & myfpu, uint64_t * locals, argument
99 case SparcTraceChild::L0: return locals[0];
100 case SparcTraceChild::L1: return locals[1];
101 case SparcTraceChild::L2: return locals[2];
102 case SparcTraceChild::L3: return locals[3];
103 case SparcTraceChild::L4: return locals[4];
104 case SparcTraceChild::L5: return locals[5];
105 case SparcTraceChild::L6: return locals[6];
106 case SparcTraceChild::L7: return locals[7];
174 memcpy(oldLocals, locals,
[all...]
H A Dtracechild.hh74 uint64_t locals[8]; member in class:SparcTraceChild
/gem5/ext/pybind11/include/pybind11/detail/
H A Dinternals.h289 static type_map<type_info *> locals{};
290 return locals;
/gem5/util/batch/
H A Dsend.py96 """ % locals()
/gem5/util/pbs/
H A Dsend.py97 """ % locals()
/gem5/ext/pybind11/include/pybind11/
H A Dcast.h170 auto &locals = registered_local_types_cpp(); local
171 auto it = locals.find(tp);
172 if (it != locals.end())

Completed in 13 milliseconds