/freebsd-13-stable/contrib/nvi/ex/ |
H A D | tag.h | 25 int from_fd; /* from cscope: file descriptor. */ member in struct:_csc
|
H A D | ex_cscope.c | 438 csc->from_fd = from_cs[0];
|
/freebsd-13-stable/bin/cp/ |
H A D | utils.c | 78 copy_fallback(int from_fd, int to_fd, char *buf, size_t bufsize) argument 83 rcount = read(from_fd, buf, bufsize); 105 int ch, checkch, from_fd, rval, to_fd; local 112 from_fd = to_fd = -1; 114 (from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) { 189 MAP_SHARED, from_fd, (off_t)0)) != MAP_FAILED) { 237 rcount = copy_file_range(from_fd, NULL, 245 rcount = copy_fallback(from_fd, to_fd, 284 if (pflag && preserve_fd_acls(from_fd, to_fd) != 0) 293 if (from_fd ! [all...] |
/freebsd-13-stable/bin/mv/ |
H A D | mv.c | 282 int nread, from_fd, to_fd; local 285 if ((from_fd = open(from, O_RDONLY, 0)) < 0) { 291 (void)close(from_fd); 299 (void)close(from_fd); 302 while ((nread = read(from_fd, bp, (size_t)blen)) > 0) 311 (void)close(from_fd); 334 preserve_fd_acls(from_fd, to_fd, from, to); 335 (void)close(from_fd);
|
/freebsd-13-stable/usr.bin/xinstall/ |
H A D | xinstall.c | 770 int devnull, files_match, from_fd, serrno, stripped, target; local 777 from_fd = -1; 829 if (!devnull && (from_fd = open(from_name, O_RDONLY, 0)) < 0) 839 files_match = !(compare(from_fd, from_name, 867 digestresult = copy(from_fd, from_name, to_fd, 1058 (void)close(from_fd); 1071 compare(int from_fd, const char *from_name __unused, size_t from_len, argument 1092 from_fd, (off_t)0); 1116 lseek(from_fd, 0, SEEK_SET); 1119 n1 = read(from_fd, buf 1233 copy(int from_fd, const char *from_name, int to_fd, const char *to_name, off_t size) argument [all...] |
/freebsd-13-stable/usr.sbin/config/ |
H A D | main.c | 605 int from_fd, to_fd; local 609 if ((from_fd = open(from_name, O_RDONLY)) < 0) 615 if (!changed && fstat(from_fd, &from_sb) < 0) 627 p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0);
|
/freebsd-13-stable/usr.sbin/pwd_mkdb/ |
H A D | pwd_mkdb.c | 588 int from_fd, rcount, to_fd, wcount; local 590 if ((from_fd = open(from, O_RDONLY, 0)) < 0) 594 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) {
|
/freebsd-13-stable/usr.sbin/nfsd/ |
H A D | nfsd.c | 1126 copy_stable(int from_fd, int to_fd) argument 1131 ret = lseek(from_fd, (off_t)0, SEEK_SET); 1138 cnt = read(from_fd, buf, 1024);
|
/freebsd-13-stable/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | operations.cpp | 746 FileDescriptor from_fd = local 751 auto from_st = from_fd.get_status(); 752 StatT const& from_stat = from_fd.get_stat(); 821 if (!copy_file_impl(from_fd, to_fd, m_ec)) {
|