Home
last modified time | relevance | path

Searched refs:nchanges (Results 1 – 3 of 3) sorted by relevance

/external/libevent/
Ddevpoll.c61 int nchanges; member
92 sizeof(struct pollfd) * devpollop->nchanges, 0) == -1) in devpoll_commit()
95 devpollop->nchanges = 0; in devpoll_commit()
103 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue()
112 pfd = &devpollop->changes[devpollop->nchanges++]; in devpoll_queue()
175 if (devpollop->nchanges) in devpoll_dispatch()
/external/python/cpython2/Modules/
Dselectmodule.c1586 int nchanges = 0; in kqueue_queue_control() local
1655 nchanges = (int)PySequence_Fast_GET_SIZE(seq); in kqueue_queue_control()
1657 chl = PyMem_New(struct kevent, nchanges); in kqueue_queue_control()
1662 for (i = 0; i < nchanges; ++i) { in kqueue_queue_control()
1685 gotevents = kevent(self->kqfd, chl, nchanges, in kqueue_queue_control()
/external/python/cpython3/Modules/
Dselectmodule.c2115 int nchanges = 0; in kqueue_queue_control() local
2174 nchanges = (int)PySequence_Fast_GET_SIZE(seq); in kqueue_queue_control()
2176 chl = PyMem_New(struct kevent, nchanges); in kqueue_queue_control()
2181 for (i = 0; i < nchanges; ++i) { in kqueue_queue_control()
2209 gotevents = kevent(self->kqfd, chl, nchanges, in kqueue_queue_control()