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.phpt23 $fds = [];
25 $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.m4400 fd_set fds;
404 FD_ZERO(&fds);
406 FD_SET(0, &fds);
407 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.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-src/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-src/ext/sockets/
H A Dsockets.c490 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
512 PHP_SAFE_FD_SET(php_sock->bsd_socket, fds);
523 static void php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
542 if (PHP_SAFE_FD_ISSET(php_sock->bsd_socket, fds)) {
/php-src/ext/fileinfo/
H A Dlibmagic.patch2243 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 217 milliseconds