Searched refs:rfds (Results 1 – 7 of 7) sorted by relevance
/PHP-8.1/win32/ |
H A D | select.c | 31 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval… in php_select() argument 64 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) { in php_select() 68 if (SAFE_FD_ISSET(i, rfds)) { in php_select() 89 return select(-1, rfds, wfds, efds, tv); in php_select() 137 if (SAFE_FD_ISSET(handle_slot_to_fd[i], rfds)) { in php_select() 153 if (rfds) { in php_select() 154 *rfds = aread; in php_select()
|
H A D | select.h | 22 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval…
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 497 fd_set rfds; in fpm_unix_init_main() local 525 FD_ZERO(&rfds); in fpm_unix_init_main() 526 FD_SET(fpm_globals.send_config_pipe[0], &rfds); in fpm_unix_init_main() 532 ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv); in fpm_unix_init_main()
|
/PHP-8.1/sapi/cli/ |
H A D | php_cli_server.c | 112 fd_set rfds, wfds; member 114 fd_set rfds, wfds; member 788 FD_ZERO(&poller->rfds); in php_cli_server_poller_ctor() 797 PHP_SAFE_FD_SET(fd, &poller->rfds); in php_cli_server_poller_add() 810 PHP_SAFE_FD_CLR(fd, &poller->rfds); in php_cli_server_poller_remove() 819 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove() 830 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds)); in php_cli_server_poller_poll() 832 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll() 846 for (i = 0; i < poller->active.rfds.fd_count; i++) { in php_cli_server_poller_iter_on_active() 848 n->fd = poller->active.rfds.fd_array[i]; in php_cli_server_poller_iter_on_active() [all …]
|
/PHP-8.1/ext/standard/ |
H A D | streamsfuncs.c | 766 fd_set rfds, wfds, efds; in PHP_FUNCTION() local 783 FD_ZERO(&rfds); in PHP_FUNCTION() 788 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd); in PHP_FUNCTION() 858 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); in PHP_FUNCTION() 866 if (r_array != NULL) stream_array_from_fd_set(r_array, &rfds); in PHP_FUNCTION()
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2223 fd_set rfds, wfds, efds; local 2234 FD_ZERO(&rfds); 2240 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd); 2276 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p); 2285 mysqlnd_stream_array_from_fd_set(r_array, &rfds);
|
/PHP-8.1/ext/sockets/ |
H A D | sockets.c | 735 fd_set rfds, wfds, efds; local 745 FD_ZERO(&rfds); 750 sets += retval = php_sock_array_to_fd_set(1, r_array, &rfds, &max_fd); 791 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p); 799 if (r_array != NULL) php_sock_array_from_fd_set(r_array, &rfds);
|
Completed in 56 milliseconds