Searched refs:from_stat (Results 1 – 2 of 2) sorted by relevance
217 struct stat from_stat; in DoCopyDirectory() local219 if (stat(from_path.value().c_str(), &from_stat) < 0) { in DoCopyDirectory()234 DCHECK(recursive || S_ISDIR(from_stat.st_mode)); in DoCopyDirectory()245 if (S_ISDIR(from_stat.st_mode)) { in DoCopyDirectory()246 mode_t mode = (from_stat.st_mode & 01777) | S_IRUSR | S_IXUSR | S_IWUSR; in DoCopyDirectory()257 if (!S_ISREG(from_stat.st_mode)) { in DoCopyDirectory()315 } while (AdvanceEnumeratorWithStat(&traversal, ¤t, &from_stat)); in DoCopyDirectory()
744 StatT const& from_stat = from_fd.get_stat(); in __copy_file() local765 if (to_exists && detail::stat_equivalent(from_stat, to_stat_path)) in __copy_file()773 auto from_time = detail::extract_mtime(from_stat); in __copy_file()795 &to, m_ec, to_open_flags, from_stat.st_mode); in __copy_file()807 if (detail::posix_fchmod(to_fd, from_stat, m_ec)) in __copy_file()