Searched refs:ptype (Results 1 - 6 of 6) sorted by relevance

/gem5/src/python/m5/
H A DSimObject.py138 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 Dparams.py151 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 Dproxy.py228 return obj.find_any(self._pdesc.ptype)
237 return obj.find_all(self._pdesc.ptype)
/gem5/configs/example/
H A Dread_config.py197 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 Dcpp.py444 for ptype, argnum, i in macro.patch:
446 if ptype == 'c':
449 elif ptype == 'e':
/gem5/src/dev/net/
H A Di8254xGBe.cc1364 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 24 milliseconds