Home
last modified time | relevance | path

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

/PHP-7.3/sapi/fpm/fpm/events/
H A Dselect.c51 static fd_set fds; variable
75 FD_ZERO(&fds); in fpm_event_select_init()
92 current_fds = fds; in fpm_event_select_wait()
149 if (!FD_ISSET(ev->fd, &fds)) { in fpm_event_select_add()
150 FD_SET(ev->fd, &fds); in fpm_event_select_add()
164 if (FD_ISSET(ev->fd, &fds)) { in fpm_event_select_remove()
165 FD_CLR(ev->fd, &fds); in fpm_event_select_remove()
/PHP-7.3/sapi/fpm/
H A Dconfig.m4480 struct pollfd fds[2];
482 fds[0].fd = 0;
483 fds[0].events = POLLIN;
485 fds[1].fd = 0;
486 fds[1].events = POLLIN;
488 poll(fds, 2, 1);
511 fd_set fds;
515 FD_ZERO(&fds);
517 FD_SET(0, &fds);
518 select(FD_SETSIZE, &fds, NULL, NULL, &t);
/PHP-7.3/main/
H A Dfastcgi.c1434 struct pollfd fds; local
1437 fds.fd = req->fd;
1438 fds.events = POLLIN;
1439 fds.revents = 0;
1442 ret = poll(&fds, 1, 5000);
1444 if (ret > 0 && (fds.revents & POLLIN)) {
/PHP-7.3/ext/standard/
H A Dstreamsfuncs.c624 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
652 PHP_SAFE_FD_SET(this_fd, fds); in stream_array_to_fd_set()
663 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds) in stream_array_from_fd_set() argument
691 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in stream_array_from_fd_set()
/PHP-7.3/ext/sockets/
H A Dsockets.c892 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd) /* {{{ */ argument
905 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
916 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
934 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_connection.c2503 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) argument
2524 PHP_SAFE_FD_SET(this_fd, fds);
2540 mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds) argument
2554 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
/PHP-7.3/ext/fileinfo/tests/
H A Dmagic6244 # fds: file(1) magic for Famciom Disk System disk images
6250 0 name nintendo-fds-disk-info-block
6260 !:mime application/x-fds-disk
6261 >>0x10 use nintendo-fds-disk-info-block
6267 !:mime application/x-fds-disk
6268 >0 use nintendo-fds-disk-info-block
6278 >>0x2010 use nintendo-fds-disk-info-block
H A Dmagic私はガラスを食べられます6244 # fds: file(1) magic for Famciom Disk System disk images
6250 0 name nintendo-fds-disk-info-block
6260 !:mime application/x-fds-disk
6261 >>0x10 use nintendo-fds-disk-info-block
6267 !:mime application/x-fds-disk
6268 >0 use nintendo-fds-disk-info-block
6278 >>0x2010 use nintendo-fds-disk-info-block

Completed in 121 milliseconds