Searched refs:from_path (Results 1 - 8 of 8) sorted by relevance
/external/chromium/net/disk_cache/ |
H A D | cache_util.h | 18 bool MoveCache(const FilePath& from_path, const FilePath& to_path);
|
H A D | cache_util_posix.cc | 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { argument 15 return file_util::Move(from_path, to_path);
|
H A D | cache_util_win.cc | 42 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { argument 45 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
|
/external/chromium/base/ |
H A D | file_util_linux.cc | 32 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { argument 33 int infile = open(from_path.value().c_str(), O_RDONLY);
|
H A D | file_util_posix.cc | 173 bool Move(const FilePath& from_path, const FilePath& to_path) { argument 174 // Windows compatibility: if to_path exists, from_path and to_path 179 if (CallStat(from_path.value().c_str(), &from_file_info) == 0) { 187 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) 190 if (!CopyDirectory(from_path, to_path, true)) 193 Delete(from_path, true); 197 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { argument 198 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0); 201 bool CopyDirectory(const FilePath& from_path, argument 209 DCHECK(from_path [all...] |
H A D | file_util_win.cc | 110 bool Move(const FilePath& from_path, const FilePath& to_path) { argument 113 if (from_path.value().length() >= MAX_PATH || 117 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 120 if (DirectoryExists(from_path)) { 123 // from_path and to_path are indeed in different volumes. 124 return CopyAndDeleteDirectory(from_path, to_path); 129 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { argument 140 from_path.value().c_str(), NULL, 144 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { argument 147 if (from_path 155 ShellCopy(const FilePath& from_path, const FilePath& to_path, bool recursive) argument 186 CopyDirectory(const FilePath& from_path, const FilePath& to_path, bool recursive) argument 209 CopyAndDeleteDirectory(const FilePath& from_path, const FilePath& to_path) argument [all...] |
H A D | file_util.h | 144 bool Move(const FilePath& from_path, const FilePath& to_path); 146 // Renames file |from_path| to |to_path|. Both paths must be on the same 151 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path); 154 bool CopyFile(const FilePath& from_path, const FilePath& to_path); 163 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path, 166 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, 257 // Copy from_path to to_path recursively and then delete from_path recursively. 261 bool CopyAndDeleteDirectory(const FilePath& from_path,
|
H A D | file_util.cc | 336 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, argument 338 return CopyDirectory(FilePath::FromWStringHack(from_path),
|
Completed in 47 milliseconds