Home
last modified time | relevance | path

Searched refs:from_path (Results 1 – 15 of 15) sorted by relevance

/external/chromium/chrome/browser/chromeos/cros/
Dburn_library.cc24 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, in DoBurn() argument
88 task->BurnImage(from_path, to_path); in DoBurn()
91 from_path, to_path)); in DoBurn()
95 bool BurnLibraryImpl::BurnImage(const FilePath& from_path, in BurnImage() argument
107 StartBurn(from_path.value().c_str(), to_path.value().c_str(), in BurnImage()
150 void BurnLibraryTaskProxy::BurnImage(const FilePath& from_path, in BurnImage() argument
152 library_->BurnImage(from_path, to_path); in BurnImage()
[all …]
Dburn_library.h45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
/external/libmtp/examples/
Dsendfile.c49 int sendfile_function(char * from_path, char *to_path) in sendfile_function() argument
51 printf("Sending %s to %s\n",from_path,to_path); in sendfile_function()
59 if ( stat(from_path, &sb) == -1 ) { in sendfile_function()
60 fprintf(stderr, "%s: ", from_path); in sendfile_function()
66 filename = basename(from_path); in sendfile_function()
81 ret = LIBMTP_Send_File_From_File(device, from_path, genfile, progress, NULL); in sendfile_function()
Dgetfile.c42 getfile_function(char * from_path,char * to_path) in getfile_function() argument
44 int id = parse_path (from_path,files,folders); in getfile_function()
46 printf("Getting %s to %s\n",from_path,to_path); in getfile_function()
Dsendtr.c164 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *p… in sendtrack_function() argument
176 printf("Sending track %s to %s\n",from_path,to_path); in sendtrack_function()
189 if ( stat(from_path, &sb) == -1 ) { in sendtrack_function()
190 fprintf(stderr, "%s: ", from_path); in sendtrack_function()
195 trackmeta->filetype = find_filetype (from_path); in sendtrack_function()
350 ret = LIBMTP_Send_Track_From_File(device, from_path, trackmeta, progress, NULL); in sendtrack_function()
/external/chromium/base/
Dfile_util_win.cc178 bool Move(const FilePath& from_path, const FilePath& to_path) { in Move() argument
183 if (from_path.value().length() >= MAX_PATH || in Move()
187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), in Move()
196 if (DirectoryExists(from_path)) { 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
229 from_path.value().c_str(), NULL, in ReplaceFile()
233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { in CopyFile() argument
238 if (from_path.value().length() >= MAX_PATH || in CopyFile()
242 return (::CopyFile(from_path.value().c_str(), to_path.value().c_str(), in CopyFile()
[all …]
Dfile_util_posix.cc186 bool Move(const FilePath& from_path, const FilePath& to_path) { in Move() argument
193 if (CallStat(from_path.value().c_str(), &from_file_info) == 0) { in Move()
201 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) in Move()
204 if (!CopyDirectory(from_path, to_path, true)) in Move()
207 Delete(from_path, true); in Move()
211 bool ReplaceFile(const FilePath& from_path, const FilePath& to_path) { in ReplaceFile() argument
213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0); in ReplaceFile()
216 bool CopyDirectory(const FilePath& from_path, in CopyDirectory() argument
225 DCHECK(from_path.value().find('*') == std::string::npos); in CopyDirectory()
228 if (base::strlcpy(top_dir, from_path.value().c_str(), in CopyDirectory()
[all …]
Dfile_util_mac.mm29 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
31 return (copyfile(from_path.value().c_str(),
Dfile_util.h119 BASE_API bool Move(const FilePath& from_path, const FilePath& to_path);
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);
138 BASE_API bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
247 BASE_API bool CopyAndDeleteDirectory(const FilePath& from_path,
Dfile_util_deprecated.h40 BASE_API bool CopyDirectory(const std::wstring& from_path,
Dfile_util.cc375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, in CopyDirectory() argument
377 return CopyDirectory(FilePath::FromWStringHack(from_path), in CopyDirectory()
/external/chromium/net/disk_cache/
Dcache_util_posix.cc13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { in MoveCache() argument
26 from_path, in MoveCache()
40 return file_util::Move(from_path, to_path); in MoveCache()
Dcache_util_win.cc44 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { in MoveCache() argument
47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) { in MoveCache()
Dcache_util.h21 bool MoveCache(const FilePath& from_path, const FilePath& to_path);
/external/webkit/Tools/Scripts/webkitpy/common/net/
Dtestoutputset.py55 def from_path(self, path, platform=None): member in TestOutputSet