Home
last modified time | relevance | path

Searched refs:fds (Results 1 – 7 of 7) sorted by relevance

/PHP-5.3/sapi/fpm/fpm/events/
H A Dselect.c53 static fd_set fds; variable
77 FD_ZERO(&fds); in fpm_event_select_init()
94 current_fds = fds; in fpm_event_select_wait()
151 if (!FD_ISSET(ev->fd, &fds)) { in fpm_event_select_add()
152 FD_SET(ev->fd, &fds); in fpm_event_select_add()
166 if (FD_ISSET(ev->fd, &fds)) { in fpm_event_select_remove()
167 FD_CLR(ev->fd, &fds); in fpm_event_select_remove()
/PHP-5.3/sapi/fpm/
H A Dconfig.m4486 struct pollfd fds[2];
488 fds[0].fd = 0;
489 fds[0].events = POLLIN;
491 fds[1].fd = 0;
492 fds[1].events = POLLIN;
494 poll(fds, 2, 1);
518 fd_set fds;
522 FD_ZERO(&fds);
524 FD_SET(0, &fds);
525 select(FD_SETSIZE, &fds, NULL, NULL, &t);
/PHP-5.3/sapi/fpm/fpm/
H A Dfastcgi.c844 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-5.3/sapi/cgi/
H A Dfastcgi.c1006 struct pollfd fds; local
1009 fds.fd = req->fd;
1010 fds.events = POLLIN;
1011 fds.revents = 0;
1014 ret = poll(&fds, 1, 5000);
1016 if (ret > 0 && (fds.revents & POLLIN)) {
/PHP-5.3/ext/standard/
H A Dstreamsfuncs.c610 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd TSRMLS_DC) in stream_array_to_fd_set() argument
641 PHP_SAFE_FD_SET(this_fd, fds); in stream_array_to_fd_set()
652 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds TSRMLS_DC) in stream_array_from_fd_set()
687 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in stream_array_from_fd_set()
/PHP-5.3/ext/sockets/
H A Dsockets.c710 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd TSRMLS_DC) /*… argument
725 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
736 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds TSRMLS_DC) /* {{{ */
758 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd.c1137 static int mysqlnd_stream_array_to_fd_set(MYSQLND **conn_array, fd_set *fds, php_socket_t *max_fd T… in mysqlnd_stream_array_to_fd_set() argument
1152 PHP_SAFE_FD_SET(this_fd, fds); in mysqlnd_stream_array_to_fd_set()
1164 static int mysqlnd_stream_array_from_fd_set(MYSQLND **conn_array, fd_set *fds TSRMLS_DC) in mysqlnd_stream_array_from_fd_set()
1176 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in mysqlnd_stream_array_from_fd_set()

Completed in 36 milliseconds