Searched refs:from_stat (Results 1 – 2 of 2) sorted by relevance
292 struct stat from_stat; in CopyDirectory() local294 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()
133 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)