Lines Matching refs:rfds
113 fd_set rfds, wfds; member
115 fd_set rfds, wfds; member
750 FD_ZERO(&poller->rfds); in php_cli_server_poller_ctor()
759 PHP_SAFE_FD_SET(fd, &poller->rfds); in php_cli_server_poller_add()
772 PHP_SAFE_FD_CLR(fd, &poller->rfds); in php_cli_server_poller_remove()
781 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove()
792 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds)); in php_cli_server_poller_poll()
794 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll()
808 for (i = 0; i < poller->active.rfds.fd_count; i++) { in php_cli_server_poller_iter_on_active()
810 n->fd = poller->active.rfds.fd_array[i]; in php_cli_server_poller_iter_on_active()
845 if (PHP_SAFE_FD_ISSET(fd, &poller->active.rfds)) { in php_cli_server_poller_iter_on_active()