/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) { 26 from_path, 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/libmtp/examples/ |
sendfile.c | 49 int sendfile_function(char * from_path, char *to_path) 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);
|
getfile.c | 42 getfile_function(char * from_path,char * to_path) 44 int id = parse_path (from_path,files,folders); 46 printf("Getting %s to %s\n",from_path,to_path);
|
/external/chromium_org/tools/git/ |
move_source_file.py | 43 def MakeDestinationPath(from_path, to_path): 49 if not IsHandledFile(from_path): 52 from_path) 54 to_path = os.path.join(to_path, os.path.basename(from_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): 71 """Given a file that has moved from |from_path| to |to_path|, 77 from_path = from_path.replace('\\', '/' [all...] |
/external/chromium_org/net/disk_cache/ |
cache_util_posix.cc | 14 bool MoveCache(const base::FilePath& from_path, const base::FilePath& to_path) { 26 base::FileEnumerator iter(from_path, false /* not recursive */, 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 | 24 NET_EXPORT_PRIVATE bool MoveCache(const base::FilePath& from_path,
|
/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); 84 bool BurnLibraryImpl::DoBurn(const FilePath& from_path, 88 task->BurnImage(from_path, to_path); 91 from_path, to_path)); 95 bool BurnLibraryImpl::BurnImage(const FilePath& from_path, 107 StartBurn(from_path.value().c_str(), to_path.value().c_str(), 150 void BurnLibraryTaskProxy::BurnImage(const FilePath& from_path, 152 library_->BurnImage(from_path, to_path) [all...] |
burn_library.h | 45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
|
/external/chromium_org/chromeos/dbus/ |
fake_image_burner_client.cc | 21 void FakeImageBurnerClient::BurnImage(const std::string& from_path,
|
fake_image_burner_client.h | 22 virtual void BurnImage(const std::string& from_path,
|
image_burner_client.h | 37 // Burns the image |from_path| to the disk |to_path|. 38 virtual void BurnImage(const std::string& from_path,
|
image_burner_client.cc | 27 virtual void BurnImage(const std::string& from_path, 33 writer.AppendString(from_path);
|
/external/chromium_org/base/ |
file_util_win.cc | 37 bool ShellCopy(const FilePath& from_path, 41 FilePath stripped_from = from_path.StripTrailingSeparators(); 144 bool ReplaceFile(const FilePath& from_path, 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, 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.Append(L"*.*") [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 94 BASE_EXPORT bool ReplaceFile(const FilePath& from_path, 100 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path); 109 BASE_EXPORT bool CopyDirectory(const FilePath& from_path, 445 BASE_EXPORT bool MoveUnsafe(const FilePath& from_path, 450 BASE_EXPORT bool CopyFileUnsafe(const FilePath& from_path, 454 // Copy from_path to to_path recursively and then delete from_path recursively. 458 BASE_EXPORT bool CopyAndDeleteDirectory(const FilePath& from_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 | 245 bool ReplaceFile(const FilePath& from_path, 249 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) 256 bool CopyDirectory(const FilePath& from_path, 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.value() << " errno = " << errno [all...] |
/external/chromium/base/ |
file_util_deprecated.h | 40 BASE_API bool CopyDirectory(const std::wstring& from_path,
|
file_util_win.cc | 178 bool Move(const FilePath& from_path, const FilePath& to_path) { 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) { 229 from_path.value().c_str(), NULL, 233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { 238 if (from_path.value().length() >= MAX_PATH | [all...] |
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 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) { 213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0); 216 bool CopyDirectory(const FilePath& from_path, 225 DCHECK(from_path.value().find('*') == std::string::npos) [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
datastore_models.py | 20 return db.Key.from_path(cls.__name__, path)
|
patch_servlet_test.py | 148 def is_redirect(from_host, from_path, to_url): 149 response = PatchServlet(Request.ForTest(from_path, host=from_host), 154 from_host, from_path)) 157 from_host, from_path, redirect_url, to_url)) 159 from_host, from_path, redirect_url))
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
dashboard.py | 103 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 109 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 126 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 143 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 154 contact = datastore.Contact.get(db.Key.from_path('Contact', id)) 171 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
|