Searched refs:fds (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/events/
H A Dselect.c53 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/ext/mysqlnd/
H A Dmysqlnd.c1291 static int mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) argument
1310 PHP_SAFE_FD_SET(this_fd, fds);
1325 static int mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds) argument
1339 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
/PHP_TRUNK/ext/sockets/
H A Dsockets.c775 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd) /* {{{ */ argument
787 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
798 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
815 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
2126 Creates a pair of indistinguishable sockets and stores them in fds. */
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c577 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd) argument
604 PHP_SAFE_FD_SET(this_fd, fds);
615 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds) argument
642 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
/PHP_TRUNK/main/
H A Dfastcgi.c1320 struct pollfd fds; local
1325 fds.fd = req->fd;
1326 fds.events = POLLIN;
1327 fds.revents = 0;
1330 ret = poll(&fds, 1, 5000);
1332 if (ret > 0 && (fds.revents & POLLIN)) {

Completed in 16 milliseconds