Searched refs:local (Results 1 - 8 of 8) sorted by relevance
/gem5/ext/pybind11/tests/ |
H A D | test_eval.cpp | 20 auto local = py::dict(); 21 local["call_test"] = py::cpp_function([&]() -> int { 29 global, local 38 )", global, local 40 auto x = local["x"].cast<int>(); 46 auto local = py::dict(); 47 local["x"] = py::int_(42); 48 auto x = py::eval("x", global, local); 53 auto local = py::dict(); 54 local["call_tes [all...] |
/gem5/ext/pybind11/include/pybind11/ |
H A D | eval.h | 30 object eval(str expr, object global = globals(), object local = object()) { 31 if (!local) 32 local = global; 46 PyObject *result = PyRun_String(buffer.c_str(), start, global.ptr(), local.ptr()); 53 object eval(const char (&s)[N], object global = globals(), object local = object()) { 57 return eval<mode>(expr, global, local); 60 inline void exec(str expr, object global = globals(), object local = object()) { 61 eval<eval_statements>(expr, global, local); 65 void exec(const char (&s)[N], object global = globals(), object local = object()) { 66 eval<eval_statements>(s, global, local); [all...] |
H A D | stl_bind.h | 419 // module-local then make the vector binding module-local as well: 422 bool local = !vtype_info || vtype_info->module_local; local 424 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...); 581 // If either type is a non-module-local bound type then make the map binding non-local as well; 582 // otherwise (e.g. both types are either module-local or converting) the map will be 583 // module-local. 585 bool local = !tinfo || tinfo->module_local; local 586 if (local) { [all...] |
/gem5/src/python/m5/util/ |
H A D | multidict.py | 35 self.local = dict(**kwargs) 46 return key in self.local or key in self.parent 50 del self.local[key] 59 self.local[key] = value 63 return self.local[key] 71 return len(self.local) + len(self.parent) 74 for key,value in self.local.items(): 79 if key not in self.local and key not in self.deleted: 108 self.local[key] = default 115 print(' ', node.local) [all...] |
/gem5/tests/test-progs/gpu-hello/bin/x86/linux/ |
H A D | gpu-hello-kernel.asm | 4 %code_size %code_in %key_arr %msg_out %chars_decoded AMD RTI $ ARGSTART:__OpenCL_read_kernel_kernel $ , version:3:1:104 4 < |