Lines Matching defs:self
89 def assertSocketClosed(self, sock): argument
92 def assertSocketConnected(self, sock): argument
95 def assertSocketsClosed(self, socketpair): argument
99 def assertMarkIs(self, mark, attrs): argument
102 def assertSockInfoMatchesSocket(self, s, info): argument
121 def PackAndCheckBytecode(self, instructions): argument
128 def _EventDuringBlockingCall(self, sock, call, expected_errno, event): argument
154 def CloseDuringBlockingCall(self, sock, call, expected_errno): argument
159 def setUp(self): argument
164 def tearDown(self): argument
173 def testFindsMappedSockets(self): argument
183 def CheckFindsAllMySockets(self, socktype, proto): argument
224 def assertItemsEqual(self, expected, actual): argument
231 def testFindsAllMySocketsTcp(self): argument
234 def testFindsAllMySocketsUdp(self): argument
237 def testBytecodeCompilation(self): argument
290 def testCrossFamilyBytecode(self): argument
336 def testPortComparisonValidation(self): argument
350 def testNonSockDiagCommand(self): argument
361 def CheckSocketCookie(self, inet, addr): argument
369 def testGetsockoptcookie(self): argument
373 def testDemonstrateUdpGetSockIdBug(self): argument
453 def testClosesSockets(self): argument
485 def __init__(self, sock, operation): argument
492 def run(self): argument
501 def testIpv4MappedSynRecvSocket(self): argument
530 def setUp(self): argument
556 def checkInitRwndSize(self, version, netid): argument
565 def checkSynPacketWindowSize(self, version, netid): argument
579 def testTcpCwndSize(self): argument
588 def setUp(self): argument
592 def CheckRstOnClose(self, sock, req, expect_reset, msg, do_close=True): argument
613 def CheckTcpReset(self, state, statename): argument
622 def testTcpResets(self): argument
628 def testFinWait1Socket(self): argument
666 def FindChildSockets(self, s): argument
683 def CheckChildSocket(self, version, statename, parent_first): argument
735 def testChildSockets(self): argument
742 def testAcceptInterrupted(self): argument
753 def testReadInterrupted(self): argument
764 def testConnectInterrupted(self): argument
795 def setUp(self): argument
802 def PollResultToString(self, poll_events, ignoremask): argument
810 def BlockingPoll(self, sock, mask, expected, ignoremask): argument
820 def RstDuringBlockingCall(self, sock, call, expected_errno): argument
825 def assertSocketErrors(self, errno): argument
834 def CheckPollDestroy(self, mask, expected, ignoremask): argument
844 def CheckPollRst(self, mask, expected, ignoremask): argument
854 def testReadPollRst(self): argument
857 def testWritePollRst(self): argument
860 def testReadWritePollRst(self): argument
863 def testReadPollDestroy(self): argument
868 def testWritePollDestroy(self): argument
871 def testReadWritePollDestroy(self): argument
885 def testClosesUdpSockets(self): argument
898 def BindToRandomPort(self, s, addr): argument
911 def testSocketAddressesAfterClose(self): argument
949 def testReadInterrupted(self): argument
973 def CheckPermissions(self, socktype): argument
991 def testUdp(self): argument
994 def testTcp(self): argument
1009 def FilterEstablishedSockets(self, mark, mask): argument
1015 def assertSamePorts(self, ports, diag_msgs): argument
1020 def SockInfoMatchesSocket(self, s, info): argument
1031 def assertFoundSockets(self, infos, sockets): argument
1048 def testMarkBytecode(self): argument
1083 def assertSocketMarkIs(self, s, mark): argument
1090 def testMarkInAttributes(self): argument