Lines Matching refs:PyLong_FromLong
422 key = PyLong_FromLong(fd); in poll_register()
425 value = PyLong_FromLong(events); in poll_register()
463 key = PyLong_FromLong(fd); in poll_modify()
472 value = PyLong_FromLong(events); in poll_modify()
504 key = PyLong_FromLong(fd); in poll_unregister()
638 num = PyLong_FromLong(self->ufds[i].fd); in poll_poll()
649 num = PyLong_FromLong(self->ufds[i].revents & 0xffff); in poll_poll()
969 num1 = PyLong_FromLong(self->fds[i].fd); in devpoll_poll()
970 num2 = PyLong_FromLong(self->fds[i].revents); in devpoll_poll()
1037 return PyLong_FromLong(self->fd_devpoll); in devpoll_fileno()
1360 return PyLong_FromLong(self->epfd); in pyepoll_fileno()
2086 return PyLong_FromLong(self->kqfd); in kqueue_queue_fileno()