Home
last modified time | relevance | path

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

/php-src/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-src/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-src/ext/mysqli/tests/
H A Dgh9590.phpt20 $fds = [];
22 $fds[] = @fopen(__DIR__ . "/GH-9590-tmpfile.$i", 'w');
/php-src/ext/fileinfo/libmagic/
H A Dfuncs.c816 file_pipe_closexec(int *fds)
821 return pipe2(fds, O_CLOEXEC);
823 if (pipe(fds) == -1)
826 (void)fcntl(fds[0], F_SETFD, FD_CLOEXEC);
827 (void)fcntl(fds[1], F_SETFD, FD_CLOEXEC);
/php-src/sapi/fpm/
H A Dconfig.m4329 fd_set fds;
333 FD_ZERO(&fds);
335 FD_SET(0, &fds);
336 select(FD_SETSIZE, &fds, NULL, NULL, &t);
/php-src/main/
H A Dfastcgi.c1432 struct pollfd fds; local
1435 fds.fd = req->fd;
1436 fds.events = POLLIN;
1437 fds.revents = 0;
1440 ret = poll(&fds, 1, 5000);
1442 if (ret > 0 && (fds.revents & POLLIN)) {
/php-src/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-src/ext/mysqlnd/
H A Dmysqlnd_connection.c2104 mysqlnd_stream_array_to_fd_set(MYSQLND ** conn_array, fd_set * fds, php_socket_t * max_fd) argument
2125 PHP_SAFE_FD_SET(this_fd, fds);
2141 mysqlnd_stream_array_from_fd_set(MYSQLND ** conn_array, fd_set * fds) argument
2155 if (PHP_SAFE_FD_ISSET(this_fd, fds)) {
/php-src/ext/sockets/
H A Dsockets.c516 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
538 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
549 static void php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
568 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
/php-src/ext/fileinfo/
H A Dlibmagic.patch2213 file_pipe_closexec(int *fds)
/php-src/ext/fileinfo/tests/
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
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

Completed in 244 milliseconds