/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_kqueue.py | 26 ev = select.kevent(fd) 27 other = select.kevent(1000) 43 ev = select.kevent(fd, select.KQ_FILTER_WRITE) 53 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT) 63 ev = select.kevent(1, 2, 3, 4, 5, 6) 74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) 102 ev = select.kevent(server.fileno(), 106 ev = select.kevent(server.fileno(), 110 ev = select.kevent(client.fileno(), 114 ev = select.kevent(client.fileno() [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_kqueue.py | 26 ev = select.kevent(fd) 27 other = select.kevent(1000) 43 ev = select.kevent(fd, select.KQ_FILTER_WRITE) 53 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT) 63 ev = select.kevent(1, 2, 3, 4, 5, 6) 74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) 102 ev = select.kevent(server.fileno(), 106 ev = select.kevent(server.fileno(), 110 ev = select.kevent(client.fileno(), 114 ev = select.kevent(client.fileno() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_kqueue.py | 26 ev = select.kevent(fd) 27 other = select.kevent(1000) 43 ev = select.kevent(fd, select.KQ_FILTER_WRITE) 53 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT) 63 ev = select.kevent(1, 2, 3, 4, 5, 6) 74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) 102 ev = select.kevent(server.fileno(), 106 ev = select.kevent(server.fileno(), 110 ev = select.kevent(client.fileno(), 114 ev = select.kevent(client.fileno() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_kqueue.py | 26 ev = select.kevent(fd) 27 other = select.kevent(1000) 43 ev = select.kevent(fd, select.KQ_FILTER_WRITE) 53 ev = select.kevent(fd, select.KQ_FILTER_WRITE, select.KQ_EV_ONESHOT) 63 ev = select.kevent(1, 2, 3, 4, 5, 6) 74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) 102 ev = select.kevent(server.fileno(), 106 ev = select.kevent(server.fileno(), 110 ev = select.kevent(client.fileno(), 114 ev = select.kevent(client.fileno() [all...] |
/external/libevent/ |
kqueue.c | 49 /* Some platforms apparently define the udata field of struct kevent as 70 struct kevent *changes; 73 struct kevent *events; 132 kqueueop->changes = mm_calloc(NEVENT, sizeof(struct kevent)); 135 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); 146 * If kqueue works, then kevent will succeed, and it will 148 * kevent will fail. 150 if (kevent(kq, 177 kq_setup_kevent(struct kevent *out, evutil_socket_t fd, int filter, short change) 179 memset(out, 0, sizeof(struct kevent)); [all...] |
/external/libchrome/base/files/ |
file_path_watcher_kqueue.h | 61 typedef std::vector<struct kevent> EventVector; 66 // Returns true if the kevent values are error free. 67 bool AreKeventValuesValid(struct kevent* kevents, int count); 95 // Fills |events| with one kevent per component in |path|. 100 // Release a kevent generated by EventsForPath. 101 static void ReleaseEvent(struct kevent& event); 112 // Returns true if kevent has open file descriptor. 113 static bool IsKeventFileDescriptorOpen(const struct kevent& event) { 117 static EventData* EventDataForKevent(const struct kevent& event) {
|
file_path_watcher_kqueue.cc | 31 void FilePathWatcherKQueue::ReleaseEvent(struct kevent& event) { 71 struct kevent event; 98 bool FilePathWatcherKQueue::AreKeventValuesValid(struct kevent* kevents, 101 DPLOG(ERROR) << "kevent"; 107 // Find the kevent in |events_| that matches the kevent with the error. 211 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], valid, &updates[0], 243 int count = HANDLE_EINTR(kevent(kqueue_, NULL, 0, &updates[0], updates.size(), 259 // Find our kevent record that matches the update notification. 345 int count = HANDLE_EINTR(kevent(kqueue_, &events_[0], last_entry [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
netpoll_kqueue.go | 16 func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 46 n := kevent(kq, &ev[0], 2, nil, 0, nil) 76 n := kevent(kq, nil, 0, &events[0], int32(len(events)), tp) 80 println("runtime: kevent on fd", kq, "failed with", -n)
|
sys_dragonfly_amd64.s | 340 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 341 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_freebsd_386.s | 391 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 392 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_freebsd_amd64.s | 330 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 331 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_netbsd_386.s | 384 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout) 385 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_netbsd_amd64.s | 354 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout) 355 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_openbsd_386.s | 396 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 397 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_openbsd_amd64.s | 346 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 347 TEXT runtime·kevent(SB),NOSPLIT,$0
|
/prebuilts/go/linux-x86/src/runtime/ |
netpoll_kqueue.go | 16 func kevent(kq int32, ch *keventt, nch int32, ev *keventt, nev int32, ts *timespec) int32 46 n := kevent(kq, &ev[0], 2, nil, 0, nil) 76 n := kevent(kq, nil, 0, &events[0], int32(len(events)), tp) 80 println("runtime: kevent on fd", kq, "failed with", -n)
|
sys_dragonfly_amd64.s | 340 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 341 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_freebsd_386.s | 391 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 392 TEXT runtime·kevent(SB),NOSPLIT,$0
|
sys_freebsd_amd64.s | 330 // int32 runtime·kevent(int kq, Kevent *changelist, int nchanges, Kevent *eventlist, int nevents, Timespec *timeout); 331 TEXT runtime·kevent(SB),NOSPLIT,$0
|
/external/dbus/bus/ |
dir-watch-kqueue.c | 55 struct kevent ev; 60 res = kevent (kq, NULL, 0, &ev, 1, &nullts); 69 _dbus_verbose ("Sending SIGHUP signal on reception of a kevent\n"); 143 struct kevent ev; 219 if (kevent (kq, &ev, 1, NULL, 0, NULL) == -1) 221 _dbus_warn ("Cannot setup a kevent for '%s'; error '%s'\n", new_dirs[i], _dbus_strerror (errno));
|
/external/libchrome/base/process/ |
process_posix.cc | 103 struct kevent change; 106 int result = HANDLE_EINTR(kevent(kq.get(), &change, 1, NULL, 0, NULL)); 113 DPLOG(ERROR) << "kevent (setup " << handle << ")"; 117 // Keep track of the elapsed time to be able to restart kevent if it's 128 struct kevent event; 141 result = kevent(kq.get(), NULL, 0, &event, 1, remaining_timespec_ptr); 154 DPLOG(ERROR) << "kevent (wait " << handle << ")"; 157 DLOG(ERROR) << "kevent (wait " << handle << "): unexpected result " 170 DLOG(ERROR) << "kevent (wait " << handle
|
/external/dhcpcd-6.8.2/ |
eloop.c | 88 struct kevent ke[2]; 117 error = kevent(ctx->poll_fd, ke, 172 if (kevent(ctx->poll_fd, ke, write_cb ? 2 : 1, NULL, 0, NULL) == -1) 204 struct kevent ke[2]; 219 kevent(ctx->poll_fd, ke, 1, NULL, 0, 240 kevent(ctx->poll_fd, ke, e->write_cb ? 2 : 1, 397 struct kevent *ke; 434 error = kevent(ctx->poll_fd, ke, LENC(i), NULL, 0, NULL); 530 struct kevent ke; 578 n = kevent(ctx->poll_fd, NULL, 0, &ke, 1, tsp) [all...] |
/packages/apps/TV/usbtuner/jni/ |
DvbManager.cpp | 61 struct dvb_frontend_event kevent; local 62 memset(&kevent, 0, sizeof(kevent)); 63 if (ioctl(mFeFd, FE_READ_STATUS, &kevent.status) == 0) { 64 return (kevent.status & FE_HAS_LOCK);
|
/external/wpa_supplicant_8/src/utils/ |
eloop.c | 99 struct kevent *kqueue_events; 230 struct kevent ke; 243 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) == -1) { 244 wpa_printf(MSG_ERROR, "%s: kevent(ADD) for fd=%d failed: %s", 261 struct kevent *temp_events; 382 struct kevent ke; 415 if (kevent(eloop.kqueuefd, &ke, 1, NULL, 0, NULL) < 0) { 416 wpa_printf(MSG_ERROR, "%s: kevent(DEL) for fd=%d failed: %s", 630 static void eloop_sock_table_dispatch(struct kevent *events, int nfds) 1149 res = kevent(eloop.kqueuefd, NULL, 0 [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/ |
IndicInputMethodImpl.java | 181 void handleKeyTyped(KeyEvent kevent) { 182 char keyChar = kevent.getKeyChar(); 199 kevent.consume(); 282 kevent.consume();// prevent client from getting this event.
|