Home
last modified time | relevance | path

Searched refs:to_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);
85 const FilePath& to_path) { in DoBurn() argument
88 task->BurnImage(from_path, to_path); in DoBurn()
91 from_path, to_path)); in DoBurn()
96 const FilePath& to_path) { in BurnImage() argument
102 target_path_ = to_path.value(); in BurnImage()
107 StartBurn(from_path.value().c_str(), to_path.value().c_str(), in BurnImage()
151 const FilePath& to_path) { in BurnImage() argument
[all …]
Dburn_library.h45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
/external/chromium/net/disk_cache/
Dcache_util_posix.cc13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { in MoveCache() argument
21 if (!file_util::CreateDirectory(to_path)) { in MoveCache()
32 FilePath destination = to_path.Append(name.BaseName()); 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/chromium/base/
Dfile_util_win.cc178 bool Move(const FilePath& from_path, const FilePath& to_path) { in Move() argument
184 to_path.value().length() >= MAX_PATH) { in Move()
187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 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
217 to_path.value().c_str(), in ReplaceFile()
228 return ::ReplaceFile(to_path.value().c_str(), in ReplaceFile()
233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { in CopyFile() argument
239 to_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
191 if (CallStat(to_path.value().c_str(), &to_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()
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()
217 const FilePath& to_path, in CopyDirectory() argument
224 DCHECK(to_path.value().find('*') == std::string::npos); in CopyDirectory()
234 FilePath real_to_path = to_path; in CopyDirectory()
271 if (recursive && stat(to_path.value().c_str(), &to_path_stat) == 0 && in CopyDirectory()
[all …]
Dfile_util_mac.mm29 bool CopyFile(const FilePath& from_path, const FilePath& to_path) {
32 to_path.value().c_str(), NULL, COPYFILE_ALL) == 0);
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,
248 const FilePath& to_path);
Dfile_util_deprecated.h41 const std::wstring& to_path,
Dfile_util.cc375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, in CopyDirectory() argument
378 FilePath::FromWStringHack(to_path), in CopyDirectory()
/external/libmtp/examples/
Dgetfile.c42 getfile_function(char * from_path,char * to_path) in getfile_function() argument
46 printf("Getting %s to %s\n",from_path,to_path); in getfile_function()
47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) { in getfile_function()
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()
67 parent_id = parse_path (to_path,files,folders); in sendfile_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()
181 parent = dirname(strdup(to_path)); in sendtrack_function()
182 filename = basename(strdup(to_path)); in sendtrack_function()
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
Dmock_drt_unittest.py103 def to_path(self, port, test_name): member in MockDRTTest
107 url = port.filename_to_uri(self.to_path(port, test_name))
129 path = self.to_path(port, test_name)
235 url = port.filename_to_uri(self.to_path(port, test_name))
241 url = port.filename_to_uri(self.to_path(port, test_name))