Lines Matching refs:wfds
112 fd_set rfds, wfds; member
114 fd_set rfds, wfds; member
741 FD_ZERO(&poller->wfds); in php_cli_server_poller_ctor()
752 PHP_SAFE_FD_SET(fd, &poller->wfds); in php_cli_server_poller_add()
765 PHP_SAFE_FD_CLR(fd, &poller->wfds); in php_cli_server_poller_remove()
771 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove()
783 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds)); in php_cli_server_poller_poll()
784 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll()
805 for (i = 0; i < poller->active.wfds.fd_count; i++) { in php_cli_server_poller_iter_on_active()
807 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active()
840 if (PHP_SAFE_FD_ISSET(fd, &poller->active.wfds)) { in php_cli_server_poller_iter_on_active()