/third_party/rust/crates/nix/src/sys/ |
D | event.rs | 18 kevent: libc::kevent, field 232 kevent: libc::kevent { in new() 246 self.kevent.ident in ident() 250 self.kevent.filter.try_into() in filter() 254 EventFlag::from_bits(self.kevent.flags).unwrap() in flags() 258 FilterFlag::from_bits(self.kevent.fflags).unwrap() in fflags() 262 self.kevent.data as intptr_t in data() 266 self.kevent.udata as intptr_t in udata() 270 pub fn kevent( in kevent() function 303 libc::kevent( in kevent_ts() [all …]
|
/third_party/libuv/src/unix/ |
D | kqueue.c | 95 struct kevent ev; in uv__io_check_fd() 100 if (kevent(loop->backend_fd, &ev, 1, NULL, 0, NULL)) in uv__io_check_fd() 105 if (kevent(loop->backend_fd, &ev, 1, NULL, 0, NULL)) in uv__io_check_fd() 113 struct kevent events[1024]; in uv__io_poll() 114 struct kevent* ev; in uv__io_poll() 168 if (kevent(loop->backend_fd, events, nevents, NULL, 0, NULL)) in uv__io_poll() 178 if (kevent(loop->backend_fd, events, nevents, NULL, 0, NULL)) in uv__io_poll() 188 if (kevent(loop->backend_fd, events, nevents, NULL, 0, NULL)) in uv__io_poll() 231 nfds = kevent(loop->backend_fd, in uv__io_poll() 312 struct kevent events[1]; in uv__io_poll() [all …]
|
D | process.c | 1006 struct kevent event; in uv_spawn() 1008 if (kevent(loop->backend_fd, &event, 1, NULL, 0, NULL)) { in uv_spawn()
|
D | stream.c | 270 struct kevent filter[1]; in uv__stream_try_select() 271 struct kevent events[1]; in uv__stream_try_select() 296 ret = kevent(kq, filter, 1, events, 1, &timeout); in uv__stream_try_select()
|
/third_party/node/deps/uv/src/unix/ |
D | kqueue.c | 95 struct kevent ev; in uv__io_check_fd() 100 if (kevent(loop->backend_fd, &ev, 1, NULL, 0, NULL)) in uv__io_check_fd() 105 if (kevent(loop->backend_fd, &ev, 1, NULL, 0, NULL)) in uv__io_check_fd() 113 struct kevent events[1024]; in uv__io_poll() 114 struct kevent* ev; in uv__io_poll() 168 if (kevent(loop->backend_fd, events, nevents, NULL, 0, NULL)) in uv__io_poll() 178 if (kevent(loop->backend_fd, events, nevents, NULL, 0, NULL)) in uv__io_poll() 188 if (kevent(loop->backend_fd, events, nevents, NULL, 0, NULL)) in uv__io_poll() 231 nfds = kevent(loop->backend_fd, in uv__io_poll() 312 struct kevent events[1]; in uv__io_poll() [all …]
|
D | process.c | 1006 struct kevent event; in uv_spawn() 1008 if (kevent(loop->backend_fd, &event, 1, NULL, 0, NULL)) { in uv_spawn()
|
D | stream.c | 270 struct kevent filter[1]; in uv__stream_try_select() 271 struct kevent events[1]; in uv__stream_try_select() 296 ret = kevent(kq, filter, 1, events, 1, &timeout); in uv__stream_try_select()
|
/third_party/python/Lib/test/ |
D | test_kqueue.py | 29 ev = select.kevent(fd) 30 other = select.kevent(1000) 46 ev = select.kevent(fd, select.KQ_FILTER_WRITE) 56 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT) 66 ev = select.kevent(1, 2, 3, 4, 5, 6) 77 ev = select.kevent(bignum, 1, 2, 3, bignum - 1, bignum) 89 ev = select.kevent(0, 1, bignum) 101 ev = select.kevent(0, 1, 2, bignum) 128 ev = select.kevent(server.fileno(), 132 ev = select.kevent(server.fileno(), [all …]
|
/third_party/libinput/test/ |
D | test-keyboard.c | 109 struct libinput_event_keyboard *kevent; in START_TEST() local 149 kevent = libinput_event_get_keyboard_event(event); in START_TEST() 150 ck_assert_int_eq(libinput_event_keyboard_get_key(kevent), in START_TEST() 152 ck_assert_int_eq(libinput_event_keyboard_get_key_state(kevent), in START_TEST() 171 struct libinput_event_keyboard *kevent; in START_TEST() local 239 kevent = libinput_event_get_keyboard_event(event); in START_TEST() 240 ck_assert_int_eq(libinput_event_keyboard_get_key_state(kevent), in START_TEST() 242 key = libinput_event_keyboard_get_key(kevent); in START_TEST()
|
D | litest.c | 3682 struct libinput_event_keyboard *kevent; in litest_is_keyboard_event() local 3688 kevent = libinput_event_get_keyboard_event(event); in litest_is_keyboard_event() 3689 litest_assert_ptr_notnull(kevent); in litest_is_keyboard_event() 3691 litest_assert_int_eq(libinput_event_keyboard_get_key(kevent), key); in litest_is_keyboard_event() 3692 litest_assert_int_eq(libinput_event_keyboard_get_key_state(kevent), in litest_is_keyboard_event() 3694 return kevent; in litest_is_keyboard_event()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/ |
D | IndicInputMethodImpl.java | 183 void handleKeyTyped(KeyEvent kevent) { in handleKeyTyped() argument 184 char keyChar = kevent.getKeyChar(); in handleKeyTyped() 201 kevent.consume(); in handleKeyTyped() 284 kevent.consume();// prevent client from getting this event. in handleKeyTyped()
|
/third_party/node/deps/cares/src/lib/ |
D | ares_event_kqueue.c | 48 struct kevent *changelist; 190 struct kevent events[8]; in ares_evsys_kqueue_wait() 207 rv = kevent(kq->kqueue_fd, kq->changelist, (int)kq->nchanges, events, in ares_evsys_kqueue_wait()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | eloop.c | 111 struct kevent *kqueue_events; 320 struct kevent ke; in eloop_sock_queue() 323 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) == -1) { in eloop_sock_queue() 342 struct kevent *temp_events; in eloop_sock_table_add_sock() 463 struct kevent ke; in eloop_sock_table_remove_sock() 497 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) < 0) { in eloop_sock_table_remove_sock() 712 static void eloop_sock_table_dispatch(struct kevent *events, int nfds) in eloop_sock_table_dispatch() 1258 res = kevent(eloop.kqueuefd, NULL, 0, in eloop_run() 1443 struct kevent ke1, ke2; in eloop_wait_for_read_sock() 1449 kevent(kfd, &ke1, 1, &ke2, 1, NULL); in eloop_wait_for_read_sock()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | eloop.c | 111 struct kevent *kqueue_events; 322 struct kevent ke; in eloop_sock_queue() 325 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) == -1) { in eloop_sock_queue() 344 struct kevent *temp_events; in eloop_sock_table_add_sock() 466 struct kevent ke; in eloop_sock_table_remove_sock() 500 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) < 0) { in eloop_sock_table_remove_sock() 715 static void eloop_sock_table_dispatch(struct kevent *events, int nfds) in eloop_sock_table_dispatch() 1268 res = kevent(eloop.kqueuefd, NULL, 0, in eloop_run() 1454 struct kevent ke1, ke2; in eloop_wait_for_read_sock() 1460 kevent(kfd, &ke1, 1, &ke2, 1, NULL); in eloop_wait_for_read_sock()
|
/third_party/python/Doc/library/ |
D | select.rst | 111 .. function:: kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0) 114 :ref:`kevent-objects` below for the methods supported by kevent objects. 488 Low level interface to kevent 490 - changelist must be an iterable of kevent objects or ``None`` 509 .. attribute:: kevent.ident 513 be an int or an object with a :meth:`~io.IOBase.fileno` method. kevent 516 .. attribute:: kevent.filter 545 .. attribute:: kevent.flags 574 .. attribute:: kevent.fflags 642 .. attribute:: kevent.data [all …]
|
/third_party/python/Lib/ |
D | selectors.py | 521 kev = select.kevent(key.fd, select.KQ_FILTER_READ, 525 kev = select.kevent(key.fd, select.KQ_FILTER_WRITE, 536 kev = select.kevent(key.fd, select.KQ_FILTER_READ, 545 kev = select.kevent(key.fd, select.KQ_FILTER_WRITE,
|
/third_party/toybox/lib/ |
D | portability.c | 208 struct kevent event; in xnotify_add() 212 if (kevent(not->kq, &event, 1, NULL, 0, NULL) == -1 || event.flags & EV_ERROR) in xnotify_add() 222 struct kevent event; in xnotify_wait() 226 if (kevent(not->kq, NULL, 0, &event, 1, NULL) != -1) { in xnotify_wait()
|
/third_party/python/Modules/ |
D | selectmodule.c | 1725 struct kevent e; 2094 struct kevent *evl = NULL; in select_kqueue_control_impl() 2095 struct kevent *chl = NULL; in select_kqueue_control_impl() 2147 chl = PyMem_New(struct kevent, nchanges); in select_kqueue_control_impl() 2168 evl = PyMem_New(struct kevent, maxevents); in select_kqueue_control_impl() 2181 gotevents = kevent(self->kqfd, chl, nchanges, in select_kqueue_control_impl()
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/ |
D | mod.rs | 229 pub struct kevent { 1779 pub fn kevent( in kevent() function 1781 changelist: *const ::kevent, in kevent() argument 1783 eventlist: *mut ::kevent, in kevent() argument
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
D | mod.rs | 11 pub struct kevent {
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 20 pub struct kevent {
|
/third_party/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 1033 pub struct kevent { 1384 impl PartialEq for kevent { 1385 fn eq(&self, other: &kevent) -> bool { 1394 impl Eq for kevent {} 1395 impl ::fmt::Debug for kevent { 1413 impl ::hash::Hash for kevent { 5340 pub fn kevent( in kevent() function 5342 changelist: *const ::kevent, in kevent() argument 5344 eventlist: *mut ::kevent, in kevent() argument
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/ |
D | mod.rs | 1524 pub fn kevent( in kevent() function 1526 changelist: *const ::kevent, in kevent() argument 1528 eventlist: *mut ::kevent, in kevent() argument
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd14/ |
D | mod.rs | 23 pub struct kevent {
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 23 pub struct kevent {
|