Home
last modified time | relevance | path

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

/freebsd-13.1/bin/cp/
H A Dutils.c326 copy_fifo(struct stat *from_stat, int exists) in copy_fifo() argument
338 if (mkfifo(to.p_path, from_stat->st_mode)) { in copy_fifo()
342 return (pflag ? setfile(from_stat, -1) : 0); in copy_fifo()
346 copy_special(struct stat *from_stat, int exists) in copy_special() argument
358 if (mknod(to.p_path, from_stat->st_mode, from_stat->st_rdev)) { in copy_special()
362 return (pflag ? setfile(from_stat, -1) : 0); in copy_special()
/freebsd-13.1/contrib/llvm-project/libcxx/src/filesystem/
H A Doperations.cpp906 StatT const& from_stat = from_fd.get_stat(); in __copy_file() local
927 if (to_exists && detail::stat_equivalent(from_stat, to_stat_path)) in __copy_file()
935 auto from_time = detail::extract_mtime(from_stat); in __copy_file()
957 &to, m_ec, to_open_flags, from_stat.st_mode); in __copy_file()
969 if (detail::posix_fchmod(to_fd, from_stat, m_ec)) in __copy_file()