Home
last modified time | relevance | path

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

/PHP-7.3/win32/
H A Dselect.c33 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()
73 if (SAFE_FD_ISSET(i, wfds)) { in php_select()
91 return select(-1, rfds, wfds, efds, tv); in php_select()
142 if (SAFE_FD_ISSET(handle_slot_to_fd[i], wfds)) { in php_select()
158 if (wfds) { in php_select()
159 *wfds = awrite; in php_select()
H A Dselect.h24 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval…
/PHP-7.3/sapi/cli/
H A Dphp_cli_server.c111 fd_set rfds, wfds; member
113 fd_set rfds, wfds; member
758 FD_ZERO(&poller->wfds); in php_cli_server_poller_ctor()
769 PHP_SAFE_FD_SET(fd, &poller->wfds); in php_cli_server_poller_add()
782 PHP_SAFE_FD_CLR(fd, &poller->wfds); 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()
800 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds)); 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()
822 for (i = 0; i < poller->active.wfds.fd_count; i++) { in php_cli_server_poller_iter_on_active()
824 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active()
[all …]
/PHP-7.3/ext/standard/
H A Dstreamsfuncs.c768 fd_set rfds, wfds, efds; in PHP_FUNCTION() local
785 FD_ZERO(&wfds); in PHP_FUNCTION()
796 set_count = stream_array_to_fd_set(w_array, &wfds, &max_fd); in PHP_FUNCTION()
850 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); in PHP_FUNCTION()
859 if (w_array != NULL) stream_array_from_fd_set(w_array, &wfds); in PHP_FUNCTION()
/PHP-7.3/ext/sockets/
H A Dsockets.c964 fd_set rfds, wfds, efds; local
974 FD_ZERO(&wfds);
978 if (w_array != NULL) sets += php_sock_array_to_fd_set(w_array, &wfds, &max_fd);
1004 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p);
1013 if (w_array != NULL) php_sock_array_from_fd_set(w_array, &wfds);
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_connection.c2587 fd_set rfds, wfds, efds; local
2599 FD_ZERO(&wfds);
2638 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);

Completed in 47 milliseconds