Searched refs:wfds (Results 1 – 6 of 6) sorted by relevance
/php-src/win32/ |
H A D | select.c | 34 PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval… in php_select() argument 68 if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) { in php_select() 75 if (SAFE_FD_ISSET(i, wfds)) { in php_select() 96 return select(-1, rfds, wfds, efds, tv); in php_select() 154 if (SAFE_FD_ISSET(handle_slot_to_fd[i], wfds)) { in php_select() 174 if (wfds) { in php_select() 175 *wfds = awrite; 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-src/sapi/cli/ |
H A D | php_cli_server.c | 123 fd_set rfds, wfds; member 125 fd_set rfds, wfds; member 838 FD_ZERO(&poller->wfds); in php_cli_server_poller_ctor() 848 PHP_SAFE_FD_SET(fd, &poller->wfds); in php_cli_server_poller_add() 861 PHP_SAFE_FD_CLR(fd, &poller->wfds); in php_cli_server_poller_remove() 867 if (PHP_SAFE_FD_ISSET(fd, &poller->rfds) || PHP_SAFE_FD_ISSET(fd, &poller->wfds)) { in php_cli_server_poller_remove() 879 memmove(&poller->active.wfds, &poller->wfds, sizeof(poller->wfds)); in php_cli_server_poller_poll() 880 return php_select(poller->max_fd + 1, &poller->active.rfds, &poller->active.wfds, NULL, tv); in php_cli_server_poller_poll() 901 for (i = 0; i < poller->active.wfds.fd_count; i++) { in php_cli_server_poller_iter_on_active() 903 SOCKET fd = poller->active.wfds.fd_array[i]; in php_cli_server_poller_iter_on_active() [all …]
|
/php-src/ext/standard/ |
H A D | streamsfuncs.c | 767 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() 859 retval = php_select(max_fd+1, &rfds, &wfds, &efds, tv_p); in PHP_FUNCTION() 868 if (w_array != NULL) stream_array_from_fd_set(w_array, &wfds); in PHP_FUNCTION()
|
/php-src/ext/sockets/ |
H A D | sockets.c | 594 fd_set rfds, wfds, efds; local 610 FD_ZERO(&wfds); 620 sets += retval = php_sock_array_to_fd_set(2, w_array, &wfds, &max_fd); 655 retval = select(max_fd+1, &rfds, &wfds, &efds, tv_p); 664 if (w_array != NULL) php_sock_array_from_fd_set(w_array, &wfds);
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2188 fd_set rfds, wfds, efds; local 2200 FD_ZERO(&wfds); 2241 retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);
|
Completed in 27 milliseconds