Lines Matching refs:port

1133 # the form "a.b.c.d:p", or an ip and port as positional or keyword arguments.
1154 handle_kwarg(self, kwargs, 'port')
1158 if not 'ip' in kwargs and not 'port' in kwargs:
1161 handle_kwarg(self, kwargs, 'port', args[0])
1164 self.port = args[0].port
1166 (self.ip, self.port) = convert.toIpWithPort(args[0])
1170 self.port = args[1]
1184 return "%s:%d" % (super(IpWithPort, self).__str__(), self.port)
1188 return self.ip == other.ip and self.port == other.port
1191 return (self.ip, self.port) == convert.toIpWithPort(other)
1199 if self.port < 0 or self.port > 0xffff:
1200 raise TypeError("invalid port %d" % self.port)
1204 return IpWithPort(self.ip, self.port)
1855 # Port reference: encapsulates a reference to a particular port on a
1864 self.peer = None # not associated with another port yet
1865 self.ccConnected = False # C++ port connection done?
1893 # SimObject.__setattr__ as a result of a port assignment, e.g.,
1909 raise TypeError("assigning non-port reference '%s' to port '%s'" \
1919 # Allow a compatible port pair to be spliced between a port and its
1929 "Splicing non-port references '%s','%s' to port '%s'" % \
1969 print("Error in unproxying port '%s' of %s" %
1974 # Call C++ to create corresponding port connection between C++ objects
1983 port = self.simobj.getPort(self.name, self.index)
1985 port.bind(peer_port)
1999 # A reference to a complete vector-valued port (not just a single element).
2049 # Assign list of port refs to vector port.
2075 # logical port in the SimObject class, not a particular port on a
2089 for port in one, two:
2090 if not port.role in Port._compat_dict:
2091 fatal("Unrecognized role '%s' for port %s\n", port.role, port)
2099 # Generate a PortRef for this port on the given SimObject with the
2104 # Connect an instance of this port (on the given SimObject with
2105 # the given name) with the port described by the supplied PortRef
2117 # Declare an unsigned int with the same name as the port, that