Searched refs:rfds (Results 1 – 7 of 7) sorted by relevance
/PHP-7.1/win32/ |
H A D | select.c | 37 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 D | select.h | 21 PHPAPI int php_select(int max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *tv);
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 485 fd_set rfds; in fpm_unix_init_main() local 513 FD_ZERO(&rfds); in fpm_unix_init_main() 514 FD_SET(fpm_globals.send_config_pipe[0], &rfds); in fpm_unix_init_main() 520 ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv); in fpm_unix_init_main()
|
/PHP-7.1/sapi/cli/ |
H A D | php_cli_server.c | 113 fd_set rfds, wfds; member 115 fd_set rfds, wfds; member 750 FD_ZERO(&poller->rfds); in php_cli_server_poller_ctor() 759 PHP_SAFE_FD_SET(fd, &poller->rfds); in php_cli_server_poller_add() 772 PHP_SAFE_FD_CLR(fd, &poller->rfds); in php_cli_server_poller_remove() 781 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove() 792 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds)); in php_cli_server_poller_poll() 794 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll() 808 for (i = 0; i < poller->active.rfds.fd_count; i++) { in php_cli_server_poller_iter_on_active() 810 n->fd = poller->active.rfds.fd_array[i]; in php_cli_server_poller_iter_on_active() [all …]
|
/PHP-7.1/ext/standard/ |
H A D | streamsfuncs.c | 729 fd_set rfds, wfds, efds; in PHP_FUNCTION() local 745 FD_ZERO(&rfds); in PHP_FUNCTION() 750 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd); in PHP_FUNCTION() 809 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); in PHP_FUNCTION() 817 if (r_array != NULL) stream_array_from_fd_set(r_array, &rfds); in PHP_FUNCTION()
|
/PHP-7.1/ext/sockets/ |
H A D | sockets.c | 855 fd_set rfds, wfds, efds; local 864 FD_ZERO(&rfds); 868 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd); 906 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p); 914 if (r_array != NULL) php_sock_array_from_fd_set(r_array, &rfds);
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2620 fd_set rfds, wfds, efds; local 2631 FD_ZERO(&rfds); 2637 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd); 2671 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p); 2680 mysqlnd_stream_array_from_fd_set(r_array, &rfds);
|
Completed in 42 milliseconds