/external/chromium/net/disk_cache/ |
cache_util.h | 21 bool MoveCache(const FilePath& from_path, const FilePath& to_path);
|
cache_util_posix.cc | 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { 21 if (!file_util::CreateDirectory(to_path)) { 32 FilePath destination = to_path.Append(name.BaseName()); 40 return file_util::Move(from_path, to_path);
|
cache_util_win.cc | 44 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { 47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
|
/external/chromium_org/net/disk_cache/ |
cache_util_posix.cc | 14 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { 22 if (!base::CreateDirectory(to_path)) { 30 base::FilePath destination = to_path.Append(name.BaseName()); 38 return base::Move(from_path, to_path);
|
cache_util_win.cc | 16 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { 19 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
|
cache_util.h | 25 const base::FilePath& to_path);
|
/external/chromium_org/tools/git/ |
move_source_file.py | 43 def MakeDestinationPath(from_path, to_path): 53 if os.path.isdir(to_path): 54 to_path = os.path.join(to_path, os.path.basename(from_path)) 56 dest_extension = os.path.splitext(to_path)[1] 60 return to_path 63 def MoveFile(from_path, to_path): 64 """Performs a git mv command to move a file from |from_path| to |to_path|. 66 if not os.system('git mv %s %s' % (from_path, to_path)) == 0: 70 def UpdatePostMove(from_path, to_path) [all...] |
/external/chromium/chrome/browser/chromeos/cros/ |
burn_library.cc | 24 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path); 26 bool BurnImage(const FilePath& from_path, const FilePath& to_path); 50 void BurnImage(const FilePath& from_path, const FilePath& to_path); 85 const FilePath& to_path) { 88 task->BurnImage(from_path, to_path); 91 from_path, to_path)); 96 const FilePath& to_path) { 102 target_path_ = to_path.value(); 107 StartBurn(from_path.value().c_str(), to_path.value().c_str(), 151 const FilePath& to_path) { [all...] |
burn_library.h | 45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
|
/external/libmtp/examples/ |
getfile.c | 42 getfile_function(char * from_path,char * to_path) 46 printf("Getting %s to %s\n",from_path,to_path); 47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
|
sendfile.c | 49 int sendfile_function(char * from_path, char *to_path) 51 printf("Sending %s to %s\n",from_path,to_path); 67 parent_id = parse_path (to_path,files,folders);
|
/external/chromium_org/chromeos/dbus/ |
fake_image_burner_client.cc | 22 const std::string& to_path,
|
fake_image_burner_client.h | 23 const std::string& to_path,
|
image_burner_client.h | 37 // Burns the image |from_path| to the disk |to_path|. 39 const std::string& to_path,
|
image_burner_client.cc | 28 const std::string& to_path, 34 writer.AppendString(to_path);
|
/external/chromium_org/base/ |
file_util_win.cc | 38 const FilePath& to_path, 42 FilePath stripped_to = to_path.StripTrailingSeparators(); 145 const FilePath& to_path, 148 // Try a simple move first. It will only succeed when |to_path| doesn't 150 if (::MoveFile(from_path.value().c_str(), to_path.value().c_str())) 153 // succeed when |to_path| does exist. When writing to a network share, we may 156 if (::ReplaceFile(to_path.value().c_str(), from_path.value().c_str(), NULL, 165 bool CopyDirectory(const FilePath& from_path, const FilePath& to_path, 170 return ShellCopy(from_path, to_path, true); 177 if (!PathExists(to_path)) { [all...] |
file_util.h | 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 88 // Renames file |from_path| to |to_path|. Both paths must be on the same 95 const FilePath& to_path, 100 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path); 105 // If there are files existing under to_path, always overwrite. Returns true 110 const FilePath& to_path, 446 const FilePath& to_path); 451 const FilePath& to_path); 454 // Copy from_path to to_path recursively and then delete from_path recursively. 459 const FilePath& to_path); [all...] |
file_util.cc | 43 bool Move(const FilePath& from_path, const FilePath& to_path) { 44 if (from_path.ReferencesParent() || to_path.ReferencesParent()) 46 return internal::MoveUnsafe(from_path, to_path); 49 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { 50 if (from_path.ReferencesParent() || to_path.ReferencesParent()) 52 return internal::CopyFileUnsafe(from_path, to_path);
|
file_util_posix.cc | 246 const FilePath& to_path, 249 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) 257 const FilePath& to_path, 264 DCHECK(to_path.value().find('*') == std::string::npos); 274 FilePath real_to_path = to_path; 298 // We have to mimic windows behavior here. |to_path| may not exist yet, 299 // start the loop with |to_path|. 309 if (recursive && stat(to_path.value().c_str(), &to_path_stat) == 0 && 322 // the suffix after from_path to to_path to create the target_path. 323 FilePath target_path(to_path); [all...] |
/external/chromium/base/ |
file_util_deprecated.h | 41 const std::wstring& to_path,
|
file_util_win.cc | 178 bool Move(const FilePath& from_path, const FilePath& to_path) { 184 to_path.value().length() >= MAX_PATH) { 187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 199 // from_path and to_path are indeed in different volumes. 200 ret = CopyAndDeleteDirectory(from_path, to_path); 212 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { 217 to_path.value().c_str(), 228 return ::ReplaceFile(to_path.value().c_str(), 233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { 239 to_path.value().length() >= MAX_PATH) [all...] |
file_util.h | 119 BASE_API bool Move(const FilePath& from_path, const FilePath& to_path); 121 // Renames file |from_path| to |to_path|. Both paths must be on the same 126 BASE_API bool ReplaceFile(const FilePath& from_path, const FilePath& to_path); 129 BASE_API bool CopyFile(const FilePath& from_path, const FilePath& to_path); 133 // If there are files existing under to_path, always overwrite. 138 BASE_API bool CopyDirectory(const FilePath& from_path, const FilePath& to_path, 243 // Copy from_path to to_path recursively and then delete from_path recursively. 248 const FilePath& to_path);
|
file_util_posix.cc | 186 bool Move(const FilePath& from_path, const FilePath& to_path) { 188 // Windows compatibility: if to_path exists, from_path and to_path 191 if (CallStat(to_path.value().c_str(), &to_file_info) == 0) { 201 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) 204 if (!CopyDirectory(from_path, to_path, true)) 211 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { 213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0); 217 const FilePath& to_path, 224 DCHECK(to_path.value().find('*') == std::string::npos) [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
sandbox_prioritized_origin_database.cc | 187 base::FilePath to_path = file_system_directory_.Append(kPrimaryDirectory); local 189 if (base::PathExists(to_path)) 190 base::DeleteFile(to_path, true /* recursive */); 191 base::Move(from_path, to_path);
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
pepper_flash_file_message_filter.h | 61 const ppapi::PepperFilePath& to_path);
|