Searched refs:wfds (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/sockets/
H A Dsockets.c847 fd_set rfds, wfds, efds; local
857 FD_ZERO(&wfds);
861 if (w_array != NULL) sets += php_sock_array_to_fd_set(w_array, &wfds, &max_fd TSRMLS_CC);
898 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
907 if (w_array != NULL) php_sock_array_from_fd_set(w_array, &wfds TSRMLS_CC);
/PHP_TRUNK/win32/
H A Dselect.c37 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv) argument
65 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) {
72 if (SAFE_FD_ISSET(i, wfds)) {
90 return select(max_fd, rfds, wfds, efds, tv);
141 if (SAFE_FD_ISSET(handle_slot_to_fd[i], wfds)) {
157 if (wfds) {
158 *wfds = awrite;
H A Dselect.h21 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv);
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c770 fd_set rfds, wfds, efds; local
780 FD_ZERO(&wfds);
791 set_count = stream_array_to_fd_set(w_array, &wfds, &max_fd TSRMLS_CC);
852 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p);
861 if (w_array != NULL) stream_array_from_fd_set(w_array, &wfds TSRMLS_CC);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c116 fd_set rfds, wfds; member in struct:php_cli_server_poller
118 fd_set rfds, wfds; member in struct:php_cli_server_poller::__anon1
796 FD_ZERO(&poller->wfds);
807 PHP_SAFE_FD_SET(fd, &poller->wfds);
820 PHP_SAFE_FD_CLR(fd, &poller->wfds);
826 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) {
838 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds));
839 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NUL
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1374 fd_set rfds, wfds, efds; local
1386 FD_ZERO(&wfds);
1425 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);

Completed in 26 milliseconds