Home
last modified time | relevance | path

Searched refs:ufd_len (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dselectmodule.c318 int ufd_len; member
336 self->ufd_len = PyDict_Size(self->dict); in update_ufd_array()
337 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); in update_ufd_array()
346 assert(i < self->ufd_len); in update_ufd_array()
352 assert(i == self->ufd_len); in update_ufd_array()
560 poll_result = poll(self->ufds, self->ufd_len, timeout); in poll_poll()
/external/python/cpython3/Modules/
Dselectmodule.c342 int ufd_len; member
360 self->ufd_len = PyDict_GET_SIZE(self->dict); in update_ufd_array()
361 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len); in update_ufd_array()
370 assert(i < self->ufd_len); in update_ufd_array()
376 assert(i == self->ufd_len); in update_ufd_array()
590 poll_result = poll(self->ufds, self->ufd_len, (int)ms); in poll_poll()