Searched refs:fds (Results 1 – 13 of 13) sorted by relevance
/php-src/sapi/fpm/fpm/events/ |
H A D | select.c | 49 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 D | gh9590-001.phpt | 16 $fds = []; 18 $fds[] = @fopen(__DIR__ . "/GH-9590-001-tmpfile.$i", 'w');
|
H A D | gh9590-002.phpt | 16 $fds = []; 18 $fds[] = @fopen(__DIR__ . "/GH-9590-002-tmpfile.$i", 'w');
|
/php-src/ext/mysqli/tests/ |
H A D | gh9590.phpt | 20 $fds = []; 22 $fds[] = @fopen(__DIR__ . "/GH-9590-tmpfile.$i", 'w');
|
/php-src/ext/fileinfo/libmagic/ |
H A D | funcs.c | 816 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 D | config.m4 | 329 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 D | fastcgi.c | 1432 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 D | streamsfuncs.c | 624 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 D | mysqlnd_connection.c | 2104 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 D | sockets.c | 516 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 D | libmagic.patch | 2213 file_pipe_closexec(int *fds)
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 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 D | magic | 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 244 milliseconds