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

/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/sockets/
H A Dsockets.c836 fd_set rfds, wfds, efds; local
845 FD_ZERO(&rfds);
849 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
887 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
895 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/ext/mysqlnd/
H A Dmysqlnd.c1373 fd_set rfds, wfds, efds; local
1384 FD_ZERO(&rfds);
1390 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
1424 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);
1433 mysqlnd_stream_array_from_fd_set(r_array, &rfds 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
786 FD_ZERO(&poller->rfds);
795 PHP_SAFE_FD_SET(fd, &poller->rfds);
808 PHP_SAFE_FD_CLR(fd, &poller->rfds);
817 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) {
828 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds));
830 return php_select(poller->max_fd + 1, &poller->active.rfds,
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c723 fd_set rfds, wfds, efds; local
732 FD_ZERO(&rfds);
737 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
809 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p);
817 if (r_array != NULL) stream_array_from_fd_set(r_array, &rfds TSRMLS_CC);

Completed in 17 milliseconds