/third_party/node/deps/cares/src/lib/ |
H A D | ares_event_kqueue.c | 55 ares_evsys_kqueue_t *kq = NULL; in ares_evsys_kqueue_destroy() local 61 kq = e->ev_sys_data; in ares_evsys_kqueue_destroy() 62 if (kq == NULL) { in ares_evsys_kqueue_destroy() 66 if (kq->kqueue_fd != -1) { in ares_evsys_kqueue_destroy() 67 close(kq->kqueue_fd); in ares_evsys_kqueue_destroy() 70 ares_free(kq->changelist); in ares_evsys_kqueue_destroy() 71 ares_free(kq); in ares_evsys_kqueue_destroy() 77 ares_evsys_kqueue_t *kq = NULL; in ares_evsys_kqueue_init() local 79 kq = ares_malloc_zero(sizeof(*kq)); in ares_evsys_kqueue_init() 113 ares_evsys_kqueue_enqueue(ares_evsys_kqueue_t *kq, int fd, int16_t filter, uint16_t flags) ares_evsys_kqueue_enqueue() argument 140 ares_evsys_kqueue_t *kq; ares_evsys_kqueue_event_process() local 192 ares_evsys_kqueue_t *kq = e->ev_sys_data; ares_evsys_kqueue_wait() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_kqueue.py | 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) 125 kq = select.kqueue() 126 kq2 = select.kqueue.fromfd(kq.fileno()) 131 kq [all...] |
/third_party/toybox/lib/ |
H A D | portability.c | 199 if ((not->kq = kqueue()) == -1) perror_exit("kqueue"); in xnotify_init() 212 if (kevent(not->kq, &event, 1, NULL, 0, NULL) == -1 || event.flags & EV_ERROR) in xnotify_add() 226 if (kevent(not->kq, NULL, 0, &event, 1, NULL) != -1) { in xnotify_wait() 246 if ((not->kq = inotify_init()) < 0) perror_exit("inotify_init"); in xnotify_init() 258 if ((not->fds[i] = inotify_add_watch(not->kq, path, IN_MODIFY))==-1) in xnotify_add() 272 if (sizeof(ev)!=read(not->kq, &ev, sizeof(ev))) perror_exit("inotify"); in xnotify_wait()
|
H A D | portability.h | 330 int max, *fds, count, kq; member
|
/third_party/rust/crates/nix/src/sys/ |
H A D | event.rs | 271 kq: RawFd, in kevent() 282 kevent_ts(kq, changelist, eventlist, Some(timeout)) in kevent() 297 kq: RawFd, in kevent_ts() 304 kq, in kevent_ts()
|
H A D | signal.rs | 1003 kq: RawFd, 1078 SigevNotify::SigevKevent{ kq, ..} => kq, in new()
|
/third_party/libuv/src/unix/ |
H A D | stream.c | 287 int kq; in uv__stream_try_select() local 293 kq = kqueue(); in uv__stream_try_select() 294 if (kq == -1) { in uv__stream_try_select() 306 ret = kevent(kq, filter, 1, events, 1, &timeout); in uv__stream_try_select() 309 uv__close(kq); in uv__stream_try_select()
|
/third_party/node/deps/uv/src/unix/ |
H A D | stream.c | 277 int kq; in uv__stream_try_select() local 283 kq = kqueue(); in uv__stream_try_select() 284 if (kq == -1) { in uv__stream_try_select() 296 ret = kevent(kq, filter, 1, events, 1, &timeout); in uv__stream_try_select() 299 uv__close(kq); in uv__stream_try_select()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
H A D | mod.rs | 1525 kq: ::c_int, in kevent()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
H A D | mod.rs | 1780 kq: ::c_int, in kevent()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/ |
H A D | mod.rs | 2591 kq: ::c_int, in kevent()
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
H A D | mod.rs | 5341 kq: ::c_int, in kevent() 5349 kq: ::c_int, in kevent64()
|