Home | History | Annotate | Download | only in Modules

Lines Matching defs:ufds

343     struct pollfd *ufds;
358 struct pollfd *old_ufds = self->ufds;
361 PyMem_RESIZE(self->ufds, struct pollfd, self->ufd_len);
362 if (self->ufds == NULL) {
363 self->ufds = old_ufds;
372 self->ufds[i].fd = (int)PyLong_AsLong(key);
373 self->ufds[i].events = (short)(unsigned short)PyLong_AsLong(value);
590 poll_result = poll(self->ufds, self->ufd_len, (int)ms);
629 while (!self->ufds[i].revents) {
638 num = PyLong_FromLong(self->ufds[i].fd);
649 num = PyLong_FromLong(self->ufds[i].revents & 0xffff);
685 array pointed to by ufds matches the contents of the dictionary. */
687 self->ufds = NULL;
700 if (self->ufds != NULL)
701 PyMem_DEL(self->ufds);