Home
last modified time | relevance | path

Searched refs:nevents (Results 1 – 11 of 11) sorted by relevance

/external/libevent/
Devport.c268 int nevents = 1; in evport_dispatch() local
307 (unsigned int *) &nevents, ts_p); in evport_dispatch()
315 if (nevents == 0) in evport_dispatch()
323 event_debug(("%s: port_getn reports %d events", __func__, nevents)); in evport_dispatch()
325 for (i = 0; i < nevents; ++i) { in evport_dispatch()
358 epdp->ed_npending = nevents; in evport_dispatch()
360 if (nevents == epdp->ed_maxevents && in evport_dispatch()
Depoll.c88 int nevents; member
175 epollop->nevents = INITIAL_NEVENT; in epoll_init()
462 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout); in epoll_dispatch()
476 EVUTIL_ASSERT(res <= epollop->nevents); in epoll_dispatch()
503 if (res == epollop->nevents && epollop->nevents < MAX_NEVENT) { in epoll_dispatch()
506 int new_nevents = epollop->nevents * 2; in epoll_dispatch()
513 epollop->nevents = new_nevents; in epoll_dispatch()
Ddevpoll.c58 int nevents; member
103 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue()
152 devpollop->nevents = nfiles; in devpoll_init()
182 dvp.dp_nfds = devpollop->nevents; in devpoll_dispatch()
/external/blktrace/
Dblktrace.c88 unsigned long long nevents; member
489 static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents) in pdc_nev_update() argument
491 dpp->stats[cpu].nevents += nevents; in pdc_nev_update()
1325 int off, t_len, nevents; in handle_list_file() local
1349 nevents = 0; in handle_list_file()
1357 nevents++; in handle_list_file()
1359 if (nevents) in handle_list_file()
1360 pdc_nev_update(tbp->dpp, tbp->cpu, nevents); in handle_list_file()
1948 unsigned long long nevents, data_read; in show_stats() local
1967 nevents = 0; in show_stats()
[all …]
/external/mesa3d/src/glx/
Ddri2.c231 int i, nevents; in DRI2QueryVersion() local
253 nevents = 0; in DRI2QueryVersion()
256 nevents = 1; in DRI2QueryVersion()
260 nevents = 2; in DRI2QueryVersion()
264 for (i = 0; i < nevents; i++) { in DRI2QueryVersion()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc169 int nevents = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), -1); in Run() local
170 if (-1 == nevents) { in Run()
/external/python/cpython2/Modules/
Dselectmodule.c1534 int nevents = 0; in kqueue_queue_control() local
1550 if (!PyArg_ParseTuple(args, "Oi|O:control", &ch, &nevents, &otimeout)) in kqueue_queue_control()
1553 if (nevents < 0) { in kqueue_queue_control()
1556 nevents); in kqueue_queue_control()
1629 if (nevents) { in kqueue_queue_control()
1630 evl = PyMem_New(struct kevent, nevents); in kqueue_queue_control()
1639 evl, nevents, ptimeoutspec); in kqueue_queue_control()
/external/python/cpython3/Modules/
Dselectmodule.c2100 int nevents = 0; in kqueue_queue_control() local
2117 if (!PyArg_ParseTuple(args, "Oi|O:control", &ch, &nevents, &otimeout)) in kqueue_queue_control()
2120 if (nevents < 0) { in kqueue_queue_control()
2123 nevents); in kqueue_queue_control()
2185 if (nevents) { in kqueue_queue_control()
2186 evl = PyMem_New(struct kevent, nevents); in kqueue_queue_control()
2200 evl, nevents, ptimeoutspec); in kqueue_queue_control()
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py514 (ncommands, nevents) = struct.unpack_from('<HH', buffer(data, 0, 4))
516 expected_length = offset + (ncommands * 2) + (nevents * 2)
528 while len(events) < nevents:
/external/libnl/lib/route/
Dlink.c836 int nevents = 0;
873 return nevents;
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c2014 struct vki_kevent *,eventlist, int,nevents, in PRE()
2040 struct vki_kevent64 *,eventlist, int,nevents, in PRE()