Lines Matching refs:isinstance
207 if isinstance(value, proxy.BaseProxy):
214 if isinstance(value, self.ptype):
221 if isinstance(value, proxy.BaseProxy):
257 if len(self) == 1 and isinstance(self[0], proxy.BaseProxy):
340 if isinstance(value, (list, tuple)):
343 elif isinstance(value, str):
366 if isinstance(value, (list, tuple)):
368 elif isinstance(value, str):
377 if isinstance(value, (list, tuple)):
380 elif isinstance(value, str):
466 return v.value if isinstance(v, NumericParamValue) else v
603 if isinstance(value, str):
605 elif isinstance(value, (int, long, float, NumericParamValue)):
674 if isinstance(value, (int, long, float, NumericParamValue, Float, str)):
704 if isinstance(value, MemorySize):
716 if isinstance(value, MemorySize):
727 if isinstance(value, Addr):
744 if isinstance(other, Addr):
808 elif isinstance(args[0], (list, tuple)):
969 if not isinstance(value, str):
1018 if isinstance(value, IpAddress):
1036 if isinstance(other, IpAddress):
1038 elif isinstance(other, str):
1088 elif isinstance(args[0], IpNetmask):
1113 if isinstance(other, IpNetmask):
1115 elif isinstance(other, str):
1162 elif isinstance(args[0], IpWithPort):
1187 if isinstance(other, IpWithPort):
1189 elif isinstance(other, str):
1223 if isinstance(value, struct_time):
1226 if isinstance(value, (int, long)):
1229 if isinstance(value, (datetime, date)):
1232 if isinstance(value, str):
1310 if not isinstance(cls.map, dict):
1317 if not isinstance(cls.vals, list):
1556 if isinstance(value, (Latency, Clock)):
1559 elif isinstance(value, Frequency):
1598 if isinstance(value, (Latency, Clock)):
1604 elif isinstance(value, Frequency):
1640 if isinstance(value, (Latency, Clock)):
1643 elif isinstance(value, Frequency):
1839 return isinstance(value, NullSimObject)
1897 if isinstance(other, VectorPortRef):
1908 elif not isinstance(other, PortRef):
1927 if not isinstance(new_1, PortRef) or not isinstance(new_2, PortRef):
1960 assert(not isinstance(newRef.peer, VectorPortRef))
2029 if not isinstance(key, int):
2043 if not isinstance(key, int):
2048 if isinstance(other, (list, tuple)):