Searched refs:rfds (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/sockets/
H A Dsockets.c847 fd_set rfds, wfds, efds; local
856 FD_ZERO(&rfds);
860 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
898 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
906 if (r_array != NULL) php_sock_array_from_fd_set(r_array, &rfds 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)) {
69 if (SAFE_FD_ISSET(i, rfds)) {
90 return select(max_fd, rfds, wfds, efds, tv);
138 if (SAFE_FD_ISSET(handle_slot_to_fd[i], rfds)) {
154 if (rfds) {
155 *rfds = aread;
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/sapi/fpm/fpm/
H A Dfpm_unix.c306 fd_set rfds; local
334 FD_ZERO(&rfds);
335 FD_SET(fpm_globals.send_config_pipe[0], &rfds);
341 ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv);
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c764 fd_set rfds, wfds, efds; local
773 FD_ZERO(&rfds);
778 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
846 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p);
854 if (r_array != NULL) stream_array_from_fd_set(r_array, &rfds TSRMLS_CC);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1348 fd_set rfds, wfds, efds; local
1359 FD_ZERO(&rfds);
1365 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
1399 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);
1408 mysqlnd_stream_array_from_fd_set(r_array, &rfds TSRMLS_CC);
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c115 fd_set rfds, wfds; member in struct:php_cli_server_poller
117 fd_set rfds, wfds; member in struct:php_cli_server_poller::__anon1
856 FD_ZERO(&poller->rfds);
865 PHP_SAFE_FD_SET(fd, &poller->rfds);
878 PHP_SAFE_FD_CLR(fd, &poller->rfds);
887 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) {
900 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds));
902 return php_select(poller->max_fd + 1, &poller->active.rfds,
[all...]

Completed in 29 milliseconds