Lines Matching refs:socketpair
113 socketpair = net_test.CreateSocketPair(family, socktype, addr)
114 sport, dport = (socketpair[0].getsockname()[1],
115 socketpair[1].getsockname()[1])
116 socketpairs[(addr, sport, dport)] = socketpair
125 def assertSocketsClosed(self, socketpair): argument
126 for sock in socketpair:
195 for socketpair in list(self.socketpairs.values()):
196 for s in socketpair:
205 socketpair = net_test.CreateSocketPair(AF_INET6, SOCK_STREAM,
207 for sock in socketpair:
235 for socketpair in socketpairs:
236 for sock in socketpair:
297 for socketpair in list(self.socketpairs.values())[:20]:
298 for s in socketpair:
387 socketpair = net_test.CreateSocketPair(inet, SOCK_STREAM, addr)
388 for sock in socketpair:
484 for _, socketpair in self.socketpairs.items():
487 s = random.choice(socketpair)
506 self.assertSocketsClosed(socketpair)
920 for _, socketpair in self.socketpairs.items():
921 s1, s2 = socketpair