Searched refs:fd_hist (Results 1 – 7 of 7) sorted by relevance
/dports/archivers/rzip/rzip-2.1/ |
H A D | runzip.c | 86 static int unzip_match(void *ss, int len, int fd_out, int fd_hist, uint32 *cksum) in unzip_match() argument 93 if (lseek(fd_hist, cur_pos-offset, SEEK_SET) == (off_t)-1) { in unzip_match() 107 if (read(fd_hist, buf, n) != n) { in unzip_match() 129 static int runzip_chunk(int fd_in, int fd_out, int fd_hist) in runzip_chunk() argument 160 total += unzip_match(ss, len, fd_out, fd_hist, &cksum); in runzip_chunk() 180 off_t runzip_fd(int fd_in, int fd_out, int fd_hist, off_t expected_size) in runzip_fd() argument 184 total += runzip_chunk(fd_in, fd_out, fd_hist); in runzip_fd()
|
H A D | main.c | 129 int fd_in, fd_out = -1, fd_hist = -1; in decompress_file() local 166 fd_hist = open(control->outfile,O_RDONLY); in decompress_file() 167 if (fd_hist == -1) { in decompress_file() 175 runzip_fd(fd_in, fd_out, fd_hist, expected_size); in decompress_file() 178 if (close(fd_hist) != 0 || in decompress_file()
|
H A D | rzip.h | 120 off_t runzip_fd(int fd_in, int fd_out, int fd_hist, off_t expected_size);
|
/dports/archivers/lrzip/lrzip-0.631/ |
H A D | lrzip.c | 683 int fd_in, fd_out = -1, fd_hist = -1; in decompress_file() local 766 fd_hist = open(control->outfile, O_RDONLY); in decompress_file() 767 if (unlikely(fd_hist == -1)) in decompress_file() 777 fd_hist = -1; in decompress_file() 779 fd_hist = open(control->outfile, O_RDONLY); in decompress_file() 780 if (unlikely(fd_hist == -1)) in decompress_file() 810 control->fd_hist = fd_hist; in decompress_file() 826 if (unlikely(runzip_fd(control, fd_in, fd_out, fd_hist, expected_size) < 0)) in decompress_file() 846 if (unlikely(close(fd_hist) || close(fd_out))) in decompress_file()
|
H A D | runzip.h | 25 i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 expected_size);
|
H A D | runzip.c | 95 return lseek(control->fd_hist, pos, SEEK_SET); in seekto_fdhist() 185 return read_1g(control, control->fd_hist, buf, len); in read_fdhist() 370 i64 runzip_fd(rzip_control *control, int fd_in, int fd_out, int fd_hist, i64 expected_size) in runzip_fd() argument 463 if (unlikely((md5_fstream = fdopen(fd_hist, "r")) == NULL)) in runzip_fd()
|
H A D | lrzip_private.h | 414 int fd_hist; member
|