/external/chromium_org/net/disk_cache/ |
H A D | cache_util_posix.cc | 14 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { argument 26 base::FileEnumerator iter(from_path, false /* not recursive */, 38 return base::Move(from_path, to_path);
|
H A D | cache_util_win.cc | 16 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { argument 19 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
|
/external/chromium/net/disk_cache/ |
H A D | cache_util_posix.cc | 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { argument 26 from_path, 40 return file_util::Move(from_path, to_path);
|
H A D | cache_util_win.cc | 44 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { argument 47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
|
/external/libmtp/examples/ |
H A D | getfile.c | 42 getfile_function(char * from_path,char * to_path) argument 44 int id = parse_path (from_path,files,folders); 46 printf("Getting %s to %s\n",from_path,to_path);
|
H A D | sendfile.c | 49 int sendfile_function(char * from_path, char *to_path) argument 51 printf("Sending %s to %s\n",from_path,to_path); 59 if ( stat(from_path, &sb) == -1 ) { 60 fprintf(stderr, "%s: ", from_path); 66 filename = basename(from_path); 81 ret = LIBMTP_Send_File_From_File(device, from_path, genfile, progress, NULL);
|
H A D | sendtr.c | 164 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *ptitle, char *pgenre, char *palbum, char *pcomposer, uint16_t tracknum, uint16_t length, uint16_t year, uint32_t storageid) argument 176 printf("Sending track %s to %s\n",from_path,to_path); 189 if ( stat(from_path, &sb) == -1 ) { 190 fprintf(stderr, "%s: ", from_path); 195 trackmeta->filetype = find_filetype (from_path); 350 ret = LIBMTP_Send_Track_From_File(device, from_path, trackmeta, progress, NULL);
|
/external/chromium_org/chromeos/dbus/ |
H A D | fake_image_burner_client.cc | 21 void FakeImageBurnerClient::BurnImage(const std::string& from_path, argument
|
/external/chromium/chrome/browser/chromeos/cros/ |
H A D | 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); 84 bool BurnLibraryImpl::DoBurn(const FilePath& from_path, argument 88 task->BurnImage(from_path, to_path); 91 from_path, to_path)); 95 bool BurnLibraryImpl::BurnImage(const FilePath& from_path, argument 107 StartBurn(from_path.value().c_str(), to_path.value().c_str(), 150 void BurnLibraryTaskProxy::BurnImage(const FilePath& from_path, argument 152 library_->BurnImage(from_path, to_pat 170 DoBurn(const FilePath& from_path, const FilePath& to_path) argument [all...] |
/external/chromium_org/webkit/browser/fileapi/ |
H A D | sandbox_prioritized_origin_database.cc | 186 base::FilePath from_path = file_system_directory_.Append(directory_name); local 191 base::Move(from_path, to_path);
|
/external/chromium_org/base/ |
H A D | file_util.cc | 43 bool Move(const FilePath& from_path, const FilePath& to_path) { argument 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) { argument 50 if (from_path.ReferencesParent() || to_path.ReferencesParent()) 52 return internal::CopyFileUnsafe(from_path, to_path);
|
H A D | file_util_win.cc | 37 bool ShellCopy(const FilePath& from_path, argument 41 FilePath stripped_from = from_path.StripTrailingSeparators(); 144 bool ReplaceFile(const FilePath& from_path, argument 150 if (::MoveFile(from_path.value().c_str(), to_path.value().c_str())) 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, argument 170 return ShellCopy(from_path, to_path, true); 173 DCHECK(DirectoryExists(from_path)); 183 ShellCopy(from_path, to_path, false); 186 FilePath directory = from_path 688 MoveUnsafe(const FilePath& from_path, const FilePath& to_path) argument 722 CopyFileUnsafe(const FilePath& from_path, const FilePath& to_path) argument 735 CopyAndDeleteDirectory(const FilePath& from_path, const FilePath& to_path) argument [all...] |
H A D | file_util_posix.cc | 245 bool ReplaceFile(const FilePath& from_path, argument 249 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) 256 bool CopyDirectory(const FilePath& from_path, argument 265 DCHECK(from_path.value().find('*') == std::string::npos); 268 if (strlcpy(top_dir, from_path.value().c_str(), 284 FilePath real_from_path = MakeAbsoluteFilePath(from_path); 296 FileEnumerator traversal(from_path, recursive, traverse_type); 301 FilePath current = from_path; 302 if (stat(from_path.value().c_str(), &from_stat) < 0) { 304 << from_path 891 MoveUnsafe(const FilePath& from_path, const FilePath& to_path) argument 918 CopyFileUnsafe(const FilePath& from_path, const FilePath& to_path) argument [all...] |
H A D | file_util_unittest.cc | 1366 FilePath from_path = local 1369 FilePath from_path = local 1373 EXPECT_TRUE(CopyDirectory(from_path, dir_name_to, true));
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
H A D | pepper_flash_file_message_filter.cc | 156 const ppapi::PepperFilePath& from_path, 159 from_path, base::Bind(&CanCreateReadWrite)); 154 OnRenameFile( ppapi::host::HostMessageContext* context, const ppapi::PepperFilePath& from_path, const ppapi::PepperFilePath& to_path) argument
|
/external/chromium/base/ |
H A D | file_util.cc | 375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, argument 377 return CopyDirectory(FilePath::FromWStringHack(from_path),
|
H A D | file_util_posix.cc | 186 bool Move(const FilePath& from_path, const FilePath& to_path) { argument 188 // Windows compatibility: if to_path exists, from_path and to_path 193 if (CallStat(from_path.value().c_str(), &from_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)) 207 Delete(from_path, true); 211 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { argument 213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0); 216 bool CopyDirectory(const FilePath& from_path, argument 225 DCHECK(from_path 850 CopyFile(const FilePath& from_path, const FilePath& to_path) argument [all...] |
H A D | file_util_win.cc | 178 bool Move(const FilePath& from_path, const FilePath& to_path) { argument 183 if (from_path.value().length() >= MAX_PATH || 187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 196 if (DirectoryExists(from_path)) { 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) { argument 229 from_path.value().c_str(), NULL, 233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { argument 238 if (from_path 246 ShellCopy(const FilePath& from_path, const FilePath& to_path, bool recursive) argument 279 CopyDirectory(const FilePath& from_path, const FilePath& to_path, bool recursive) argument 304 CopyAndDeleteDirectory(const FilePath& from_path, const FilePath& to_path) argument [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | appengine_wrappers.py | 230 def from_path(model_name, path): member in class:IsDeadlineExceededError.db.Key
|
/external/chromium_org/chrome/browser/chromeos/login/ |
H A D | wallpaper_manager.cc | 96 base::FilePath from_path = base_path.Append(email); local 97 if (base::PathExists(from_path)) 98 return base::Move(from_path, to_path);
|