Searched refs:i_fd (Results 1 – 4 of 4) sorted by relevance
/PHP-8.0/ext/fileinfo/libmagic/ |
H A D | cdf.h | 267 int i_fd; member
|
H A D | cdf.c | 343 if (info->i_fd == -1) in cdf_read() 346 if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1) in cdf_read() 349 if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len) in cdf_read() 1583 if ((info.i_fd = open(argv[1], O_RDONLY)) == -1) in main() 1634 (void)close(info.i_fd); in main()
|
H A D | readcdf.c | 547 info.i_fd = fd; in file_trycdf()
|
/PHP-8.0/ext/fileinfo/ |
H A D | libmagic.patch | 1153 if (info->i_fd == -1) 1156 - if (pread(info->i_fd, buf, len, off) != CAST(ssize_t, len)) 1157 + if (FINFO_LSEEK_FUNC(info->i_fd, off, SEEK_SET) == (zend_off_t)-1) 1160 + if (FINFO_READ_FUNC(info->i_fd, buf, len) != (ssize_t)len)
|
Completed in 16 milliseconds