Lines Matching refs:kq
16 kq = select.kqueue()
17 self.assertTrue(kq.fileno() > 0, kq.fileno())
18 self.assertTrue(not kq.closed)
19 kq.close()
20 self.assertTrue(kq.closed)
21 self.assertRaises(ValueError, kq.fileno)
127 kq = select.kqueue()
128 kq2 = select.kqueue.fromfd(kq.fileno())
133 kq.control([ev], 0)
137 kq.control([ev], 0)
147 events = kq.control(None, 4, 1)
158 events = kq.control(None, 4, 1)
176 kq.control([ev], 0)
180 kq.control([ev], 0)
184 kq.control([ev], 0, 0)
186 events = kq.control([], 4, 0.99)
196 kq = select.kqueue()
202 r = kq.control([event1, event2], 1, 1)
209 kq.close()