Home
last modified time | relevance | path

Searched refs:from_stat (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/bin/cp/
H A Dutils.c279 copy_fifo(struct stat *from_stat, int exists) in copy_fifo() argument
291 if (mkfifo(to.p_path, from_stat->st_mode)) { in copy_fifo()
295 return (pflag ? setfile(from_stat, -1) : 0); in copy_fifo()
299 copy_special(struct stat *from_stat, int exists) in copy_special() argument
311 if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) { in copy_special()
315 return (pflag ? setfile(from_stat, -1) : 0); in copy_special()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp272 StatT const& from_stat = from_fd.get_stat(); in __copy_file() local
292 if (to_exists && detail::stat_equivalent(from_stat, to_stat_path)) in __copy_file()
300 auto from_time = detail::extract_mtime(from_stat); in __copy_file()
320 …FileDescriptor to_fd = FileDescriptor::create_with_status(&to, m_ec, to_open_flags, from_stat.st_m… in __copy_file()
332 if (detail::posix_fchmod(to_fd, from_stat, m_ec)) in __copy_file()