Searched refs:fds (Results 1 – 8 of 8) sorted by relevance
/PHP-7.2/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-7.2/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-7.2/main/ |
H A D | fastcgi.c | 1436 struct pollfd fds; local 1439 fds.fd = req->fd; 1440 fds.events = POLLIN; 1441 fds.revents = 0; 1444 ret = poll(&fds, 1, 5000); 1446 if (ret > 0 && (fds.revents & POLLIN)) {
|
/PHP-7.2/ext/standard/ |
H A D | streamsfuncs.c | 618 static int stream_array_to_fd_set(zval *stream_array, fd_set *fds, php_socket_t *max_fd) in stream_array_to_fd_set() argument 646 PHP_SAFE_FD_SET(this_fd, fds); in stream_array_to_fd_set() 657 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds) in stream_array_from_fd_set() argument 685 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in stream_array_from_fd_set()
|
/PHP-7.2/ext/sockets/ |
H A D | sockets.c | 847 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd) /* {{{ */ argument 860 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds); 871 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument 889 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
|
/PHP-7.2/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2550 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) argument 2571 PHP_SAFE_FD_SET(this_fd, fds); 2587 mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds) argument 2601 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
|
/PHP-7.2/ext/fileinfo/tests/ |
H A D | magic | 5760 # fds: file(1) magic for Famciom Disk System disk images 5766 0 name nintendo-fds-disk-info-block 5776 >>0x10 use nintendo-fds-disk-info-block 5782 >0 use nintendo-fds-disk-info-block 5791 >>0x2010 use nintendo-fds-disk-info-block
|
H A D | magic私はガラスを食べられます | 5760 # fds: file(1) magic for Famciom Disk System disk images 5766 0 name nintendo-fds-disk-info-block 5776 >>0x10 use nintendo-fds-disk-info-block 5782 >0 use nintendo-fds-disk-info-block 5791 >>0x2010 use nintendo-fds-disk-info-block
|
Completed in 139 milliseconds