Home
last modified time | relevance | path

Searched refs:kevent (Results 1 – 25 of 31) sorted by relevance

12

/external/libevent/
Dkqueue.c75 struct kevent *changes;
78 struct kevent *events;
138 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
141 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()
156 if (kevent(kq, in kq_init()
177 kq_setup_kevent(struct kevent *out, evutil_socket_t fd, int filter, short change) in kq_setup_kevent()
179 memset(out, 0, sizeof(struct kevent)); in kq_setup_kevent()
210 struct kevent *out_ch; in kq_build_changes_list()
213 struct kevent *newchanges; in kq_build_changes_list()
217 sizeof(struct kevent)) { in kq_build_changes_list()
[all …]
Dconfigure.ac540 struct kevent ev;
559 n = kevent(kq, &ev, 1, NULL, 0, NULL);
567 n = kevent(kq, NULL, 0, &ev, 1, &ts);
/external/python/cpython2/Lib/test/
Dtest_kqueue.py26 ev = select.kevent(fd)
27 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)
130 ev = select.kevent(server.fileno(),
134 ev = select.kevent(server.fileno(),
[all …]
/external/python/cpython3/Lib/test/
Dtest_kqueue.py29 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 …]
/external/libevent/cmake/
DCheckWorkingKqueue.cmake18 struct kevent ev;
37 n = kevent(kq, &ev, 1, NULL, 0, NULL);
45 n = kevent(kq, NULL, 0, &ev, 1, &ts);
/external/libchrome/base/process/
Dprocess_posix.cc105 struct kevent change = {0}; in WaitForSingleNonChildProcess()
107 int result = HANDLE_EINTR(kevent(kq.get(), &change, 1, NULL, 0, NULL)); in WaitForSingleNonChildProcess()
129 struct kevent event = {0}; in WaitForSingleNonChildProcess()
141 result = kevent(kq.get(), NULL, 0, &event, 1, remaining_timespec_ptr); in WaitForSingleNonChildProcess()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/
DIndicInputMethodImpl.java183 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()
/external/python/cpython2/Doc/library/
Dselect.rst53 .. function:: kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0)
56 :ref:`kevent-objects` below for the methods supported by kevent objects.
296 Low level interface to kevent
298 - changelist must be an iterable of kevent object or ``None``
310 .. attribute:: kevent.ident
314 be an int or an object with a fileno() function. kevent stores the integer
317 .. attribute:: kevent.filter
346 .. attribute:: kevent.flags
375 .. attribute:: kevent.fflags
443 .. attribute:: kevent.data
[all …]
/external/wpa_supplicant_8/src/utils/
Deloop.c99 struct kevent *kqueue_events;
245 struct kevent ke; in eloop_sock_queue()
248 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) == -1) { in eloop_sock_queue()
267 struct kevent *temp_events; in eloop_sock_table_add_sock()
389 struct kevent ke; in eloop_sock_table_remove_sock()
423 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) < 0) { in eloop_sock_table_remove_sock()
638 static void eloop_sock_table_dispatch(struct kevent *events, int nfds) in eloop_sock_table_dispatch()
1159 res = kevent(eloop.kqueuefd, NULL, 0, in eloop_run()
1341 struct kevent ke1, ke2; in eloop_wait_for_read_sock()
1347 kevent(kfd, &ke1, 1, &ke2, 1, NULL); in eloop_wait_for_read_sock()
/external/python/cpython3/Doc/library/
Dselect.rst111 .. 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.
485 Low level interface to kevent
487 - changelist must be an iterable of kevent objects or ``None``
506 .. attribute:: kevent.ident
510 be an int or an object with a :meth:`~io.IOBase.fileno` method. kevent
513 .. attribute:: kevent.filter
542 .. attribute:: kevent.flags
571 .. attribute:: kevent.fflags
639 .. attribute:: kevent.data
[all …]
/external/python/cpython3/Lib/
Dselectors.py520 kev = select.kevent(key.fd, select.KQ_FILTER_READ,
524 kev = select.kevent(key.fd, select.KQ_FILTER_WRITE,
535 kev = select.kevent(key.fd, select.KQ_FILTER_READ,
544 kev = select.kevent(key.fd, select.KQ_FILTER_WRITE,
/external/toybox/lib/
Dportability.c208 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()
/external/python/cpython2/Modules/
Dselectmodule.c1206 struct kevent e;
1592 struct kevent *evl = NULL; in kqueue_queue_control()
1593 struct kevent *chl = NULL; in kqueue_queue_control()
1657 chl = PyMem_New(struct kevent, nchanges); in kqueue_queue_control()
1677 evl = PyMem_New(struct kevent, nevents); in kqueue_queue_control()
1685 gotevents = kevent(self->kqfd, chl, nchanges, in kqueue_queue_control()
/external/python/cpython3/Modules/
Dselectmodule.c1699 struct kevent e;
2050 struct kevent *evl = NULL; in select_kqueue_control_impl()
2051 struct kevent *chl = NULL; in select_kqueue_control_impl()
2102 chl = PyMem_New(struct kevent, nchanges); in select_kqueue_control_impl()
2122 evl = PyMem_New(struct kevent, maxevents); in select_kqueue_control_impl()
2135 gotevents = kevent(self->kqfd, chl, nchanges, in select_kqueue_control_impl()
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/
Dmod.rs11 pub struct kevent {
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/
Dmod.rs20 pub struct kevent {
/external/rust/crates/libc/src/unix/bsd/netbsdlike/openbsd/
Dmod.rs181 pub struct kevent {
1436 pub fn kevent( in kevent() function
1438 changelist: *const ::kevent, in kevent() argument
1440 eventlist: *mut ::kevent, in kevent() argument
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs500 pub struct kevent {
681 impl PartialEq for kevent {
682 fn eq(&self, other: &kevent) -> bool {
691 impl Eq for kevent {}
692 impl ::fmt::Debug for kevent {
710 impl ::hash::Hash for kevent {
3277 pub fn kevent( in kevent() function
3279 changelist: *const ::kevent, in kevent() argument
3281 eventlist: *mut ::kevent, in kevent() argument
/external/rust/crates/libc/src/unix/bsd/netbsdlike/netbsd/
Dmod.rs174 pub struct kevent {
1779 pub fn kevent( in kevent() function
1781 changelist: *const ::kevent, in kevent() argument
1783 eventlist: *mut ::kevent, in kevent() argument
/external/rust/crates/libc/src/unix/bsd/freebsdlike/
Dmod.rs1199 pub fn kevent( in kevent() function
1201 changelist: *const ::kevent, in kevent() argument
1203 eventlist: *mut ::kevent, in kevent() argument
/external/python/cpython2/Misc/NEWS.d/
D2.7.5.rst133 select module: Fix struct kevent definition on OpenBSD 64-bit platforms.
D2.7.6rc1.rst426 Fix a problem in kevent. The flags and fflags fields are now properly
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll75 %struct.kevent = type <{ i64, i16, i16, i32, i64, i8* }>
78 …uct.klist, %struct.klist, %struct.knlist*, %17, %struct.kqueue*, %struct.kevent, i32, i32, i64, %u…
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll74 %struct.kevent = type <{ i64, i16, i16, i32, i64, i8* }>
77 …uct.klist, %struct.klist, %struct.knlist*, %17, %struct.kqueue*, %struct.kevent, i32, i32, i64, %u…
/external/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
Dmod.rs33 pub struct kevent {

12