Lines Matching refs:wfds
123 fd_set rfds, wfds; member
125 fd_set rfds, wfds; member
838 FD_ZERO(&poller->wfds); in php_cli_server_poller_ctor()
848 PHP_SAFE_FD_SET(fd, &poller->wfds); in php_cli_server_poller_add()
861 PHP_SAFE_FD_CLR(fd, &poller->wfds); in php_cli_server_poller_remove()
867 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove()
879 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds)); in php_cli_server_poller_poll()
880 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll()
901 for (i = 0; i < poller->active.wfds.fd_count; i++) { in php_cli_server_poller_iter_on_active()
903 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active()
936 if (PHP_SAFE_FD_ISSET(fd, &poller->active.wfds)) { in php_cli_server_poller_iter_on_active()