Searched defs:to_path (Results 1 - 7 of 7) 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
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 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/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);
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 Dmock_drt_unittest.py103 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 Dfile_util.cc375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path, argument
378 FilePath::FromWStringHack(to_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
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 Dfile_util_win.cc178 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...]

Completed in 152 milliseconds