Home
last modified time | relevance | path

Searched refs:rfds (Results 1 – 6 of 6) sorted by relevance

/PHP-5.3/win32/
H A Dselect.c37 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv) in php_select() argument
65 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) { in php_select()
69 if (SAFE_FD_ISSET(i, rfds)) { in php_select()
90 return select(max_fd, rfds, wfds, efds, tv); in php_select()
138 if (SAFE_FD_ISSET(handle_slot_to_fd[i], rfds)) { in php_select()
154 if (rfds) { in php_select()
155 *rfds = aread; in php_select()
H A Dselect.h21 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv);
/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_unix.c271 fd_set rfds; in fpm_unix_init_main() local
299 FD_ZERO(&rfds); in fpm_unix_init_main()
300 FD_SET(fpm_globals.send_config_pipe[0], &rfds); in fpm_unix_init_main()
306 ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv); in fpm_unix_init_main()
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c768 fd_set rfds, wfds, efds; in PHP_FUNCTION() local
777 FD_ZERO(&rfds); in PHP_FUNCTION()
782 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); in PHP_FUNCTION()
850 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); in PHP_FUNCTION()
858 if (r_array != NULL) stream_array_from_fd_set(r_array, &rfds TSRMLS_CC); in PHP_FUNCTION()
/PHP-5.3/ext/sockets/
H A Dsockets.c791 fd_set rfds, wfds, efds; local
800 FD_ZERO(&rfds);
804 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC);
842 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
850 if (r_array != NULL) php_sock_array_from_fd_set(r_array, &rfds TSRMLS_CC);
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd.c1208 fd_set rfds, wfds, efds; in _mysqlnd_poll() local
1221 FD_ZERO(&rfds); in _mysqlnd_poll()
1226 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd TSRMLS_CC); in _mysqlnd_poll()
1260 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p); in _mysqlnd_poll()
1269 mysqlnd_stream_array_from_fd_set(r_array, &rfds TSRMLS_CC); in _mysqlnd_poll()

Completed in 30 milliseconds