Home
last modified time | relevance | path

Searched refs:ignoremask (Results 1 – 1 of 1) sorted by relevance

/kernel/tests/net/test/
Dsock_diag_test.py826 def PollResultToString(self, poll_events, ignoremask): argument
830 if event & flag & ~ignoremask != 0]
834 def BlockingPoll(self, sock, mask, expected, ignoremask): argument
841 self.assertEqual(self.PollResultToString(expected_fds, ignoremask),
842 self.PollResultToString(actual_fds, ignoremask))
858 def CheckPollDestroy(self, mask, expected, ignoremask): argument
864 lambda sock: self.BlockingPoll(sock, mask, expected, ignoremask),
868 def CheckPollRst(self, mask, expected, ignoremask): argument
874 lambda sock: self.BlockingPoll(sock, mask, expected, ignoremask),
884 ignoremask = select.POLLIN | select.POLLHUP
[all …]