Lines Matching refs:ptype
138 if isSimObjectClass(param.ptype):
139 code('#include "%s"' % param.ptype._value_dict['cxx_header'])
140 code('#include "params/%s.hh"' % param.ptype.__name__)
142 param.ptype.cxx_ini_predecls(code)
185 is_simobj = issubclass(param.ptype, m5.SimObject.SimObject)
214 is_simobj = issubclass(param.ptype, m5.SimObject.SimObject)
220 'dynamic_cast<${{param.ptype.cxx_type}}>(simObject);')
245 is_simobj = issubclass(param.ptype, m5.SimObject.SimObject)
255 code('${{param.ptype.cxx_type}} object = '
256 'dynamic_cast<${{param.ptype.cxx_type}}>(*i);')
299 is_simobj = issubclass(param.ptype, m5.SimObject.SimObject)
304 param.ptype.cxx_ini_parse(code,
329 is_simobj = issubclass(param.ptype, m5.SimObject.SimObject)
339 code('${{param.ptype.cxx_type}} elem;')
340 param.ptype.cxx_ini_parse(code,
793 ptypes = [p.ptype for p in params]
903 for ptype in ptypes:
904 if issubclass(ptype, Enum):
905 code('#include "enums/${{ptype.__name__}}.hh"')
1141 ptype = None
1144 ptype = values
1147 ptype = values.ptype
1155 flags_dict[cmd_str] = ParamInfo(ptype,
1164 flags_dict[cmd_str] = ParamInfo(ptype,
1432 def find_any(self, ptype):
1433 if isinstance(self, ptype):
1442 if isinstance(child, ptype) and not visited:
1450 if issubclass(pdesc.ptype, ptype):
1459 def find_all(self, ptype):
1470 if isinstance(child, ptype) and not isproxy(child) and \
1475 child_all, done = child.find_all(ptype)
1479 if issubclass(pdesc.ptype, ptype):