Searched refs:kqueue (Results 1 - 16 of 16) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_kqueue.py | 2 Tests for kqueue wrapper. 11 if not hasattr(select, "kqueue"): 16 kq = select.kqueue() 125 kq = select.kqueue() 126 kq2 = select.kqueue.fromfd(kq.fileno()) 194 kq = select.kqueue() 211 kq = select.kqueue() 237 kqueue = select.kqueue() 240 self.assertIsInstance(kqueue [all...] |
H A D | _test_eintr.py | 465 @unittest.skipUnless(hasattr(select, 'kqueue'), 'need select.kqueue') 467 kqueue = select.kqueue() 468 self.addCleanup(kqueue.close) 471 kqueue.control(None, 1, self.sleep_time)
|
/third_party/rust/crates/nix/src/sys/ |
H A D | event.rs | 1 /* TOOD: Implement for other kqueue based systems 210 pub fn kqueue() -> Result<RawFd> { in kqueue() functions 211 let res = unsafe { libc::kqueue() }; in kqueue()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | eloop.c | 25 #error Do not define both of poll and kqueue 248 eloop.kqueuefd = kqueue(); in eloop_init() 250 wpa_printf(MSG_ERROR, "%s: kqueue failed: %s", in eloop_init() 418 "%s: malloc for kqueue failed: %s", in eloop_sock_table_add_sock() 752 eloop.kqueuefd = kqueue(); in eloop_sock_requeue() 754 wpa_printf(MSG_ERROR, "%s: kqueue failed: %s", in eloop_sock_requeue() 1275 "kqueue" in eloop_run() 1445 kfd = kqueue(); in eloop_wait_for_read_sock()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | eloop.c | 25 #error Do not define both of poll and kqueue 250 eloop.kqueuefd = kqueue(); in eloop_init() 252 wpa_printf(MSG_ERROR, "%s: kqueue failed: %s", in eloop_init() 421 "%s: malloc for kqueue failed: %s", in eloop_sock_table_add_sock() 756 eloop.kqueuefd = kqueue(); in eloop_sock_requeue() 758 wpa_printf(MSG_ERROR, "%s: kqueue failed: %s", in eloop_sock_requeue() 1300 "kqueue" in eloop_run() 1471 kfd = kqueue(); in eloop_wait_for_read_sock()
|
/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_kqueue.c | 86 kq->kqueue_fd = kqueue(); in ares_evsys_kqueue_init() 242 const ares_event_sys_t ares_evsys_kqueue = { "kqueue",
|
/third_party/libuv/src/unix/ |
H A D | kqueue.c | 55 loop->backend_fd = kqueue(); in uv__kqueue_init() 282 /* If kqueue is empty or interrupted, we might still have children ready in uv__io_poll()
|
H A D | stream.c | 276 * kqueue doesn't work with some files from /dev mount on osx. in uv__stream_try_select() 293 kq = kqueue(); in uv__stream_try_select() 295 perror("(libuv) kqueue()"); in uv__stream_try_select() 317 /* At this point we definitely know that this fd won't work with kqueue */ in uv__stream_try_select()
|
/third_party/libuv/test/ |
H A D | test-poll.c | 683 fd = kqueue();
|
/third_party/node/deps/uv/src/unix/ |
H A D | kqueue.c | 52 loop->backend_fd = kqueue(); in uv__kqueue_init()
|
H A D | stream.c | 266 * kqueue doesn't work with some files from /dev mount on osx. in uv__stream_try_select() 283 kq = kqueue(); in uv__stream_try_select() 285 perror("(libuv) kqueue()"); in uv__stream_try_select() 307 /* At this point we definitely know that this fd won't work with kqueue */ in uv__stream_try_select()
|
/third_party/python/Lib/ |
H A D | selectors.py | 504 if hasattr(select, 'kqueue'): 511 self._selector = select.kqueue() 555 # If max_ev is 0, kqueue will ignore the timeout. For consistent 599 # close epoll, kqueue, and devpoll fd 607 # epoll|kqueue|devpoll > poll > select. 609 if _can_use('kqueue'):
|
/third_party/toybox/lib/ |
H A D | portability.c | 199 if ((not->kq = kqueue()) == -1) perror_exit("kqueue"); in xnotify_init()
|
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 632 pub fn kqueue() -> ::c_int; in kqueue() functions
|
/third_party/python/Modules/ |
H A D | selectmodule.c | 97 class select.kqueue "kqueue_queue_Object *" "_selectstate_by_type(type)->kqueue_queue_Type" 1697 * kqueue interface for BSD 1733 See the kqueue manpage for more detailed information about the meaning\n\ 1753 SOCKET kqfd; /* kqueue control fd */ 1936 PyErr_SetString(PyExc_ValueError, "I/O operation on closed kqueue object"); in kqueue_queue_err_closed() 1969 self->kqfd = kqueue(); in newKqueue_Object() 1992 select.kqueue.__new__ 1997 >>> kq = kqueue() 2027 select.kqueue.close 2029 Close the kqueue contro [all...] |
/third_party/python/ |
H A D | configure | 17982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for kqueue" >&5 17983 printf %s "checking for kqueue... " >&6; } 17997 void *x=kqueue
|
Completed in 39 milliseconds