/PHP-7.4/sapi/fpm/fpm/events/ |
H A D | port.c | 174 if (port_associate(pfd, PORT_SOURCE_FD, ev->fd, POLLIN, (void *)ev) < 0) { in fpm_event_port_add() 188 if (port_dissociate(pfd, PORT_SOURCE_FD, ev->fd) < 0) { in fpm_event_port_remove()
|
/PHP-7.4/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 131 php_socket_t fd; in php_stream_gzopen() local 133 if (SUCCESS == php_stream_cast(innerstream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in php_stream_gzopen() 136 self->gz_file = gzdopen(dup(fd), mode); in php_stream_gzopen()
|
/PHP-7.4/ext/posix/ |
H A D | posix.c | 146 ZEND_ARG_INFO(0, fd) 150 ZEND_ARG_INFO(0, fd) 804 int fd; in PHP_FUNCTION() local 815 if (!php_posix_stream_get_fd(z_fd, &fd)) { in PHP_FUNCTION() 820 fd = zval_get_long(z_fd); in PHP_FUNCTION() 829 if (ttyname_r(fd, p, buflen)) { in PHP_FUNCTION() 837 if (NULL == (p = ttyname(fd))) { in PHP_FUNCTION() 851 int fd; in PHP_FUNCTION() local 859 if (!php_posix_stream_get_fd(z_fd, &fd)) { in PHP_FUNCTION() 864 fd = zval_get_long(z_fd); in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | proc_open.c | 376 static inline HANDLE dup_fd_as_handle(int fd) in dup_fd_as_handle() argument 378 return dup_handle((HANDLE)_get_osfhandle(fd), TRUE, FALSE); in dup_fd_as_handle() 381 # define close_descriptor(fd) CloseHandle(fd) argument 383 # define close_descriptor(fd) close(fd) argument 644 php_socket_t fd; in PHP_FUNCTION() local 653 descriptors[ndesc].childend = dup_fd_as_handle((int)fd); in PHP_FUNCTION() 659 descriptors[ndesc].childend = dup(fd); in PHP_FUNCTION() 721 php_socket_t fd; in PHP_FUNCTION() local 751 (void **)&fd, REPORT_ERRORS)) { in PHP_FUNCTION() 757 _close((int)fd); in PHP_FUNCTION() [all …]
|
H A D | php_random.h | 31 int fd; member
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | file_variation6.phpt | 7 $fd = fopen($filepath, "w+"); 8 fwrite($fd, "Line 1\nLine 2\nLine 3"); 9 fclose($fd);
|
H A D | chmod_variation2-win32-mb.phpt | 21 $fd = fopen($filepath, "w+"); 22 fclose($fd);
|
H A D | chmod_variation2-win32.phpt | 21 $fd = fopen($filepath, "w+"); 22 fclose($fd);
|
H A D | move_uploaded_file_basic.phpt | 47 $fd = fopen($destination4, "w"); 48 fclose($fd);
|
H A D | chmod_variation2.phpt | 21 $fd = fopen($filepath, "w+"); 22 fclose($fd);
|
/PHP-7.4/win32/ |
H A D | select.c | 50 #define SAFE_FD_ISSET(fd, set) (set != NULL && FD_ISSET(fd, set)) in php_select() argument
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | zlog.h | 77 int fd; member 94 void zlog_stream_init_ex(struct zlog_stream *stream, int flags, int fd);
|
H A D | fpm_conf.c | 958 int fd; in fpm_conf_process_all_pools() local 966 close(fd); in fpm_conf_process_all_pools() 1155 int fd; in fpm_conf_write_pid() local 1173 close(fd); in fpm_conf_write_pid() 1176 close(fd); in fpm_conf_write_pid() 1523 int fd, n; in fpm_conf_load_ini_file() local 1535 if (fd < 0) { in fpm_conf_load_ini_file() 1542 close(fd); in fpm_conf_load_ini_file() 1577 close(fd); in fpm_conf_load_ini_file() 1589 close(fd); in fpm_conf_load_ini_file() [all …]
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 676 - int fd; 688 - fd = -1; 765 - fd = -1; 842 - if (fd != -1) 881 - int fd = -1; 1027 b->fd = fd; 1030 - else if (b->fd == -1 || fstat(b->fd, &b->st) == -1) 1031 + else if (b->fd == -1 || zend_fstat(b->fd, &b->st) == -1) 1525 return fd; 1742 int fd; [all …]
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | magic.c | 159 close_and_restore(const struct magic_set *ms, const char *name, int fd, 162 if (fd == STDIN_FILENO || name == NULL) 164 (void) close(fd); 197 magic_descriptor(struct magic_set *ms, int fd) in magic_descriptor() argument
|
H A D | is_json.c | 440 int fd, rv; in main() local 445 if ((fd = open(argv[1], O_RDONLY)) == -1) in main() 448 if (fstat(fd, &st) == -1) in main() 454 if (read(fd, p, st.st_size) != st.st_size) in main()
|
/PHP-7.4/ext/bz2/ |
H A D | bz2.c | 293 php_socket_t fd; in _php_stream_bz2open() local 294 if (SUCCESS == php_stream_cast(stream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) { in _php_stream_bz2open() 295 bz_file = BZ2_bzdopen((int)fd, mode); in _php_stream_bz2open() 434 php_socket_t fd; in PHP_FUNCTION() local 470 if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_FD, (void *) &fd, REPORT_ERRORS)) { in PHP_FUNCTION() 474 bz = BZ2_bzdopen((int)fd, mode); in PHP_FUNCTION()
|
/PHP-7.4/ext/spl/tests/ |
H A D | SplFileInfo_getGroup_basic.phpt | 6 Filippo De Santis <fd@ideato.it>
|
H A D | SplFileInfo_getOwner_basic.phpt | 6 Filippo De Santis <fd@ideato.it>
|
H A D | SplFileInfo_getPerms_error.phpt | 6 Filippo De Santis <fd@ideato.it>
|
H A D | DirectoryIterator_getInode_basic.phpt | 6 Filippo De Santis <fd@ideato.it>
|
H A D | SplFileInfo_getGroup_error.phpt | 6 Filippo De Santis <fd@ideato.it>
|
H A D | SplFileInfo_getInode_error.phpt | 6 Filippo De Santis <fd@ideato.it>
|
H A D | SplFileInfo_getOwner_error.phpt | 6 Filippo De Santis <fd@ideato.it>
|
/PHP-7.4/ext/standard/tests/http/ |
H A D | server.inc | 86 $fd = fopen($file, 'rb'); 87 stream_copy_to_stream($fd, $sock);
|