Lines Matching refs:kq
17 kq = select.kqueue()
18 self.assertTrue(kq.fileno() > 0, kq.fileno())
19 self.assertTrue(not kq.closed)
20 kq.close()
21 self.assertTrue(kq.closed)
22 self.assertRaises(ValueError, kq.fileno)
124 kq = select.kqueue()
125 kq2 = select.kqueue.fromfd(kq.fileno())
130 kq.control([ev], 0)
134 kq.control([ev], 0)
144 events = kq.control(None, 4, 1)
155 events = kq.control(None, 4, 1)
173 kq.control([ev], 0)
177 kq.control([ev], 0)
181 kq.control([ev], 0, 0)
183 events = kq.control([], 4, 0.99)
193 kq = select.kqueue()
199 r = kq.control([event1, event2], 1, 1)
206 kq.close()