Searched refs:from_stat (Results 1 – 2 of 2) sorted by relevance
| /freebsd/bin/cp/ |
| H A D | utils.c | 286 copy_fifo(struct stat *from_stat, bool dne, bool beneath) in copy_fifo() argument 299 if (mkfifoat(to.dir, to.path, from_stat->st_mode) != 0) { in copy_fifo() 303 return (pflag ? setfile(from_stat, -1, beneath) : 0); in copy_fifo() 307 copy_special(struct stat *from_stat, bool dne, bool beneath) in copy_special() argument 320 if (mknodat(to.dir, to.path, from_stat->st_mode, from_stat->st_rdev) != 0) { in copy_special() 324 return (pflag ? setfile(from_stat, -1, beneath) : 0); in copy_special()
|
| /freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
| H A D | operations.cpp | 390 StatT const& from_stat = from_fd.get_stat(); in __copy_file() local 410 if (to_exists && detail::stat_equivalent(from_stat, to_stat_path)) in __copy_file() 418 auto from_time = detail::extract_mtime(from_stat); in __copy_file() 438 …FileDescriptor to_fd = FileDescriptor::create_with_status(&to, m_ec, to_open_flags, from_stat.st_m… in __copy_file() 450 if (detail::posix_fchmod(to_fd, from_stat, m_ec)) in __copy_file()
|