• Home
  • Raw
  • Download

Lines Matching refs:to_path

178 bool Move(const FilePath& from_path, const FilePath& to_path) {  in Move()  argument
184 to_path.value().length() >= MAX_PATH) { in Move()
187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), in Move()
200 ret = CopyAndDeleteDirectory(from_path, to_path); in Move()
212 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { in ReplaceFile() argument
217 to_path.value().c_str(), in ReplaceFile()
228 return ::ReplaceFile(to_path.value().c_str(), in ReplaceFile()
233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { in CopyFile() argument
239 to_path.value().length() >= MAX_PATH) { in CopyFile()
242 return (::CopyFile(from_path.value().c_str(), to_path.value().c_str(), in CopyFile()
246 bool ShellCopy(const FilePath& from_path, const FilePath& to_path, in ShellCopy() argument
253 to_path.value().length() >= MAX_PATH) { in ShellCopy()
265 wcscpy(double_terminated_path_to, to_path.value().c_str()); in ShellCopy()
279 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path, in CopyDirectory() argument
284 return ShellCopy(from_path, to_path, true); in CopyDirectory()
291 if (!PathExists(to_path)) { in CopyDirectory()
295 CreateDirectory(to_path); in CopyDirectory()
297 ShellCopy(from_path, to_path, false); in CopyDirectory()
301 return ShellCopy(directory, to_path, false); in CopyDirectory()
305 const FilePath& to_path) { in CopyAndDeleteDirectory() argument
307 if (CopyDirectory(from_path, to_path, true)) { in CopyAndDeleteDirectory()