Searched defs:from_path (Results 1 - 10 of 10) sorted by relevance

/external/chromium/net/disk_cache/
H A Dcache_util_posix.cc13 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 Dcache_util_win.cc44 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 Dgetfile.c42 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 Dsendfile.c49 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 Dsendtr.c164 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/webkit/Tools/Scripts/webkitpy/common/net/
H A Dtestoutputset.py55 def from_path(self, path, platform=None): member in class:TestOutputSet
/external/chromium/chrome/browser/chromeos/cros/
H A 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, 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/base/
H A Dfile_util.cc375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, argument
377 return CopyDirectory(FilePath::FromWStringHack(from_path),
H A Dfile_util_posix.cc186 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 Dfile_util_win.cc178 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...]

Completed in 264 milliseconds