Searched refs:ptype (Results 1 - 6 of 6) sorted by relevance
/gem5/src/python/m5/ |
H A D | SimObject.py | 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 [all...] |
H A D | params.py | 151 def __init__(self, ptype_str, ptype, *args, **kwargs): 153 # remember ptype only if it is provided 154 if ptype != None: 155 self.ptype = ptype 183 if attr == 'ptype': 185 ptype = SimObject.allClasses[self.ptype_str] 186 assert isSimObjectClass(ptype) 187 self.ptype = ptype 2166 ptype = Port variable in class:PortParamDesc [all...] |
H A D | proxy.py | 228 return obj.find_any(self._pdesc.ptype) 237 return obj.find_all(self._pdesc.ptype)
|
/gem5/configs/example/ |
H A D | read_config.py | 197 if issubclass(param.ptype, m5.params.ParamValue): 202 param_value = [ param.ptype.parse_ini(self.flags, value) 205 param_value = param.ptype.parse_ini( 225 if issubclass(param.ptype, m5.objects.SimObject):
|
/gem5/ext/ply/ply/ |
H A D | cpp.py | 444 for ptype, argnum, i in macro.patch: 446 if ptype == 'c': 449 elif ptype == 'e':
|
/gem5/src/dev/net/ |
H A D | i8254xGBe.cc | 1364 uint16_t ptype = 0; local 1378 ptype |= RXDP_IPV4; 1382 ptype |= RXDP_IPV6; 1399 ptype |= RXDP_TCP; 1413 ptype |= RXDP_UDP; 1437 desc->adv_wb.pkt_type = htole(ptype);
|
Completed in 23 milliseconds