Home
last modified time | relevance | path

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

/external/libchrome/base/files/
Dfile_util_posix.cc292 struct stat from_stat; in CopyDirectory() local
294 if (stat(from_path.value().c_str(), &from_stat) < 0) { in CopyDirectory()
311 DCHECK(recursive || S_ISDIR(from_stat.st_mode)); in CopyDirectory()
325 if (S_ISDIR(from_stat.st_mode)) { in CopyDirectory()
327 (from_stat.st_mode & 01777) | S_IRUSR | S_IXUSR | S_IWUSR) != in CopyDirectory()
334 } else if (S_ISREG(from_stat.st_mode)) { in CopyDirectory()
347 from_stat = traversal.GetInfo().stat(); in CopyDirectory()
/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)