Home
last modified time | relevance | path

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

/PHP-8.1/sapi/fpm/fpm/events/
H A Dselect.c49 static fd_set fds; variable
72 FD_ZERO(&fds); in fpm_event_select_init()
89 current_fds = fds; in fpm_event_select_wait()
146 if (!FD_ISSET(ev->fd, &fds)) { in fpm_event_select_add()
147 FD_SET(ev->fd, &fds); in fpm_event_select_add()
161 if (FD_ISSET(ev->fd, &fds)) { in fpm_event_select_remove()
162 FD_CLR(ev->fd, &fds); in fpm_event_select_remove()
/PHP-8.1/ext/standard/tests/streams/
H A Dgh9590-001.phpt16 $fds = [];
18 $fds[] = @fopen(__DIR__ . "/GH-9590-001-tmpfile.$i", 'w');
H A Dgh9590-002.phpt16 $fds = [];
18 $fds[] = @fopen(__DIR__ . "/GH-9590-002-tmpfile.$i", 'w');
/PHP-8.1/ext/mysqli/tests/
H A Dgh9590.phpt26 $fds = [];
28 $fds[] = @fopen(__DIR__ . "/GH-9590-tmpfile.$i", 'w');
/PHP-8.1/ext/fileinfo/libmagic/
H A Dfuncs.c784 file_pipe_closexec(int *fds)
787 return pipe2(fds, O_CLOEXEC);
789 if (pipe(fds) == -1)
791 (void)fcntl(fds[0], F_SETFD, FD_CLOEXEC);
792 (void)fcntl(fds[1], F_SETFD, FD_CLOEXEC);
/PHP-8.1/sapi/fpm/
H A Dconfig.m4475 fd_set fds;
479 FD_ZERO(&fds);
481 FD_SET(0, &fds);
482 select(FD_SETSIZE, &fds, NULL, NULL, &t);
/PHP-8.1/main/
H A Dfastcgi.c1431 struct pollfd fds; local
1434 fds.fd = req->fd;
1435 fds.events = POLLIN;
1436 fds.revents = 0;
1439 ret = poll(&fds, 1, 5000);
1441 if (ret > 0 && (fds.revents & POLLIN)) {
/PHP-8.1/ext/standard/
H A Dstreamsfuncs.c623 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
651 PHP_SAFE_FD_SET(this_fd, fds); in stream_array_to_fd_set()
662 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds) in stream_array_from_fd_set() argument
690 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in stream_array_from_fd_set()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_connection.c2139 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) argument
2160 PHP_SAFE_FD_SET(this_fd, fds);
2176 mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds) argument
2190 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
/PHP-8.1/ext/sockets/
H A Dsockets.c653 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
675 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
686 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
706 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch2381 file_pipe_closexec(int *fds)
/PHP-8.1/ext/fileinfo/tests/
H A Dmagic7918 # fds: file(1) magic for Famciom Disk System disk images
7924 0 name nintendo-fds-disk-info-block
7934 !:mime application/x-fds-disk
7935 >>0x10 use nintendo-fds-disk-info-block
7941 !:mime application/x-fds-disk
7942 >0 use nintendo-fds-disk-info-block
7952 >>0x2010 use nintendo-fds-disk-info-block
H A Dmagic私はガラスを食べられます7918 # fds: file(1) magic for Famciom Disk System disk images
7924 0 name nintendo-fds-disk-info-block
7934 !:mime application/x-fds-disk
7935 >>0x10 use nintendo-fds-disk-info-block
7941 !:mime application/x-fds-disk
7942 >0 use nintendo-fds-disk-info-block
7952 >>0x2010 use nintendo-fds-disk-info-block

Completed in 247 milliseconds