Searched refs:fds (Results 1 – 7 of 7) sorted by relevance
/PHP-5.6/sapi/fpm/fpm/events/ |
H A D | select.c | 53 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.6/sapi/fpm/ |
H A D | config.m4 | 490 struct pollfd fds[2]; 492 fds[0].fd = 0; 493 fds[0].events = POLLIN; 495 fds[1].fd = 0; 496 fds[1].events = POLLIN; 498 poll(fds, 2, 1); 522 fd_set fds; 526 FD_ZERO(&fds); 528 FD_SET(0, &fds); 529 select(FD_SETSIZE, &fds, NULL, NULL, &t);
|
/PHP-5.6/sapi/fpm/fpm/ |
H A D | fastcgi.c | 876 struct pollfd fds; local 881 fds.fd = req->fd; 882 fds.events = POLLIN; 883 fds.revents = 0; 886 ret = poll(&fds, 1, 5000); 888 if (ret > 0 && (fds.revents & POLLIN)) {
|
/PHP-5.6/sapi/cgi/ |
H A D | fastcgi.c | 1236 struct pollfd fds; local 1239 fds.fd = req->fd; 1240 fds.events = POLLIN; 1241 fds.revents = 0; 1244 ret = poll(&fds, 1, 5000); 1246 if (ret > 0 && (fds.revents & POLLIN)) {
|
/PHP-5.6/ext/standard/ |
H A D | streamsfuncs.c | 606 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 632 PHP_SAFE_FD_SET(this_fd, fds); in stream_array_to_fd_set() 643 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds TSRMLS_DC) in stream_array_from_fd_set() 684 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in stream_array_from_fd_set()
|
/PHP-5.6/ext/sockets/ |
H A D | sockets.c | 766 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd TSRMLS_DC) /*… argument 781 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds); 792 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds TSRMLS_DC) /* {{{ */ 814 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd.c | 1308 static int mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_f… argument 1327 PHP_SAFE_FD_SET(this_fd, fds); 1342 static int mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds TSRMLS_DC) 1356 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
|
Completed in 39 milliseconds