Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_util_posix.cc217 struct stat from_stat; in DoCopyDirectory() local
219 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, &current, &from_stat)); in DoCopyDirectory()
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc133 struct stat from_stat;
134 if (::stat(f.begin(), &from_stat) != 0)
143 if ((to_file = ::open(t.begin(), to_flags, from_stat.st_mode)) < 0)
/external/libcxx/src/filesystem/
Doperations.cpp744 StatT const& from_stat = from_fd.get_stat(); in __copy_file() local
765 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()