/external/libevent/ |
D | evport.c | 268 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()
|
D | epoll.c | 88 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()
|
D | devpoll.c | 58 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/ |
D | blktrace.c | 88 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/ |
D | dri2.c | 231 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/ |
D | crash_generation_server.cc | 169 int nevents = poll(pollfds, sizeof(pollfds)/sizeof(pollfds[0]), -1); in Run() local 170 if (-1 == nevents) { in Run()
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 1534 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/ |
D | selectmodule.c | 2100 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/ |
D | bluetooth_socket.py | 514 (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/ |
D | link.c | 836 int nevents = 0; 873 return nevents;
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 2014 struct vki_kevent *,eventlist, int,nevents, in PRE() 2040 struct vki_kevent64 *,eventlist, int,nevents, in PRE()
|