Searched refs:rfds (Results 1 – 7 of 7) sorted by relevance
/PHP-7.3/win32/ |
H A D | select.c | 33 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval… in php_select() argument 66 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) { in php_select() 70 if (SAFE_FD_ISSET(i, rfds)) { in php_select() 91 return select(-1, rfds, wfds, efds, tv); in php_select() 139 if (SAFE_FD_ISSET(handle_slot_to_fd[i], rfds)) { in php_select() 155 if (rfds) { in php_select() 156 *rfds = aread; in php_select()
|
H A D | select.h | 24 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval…
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_unix.c | 484 fd_set rfds; in fpm_unix_init_main() local 512 FD_ZERO(&rfds); in fpm_unix_init_main() 513 FD_SET(fpm_globals.send_config_pipe[0], &rfds); in fpm_unix_init_main() 519 ret = select(fpm_globals.send_config_pipe[0] + 1, &rfds, NULL, NULL, &tv); in fpm_unix_init_main()
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli_server.c | 111 fd_set rfds, wfds; member 113 fd_set rfds, wfds; member 757 FD_ZERO(&poller->rfds); in php_cli_server_poller_ctor() 766 PHP_SAFE_FD_SET(fd, &poller->rfds); in php_cli_server_poller_add() 779 PHP_SAFE_FD_CLR(fd, &poller->rfds); in php_cli_server_poller_remove() 788 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove() 799 memmove(&poller->active.rfds, &poller->rfds, sizeof(poller->rfds)); in php_cli_server_poller_poll() 801 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll() 815 for (i = 0; i < poller->active.rfds.fd_count; i++) { in php_cli_server_poller_iter_on_active() 817 n->fd = poller->active.rfds.fd_array[i]; in php_cli_server_poller_iter_on_active() [all …]
|
/PHP-7.3/ext/standard/ |
H A D | streamsfuncs.c | 768 fd_set rfds, wfds, efds; in PHP_FUNCTION() local 784 FD_ZERO(&rfds); in PHP_FUNCTION() 789 set_count = stream_array_to_fd_set(r_array, &rfds, &max_fd); 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); in PHP_FUNCTION()
|
/PHP-7.3/ext/sockets/ |
H A D | sockets.c | 964 fd_set rfds, wfds, efds; local 973 FD_ZERO(&rfds); 977 if (r_array != NULL) sets += php_sock_array_to_fd_set(r_array, &rfds, &max_fd); 1004 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p); 1012 if (r_array != NULL) php_sock_array_from_fd_set(r_array, &rfds);
|
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2587 fd_set rfds, wfds, efds; local 2598 FD_ZERO(&rfds); 2604 set_count = mysqlnd_stream_array_to_fd_set(r_array, &rfds, &max_fd); 2638 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p); 2647 mysqlnd_stream_array_from_fd_set(r_array, &rfds);
|
Completed in 39 milliseconds