Searched refs:getattr (Results 1 - 25 of 39) sorted by relevance

12

/gem5/src/python/m5/util/
H A Dterminal.py110 c_str = getattr(obj, c_name)
115 attr_str = getattr(obj, attr_name)
H A D__init__.py107 return getattr(obj, meth)(*args, **kwargs)
/gem5/ext/pybind11/tests/
H A Dtest_pickling.py12 cls = getattr(m, cls_name)
27 cls = getattr(m, cls_name)
H A Dtest_methods_and_attributes.py230 ref = getattr(obj, access + "_ref")
233 assert getattr(obj, access + "_ref").value == 2
236 copy = getattr(obj, access + "_copy")
239 assert getattr(obj, access + "_copy").value == 1
241 copy = getattr(obj, access + "_func")
244 assert getattr(obj, access + "_func").value == 1
H A Dtest_multiple_inheritance.py202 assert getattr(a, "f" + str(i))() == 2 * i
207 assert getattr(b, "f" + str(i))() == 2 * i
212 assert getattr(c, "f" + str(i))() == 2 * i
217 assert getattr(d, "f" + str(i))() == 2 * i
/gem5/configs/common/
H A DMemConfig.py163 opt_tlm_memory = getattr(options, "tlm_memory", None)
164 opt_external_memory_system = getattr(options, "external_memory_system",
166 opt_elastic_trace_en = getattr(options, "elastic_trace_en", False)
167 opt_mem_ranks = getattr(options, "mem_ranks", None)
168 opt_dram_powerdown = getattr(options, "enable_dram_powerdown", None)
H A DCpuConfig.py64 cpu_class = getattr(m5.objects, name, None)
/gem5/src/mem/slicc/ast/
H A DAST.py36 self.pairs.update(getattr(pairs, "pairs", pairs))
/gem5/ext/pybind11/pybind11/
H A D__init__.py11 sys.prefix != getattr(sys, "base_prefix", sys.prefix)
/gem5/ext/testlib/
H A Dterminal.py157 c_str = getattr(obj, c_name)
162 attr_str = getattr(obj, attr_name)
H A Dmain.py90 return getattr(config.config,
101 tag_opts = getattr(cfg, name)
107 tag_opts = getattr(cfg, name)
H A Dconfig.py151 self._config_file_args[attr] = getattr(args, attr)
174 return (getattr(self._defaults, attr),)
178 return getattr(super(_Config, self), attr)
430 previous = getattr(namespace, self.position_kword)
543 setattr(self, attr, getattr(parser, attr))
/gem5/src/mem/slicc/symbols/
H A DSymbol.py44 self.pairs.update(getattr(pairs, "pairs", pairs))
/gem5/tests/legacy-configs/
H A Drun.py119 initCPUs(getattr(root, sysattr))
/gem5/tests/
H A Drun.py75 cls = getattr(m5.objects, name)
251 initCPUs(getattr(root, sysattr))
/gem5/src/python/m5/
H A Dproxy.py186 val = getattr(obj, self._attr)
189 visited = getattr(val, '_visited')
206 val = getattr(val, m)
H A DSimObject.py435 cxx_exports.append(getattr(val, "__pybind"))
668 return getattr(cls.getCCClass(), attr)
677 return getattr(m5.internal.params, cls.pybind_class)
979 return getattr(ccobj, name)(*args, **kwargs)
1272 return getattr(self._ccObject, attr)
1440 visited = getattr(child, '_visited')
1577 cc_params_struct = getattr(m5.internal.params, '%sParams' % self.type)
1592 vec = getattr(cc_params, param)
1601 getattr(cc_params, param).append(v)
H A Doptions.py44 dest = getattr(parser.values, option.dest)
/gem5/ext/ply/example/yply/
H A Dylex.py35 if getattr(t.lexer,"lastsection",0):
/gem5/src/arch/arm/
H A DArmPMU.py118 bpred = getattr(cpu, "branchPred", None) if cpu else None
/gem5/ext/ply/ply/
H A Dyacc.py211 return getattr(self.slice[n],"lineno",0)
217 startline = getattr(self.slice[n],"lineno",0)
218 endline = getattr(self.slice[n],"endlineno",startline)
222 return getattr(self.slice[n],"lexpos",0)
225 startpos = getattr(self.slice[n],"lexpos",0)
226 endpos = getattr(self.slice[n],"endlexpos",startpos)
405 sym.endlineno = getattr(t1,"endlineno",t1.lineno)
406 sym.endlexpos = getattr(t1,"endlexpos",t1.lexpos)
482 result = getattr(n,"value",None)
694 sym.endlineno = getattr(t
[all...]
H A Dlex.py158 newfindex.append((getattr(object,f[0].__name__),f[1]))
164 c.lexstateerrorf[key] = getattr(object,ef.__name__)
225 if getattr(lextab,"_tabversion","0.0") != __version__:
884 _items = [(k,getattr(module,k)) for k in dir(module)]
/gem5/configs/example/
H A Dfs.py151 bootmem = getattr(test_sys, 'bootmem', None)
378 sys = getattr(root, sysname)
H A Dmemtest.py307 last_subsys = getattr(system, 'l%dsubsys0' % len(cachespec))
H A Dmemcheck.py301 last_subsys = getattr(system, 'l%dsubsys0' % len(cachespec))

Completed in 38 milliseconds

12