/external/chromium/net/disk_cache/ |
H A D | cache_util_posix.cc | 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) { argument 21 if (!file_util::CreateDirectory(to_path)) { 32 FilePath destination = to_path.Append(name.BaseName()); 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 46 printf("Getting %s to %s\n",from_path,to_path); 47 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
|
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); 67 parent_id = parse_path (to_path,files,folders);
|
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); 181 parent = dirname(strdup(to_path)); 182 filename = basename(strdup(to_path));
|
/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); 85 const FilePath& to_path) { 88 task->BurnImage(from_path, to_path); 91 from_path, to_path)); 96 const FilePath& to_path) { 102 target_path_ = to_path.value(); 107 StartBurn(from_path.value().c_str(), to_path.value().c_str(), 151 const FilePath& to_path) { 84 DoBurn(const FilePath& from_path, const FilePath& to_path) argument 95 BurnImage(const FilePath& from_path, const FilePath& to_path) argument 150 BurnImage(const FilePath& from_path, const FilePath& to_path) argument 170 DoBurn(const FilePath& from_path, const FilePath& to_path) argument [all...] |
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
H A D | mock_drt_unittest.py | 103 def to_path(self, port, test_name): member in class: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))
|
/external/chromium/base/ |
H A D | file_util.cc | 375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, argument 378 FilePath::FromWStringHack(to_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 191 if (CallStat(to_path.value().c_str(), &to_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)) 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); 217 const FilePath& to_path, 224 DCHECK(to_path 216 CopyDirectory(const FilePath& from_path, const FilePath& to_path, bool recursive) argument 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 184 to_path.value().length() >= MAX_PATH) { 187 if (MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 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 217 to_path.value().c_str(), 228 return ::ReplaceFile(to_path.value().c_str(), 233 bool CopyFile(const FilePath& from_path, const FilePath& to_path) { argument 239 to_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...] |