| /src/bin/mv/ |
| mv.c | 278 int from_fd, to_fd; local 282 if ((from_fd = open(from, O_RDONLY, 0)) < 0) { 289 (void)close(from_fd); 295 (void)close(from_fd); 299 while ((nread = read(from_fd, bp, blen)) > 0) { 318 (void)close(from_fd); 323 if (fcpxattr(from_fd, to_fd) == -1) 326 (void)close(from_fd);
|
| /src/external/bsd/nvi/dist/ex/ |
| tag.h | 28 int from_fd; /* from cscope: file descriptor. */ member in struct:_csc
|
| /src/bin/cp/ |
| utils.c | 103 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local 117 if ((from_fd = open(entp->fts_path, O_RDONLY, 0)) == -1) { 144 (void)close(from_fd); 153 (void)close(from_fd); 175 (void)close(from_fd); 201 from_fd, (off_t)0); 241 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) { 258 if (pflag && (fcpxattr(from_fd, to_fd) != 0)) 262 if (pflag && preserve_fd_acls(from_fd, to_fd) != 0) 266 (void)close(from_fd); [all...] |
| /src/usr.sbin/pwd_mkdb/ |
| pwd_mkdb.c | 641 int from_fd, to_fd; local 644 if ((from_fd = open(from, O_RDONLY, 0)) < 0) 647 (void)close(from_fd); 650 while ((rcount = read(from_fd, buf, MAXBSIZE)) > 0) { 653 (void)close(from_fd); 659 close(from_fd);
|
| /src/usr.bin/xinstall/ |
| xinstall.c | 680 int devnull, from_fd, to_fd, serrno, tmpmode; local 759 if ((from_fd = open(from_name, O_RDONLY, 0)) < 0) { 764 copy(from_fd, from_name, to_fd, to_name, from_sb.st_size); 765 (void)close(from_fd); 868 copy(int from_fd, char *from_name, int to_fd, char *to_name, off_t size) 921 MAP_FILE|MAP_SHARED, from_fd, (off_t)0)) 962 while ((nr = read(from_fd, buf, sizeof(buf))) > 0) {
|
| /src/external/apache2/llvm/dist/libcxx/src/filesystem/ |
| operations.cpp | 900 FileDescriptor from_fd = FileDescriptor::create_with_status( local 905 auto from_st = from_fd.get_status(); 906 StatT const& from_stat = from_fd.get_stat(); 975 if (!copy_file_impl(from_fd, to_fd, m_ec)) {
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| darwin-nat.c | 1851 scoped_fd from_fd = gdb_open_cloexec (shell, O_RDONLY, 0); local 1852 if (from_fd.get () < 0) 1869 if (fcopyfile (from_fd.get (), to_fd.get (), nullptr,
|
| /src/external/gpl3/gdb/dist/gdb/ |
| darwin-nat.c | 1851 scoped_fd from_fd = gdb_open_cloexec (shell, O_RDONLY, 0); local 1852 if (from_fd.get () < 0) 1869 if (fcopyfile (from_fd.get (), to_fd.get (), nullptr,
|