Home
last modified time | relevance | path

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

/PHP-8.3/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.3/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.3/ext/mysqli/tests/
H A Dgh9590.phpt23 $fds = [];
25 $fds[] = @fopen(__DIR__ . "/GH-9590-tmpfile.$i", 'w');
/PHP-8.3/ext/fileinfo/libmagic/
H A Dfuncs.c805 file_pipe_closexec(int *fds)
808 return pipe2(fds, O_CLOEXEC);
810 if (pipe(fds) == -1)
813 (void)fcntl(fds[0], F_SETFD, FD_CLOEXEC);
814 (void)fcntl(fds[1], F_SETFD, FD_CLOEXEC);
/PHP-8.3/sapi/fpm/
H A Dconfig.m4488 fd_set fds;
492 FD_ZERO(&fds);
494 FD_SET(0, &fds);
495 select(FD_SETSIZE, &fds, NULL, NULL, &t);
/PHP-8.3/main/
H A Dfastcgi.c1441 struct pollfd fds; local
1444 fds.fd = req->fd;
1445 fds.events = POLLIN;
1446 fds.revents = 0;
1449 ret = poll(&fds, 1, 5000);
1451 if (ret > 0 && (fds.revents & POLLIN)) {
/PHP-8.3/ext/standard/
H A Dstreamsfuncs.c627 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
655 PHP_SAFE_FD_SET(this_fd, fds); in stream_array_to_fd_set()
666 static int stream_array_from_fd_set(zval *stream_array, fd_set *fds) in stream_array_from_fd_set() argument
694 if (PHP_SAFE_FD_ISSET(this_fd, fds)) { in stream_array_from_fd_set()
/PHP-8.3/ext/sockets/
H A Dsockets.c496 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
518 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
529 static void php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
548 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
/PHP-8.3/ext/mysqlnd/
H A Dmysqlnd_connection.c2126 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) argument
2147 PHP_SAFE_FD_SET(this_fd, fds);
2163 mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds) argument
2177 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
/PHP-8.3/ext/fileinfo/
H A Dlibmagic.patch2167 file_pipe_closexec(int *fds)
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic8894 # fds: file(1) magic for Famciom Disk System disk images
8900 0 name nintendo-fds-disk-info-block
8910 !:mime application/x-fds-disk
8911 >>0x10 use nintendo-fds-disk-info-block
8917 !:mime application/x-fds-disk
8918 >0 use nintendo-fds-disk-info-block
8928 >>0x2010 use nintendo-fds-disk-info-block
H A Dmagic私はガラスを食べられます8894 # fds: file(1) magic for Famciom Disk System disk images
8900 0 name nintendo-fds-disk-info-block
8910 !:mime application/x-fds-disk
8911 >>0x10 use nintendo-fds-disk-info-block
8917 !:mime application/x-fds-disk
8918 >0 use nintendo-fds-disk-info-block
8928 >>0x2010 use nintendo-fds-disk-info-block

Completed in 164 milliseconds