HomeSort by relevance Sort by last modified time
    Searched refs:to_path (Results 1 - 11 of 11) sorted by null

  /external/chromium/net/disk_cache/
cache_util.h 21 bool MoveCache(const FilePath& from_path, const FilePath& to_path);
cache_util_posix.cc 13 bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
21 if (!file_util::CreateDirectory(to_path)) {
32 FilePath destination = to_path.Append(name.BaseName());
40 return file_util::Move(from_path, to_path);
cache_util_win.cc 44 bool MoveCache(const FilePath& from_path, const FilePath& to_path) {
47 if (!MoveFileEx(from_path.value().c_str(), to_path.value().c_str(), 0)) {
  /external/chromium/chrome/browser/chromeos/cros/
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) {
    [all...]
burn_library.h 45 virtual bool DoBurn(const FilePath& from_path, const FilePath& to_path) = 0;
  /external/chromium/base/
file_util_deprecated.h 41 const std::wstring& to_path,
file_util_win.cc 178 bool Move(const FilePath& from_path, const FilePath& to_path) {
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) {
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) {
239 to_path.value().length() >= MAX_PATH)
    [all...]
file_util.h 119 BASE_API bool Move(const FilePath& from_path, const FilePath& to_path);
121 // Renames file |from_path| to |to_path|. Both paths must be on the same
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);
133 // If there are files existing under to_path, always overwrite.
138 BASE_API bool CopyDirectory(const FilePath& from_path, const FilePath& to_path,
243 // Copy from_path to to_path recursively and then delete from_path recursively.
248 const FilePath& to_path);
file_util_posix.cc 186 bool Move(const FilePath& from_path, const FilePath& to_path) {
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) {
213 return (rename(from_path.value().c_str(), to_path.value().c_str()) == 0);
217 const FilePath& to_path,
224 DCHECK(to_path.value().find('*') == std::string::npos)
    [all...]
file_util.cc 375 bool CopyDirectory(const std::wstring& from_path, const std::wstring& to_path,
378 FilePath::FromWStringHack(to_path),
  /external/webkit/Tools/Scripts/webkitpy/layout_tests/port/
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))

Completed in 93 milliseconds