Searched refs:fds (Results 1 - 6 of 6) sorted by relevance
| /PHP_TRUNK/sapi/cgi/ |
| H A D | fastcgi.c | 1226 struct pollfd fds; local 1229 fds.fd = req->fd; 1230 fds.events = POLLIN; 1231 fds.revents = 0; 1234 ret = poll(&fds, 1, 5000); 1236 if (ret > 0 && (fds.revents & POLLIN)) {
|
| /PHP_TRUNK/sapi/fpm/fpm/events/ |
| H A D | select.c | 53 static fd_set fds; variable 77 FD_ZERO(&fds); 93 /* copy fds because select() alters it */ 94 current_fds = fds; 151 if (!FD_ISSET(ev->fd, &fds)) { 152 FD_SET(ev->fd, &fds); 166 if (FD_ISSET(ev->fd, &fds)) { 167 FD_CLR(ev->fd, &fds);
|
| /PHP_TRUNK/sapi/fpm/fpm/ |
| H A D | fastcgi.c | 844 struct pollfd fds; local 849 fds.fd = req->fd; 850 fds.events = POLLIN; 851 fds.revents = 0; 854 ret = poll(&fds, 1, 5000); 856 if (ret > 0 && (fds.revents & POLLIN)) {
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd.c | 1261 static int mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd TSRMLS_DC) argument 1276 PHP_SAFE_FD_SET(this_fd, fds); 1288 static int mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds TSRMLS_DC) 1300 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
|
| /PHP_TRUNK/ext/standard/ |
| H A D | streamsfuncs.c | 600 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd TSRMLS_DC) argument 631 PHP_SAFE_FD_SET(this_fd, fds); 642 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds TSRMLS_DC) 689 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
|
| /PHP_TRUNK/ext/sockets/ |
| H A D | sockets.c | 764 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd TSRMLS_DC) /* {{{ */ argument 779 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds); 790 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds TSRMLS_DC) /* {{{ */ 812 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) { 2064 Creates a pair of indistinguishable sockets and stores them in fds. */
|
Completed in 24 milliseconds