/external/chromium_org/third_party/webrtc/base/ |
D | fileutils.h | 159 virtual bool MoveFolder(const Pathname &old_path, 167 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0; 171 bool MoveFileOrFolder(const Pathname &old_path, const Pathname &new_path) { in MoveFileOrFolder() argument 172 if (IsFile(old_path)) { in MoveFileOrFolder() 173 return MoveFile(old_path, new_path); in MoveFileOrFolder() 175 return MoveFolder(old_path, new_path); in MoveFileOrFolder() 182 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path) = 0; 185 bool CopyFolder(const Pathname &old_path, const Pathname &new_path); 187 bool CopyFileOrFolder(const Pathname &old_path, const Pathname &new_path) { in CopyFileOrFolder() argument 188 if (IsFile(old_path)) in CopyFileOrFolder() [all …]
|
D | unixfilesystem.cc | 221 bool UnixFilesystem::MoveFile(const Pathname &old_path, in MoveFile() argument 223 if (!IsFile(old_path)) { in MoveFile() 224 ASSERT(IsFile(old_path)); in MoveFile() 227 LOG(LS_VERBOSE) << "Moving " << old_path.pathname() in MoveFile() 229 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) { in MoveFile() 232 if (!CopyFile(old_path, new_path)) in MoveFile() 234 if (!DeleteFile(old_path)) in MoveFile() 240 bool UnixFilesystem::MoveFolder(const Pathname &old_path, in MoveFolder() argument 242 if (!IsFolder(old_path)) { in MoveFolder() 243 ASSERT(IsFolder(old_path)); in MoveFolder() [all …]
|
D | win32filesystem.cc | 230 bool Win32Filesystem::MoveFile(const Pathname &old_path, in MoveFile() argument 232 if (!IsFile(old_path)) { in MoveFile() 233 ASSERT(IsFile(old_path)); in MoveFile() 236 LOG(LS_INFO) << "Moving " << old_path.pathname() in MoveFile() 238 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(), in MoveFile() 242 bool Win32Filesystem::MoveFolder(const Pathname &old_path, in MoveFolder() argument 244 if (!IsFolder(old_path)) { in MoveFolder() 245 ASSERT(IsFolder(old_path)); in MoveFolder() 248 LOG(LS_INFO) << "Moving " << old_path.pathname() in MoveFolder() 250 if (::MoveFile(ToUtf16(old_path.pathname()).c_str(), in MoveFolder() [all …]
|
D | win32filesystem.h | 46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path); 55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
|
D | unixfilesystem.h | 67 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path); 68 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path); 73 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
|
D | fileutils_mock.h | 177 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) { in MoveFolder() argument 181 bool MoveFile(const Pathname &old_path, const Pathname &new_path) { in MoveFile() argument 185 bool CopyFile(const Pathname &old_path, const Pathname &new_path) { in CopyFile() argument
|
D | fileutils.cc | 151 bool FilesystemInterface::CopyFolder(const Pathname &old_path, in DirectoryIterator() argument 154 VERIFY(IsFolder(old_path)); in DirectoryIterator() 158 old_dir.SetFolder(old_path.pathname()); in DirectoryIterator()
|
/external/chromium_org/ui/resources/ |
D | PRESUBMIT.py | 34 old_path = sys.path 37 sys.path = [resources] + old_path 44 sys.path = old_path
|
/external/chromium_org/ash/resources/ |
D | PRESUBMIT.py | 35 old_path = sys.path 38 sys.path = [resources] + old_path 45 sys.path = old_path
|
/external/chromium_org/chrome/app/theme/ |
D | PRESUBMIT.py | 35 old_path = sys.path 38 sys.path = [resources] + old_path 45 sys.path = old_path
|
/external/chromium_org/mojo/spy/ |
D | PRESUBMIT.py | 20 old_path = sys.path 23 sys.path = prepended_path + old_path 26 sys.path = old_path
|
/external/chromium_org/net/test/ |
D | python_utils.cc | 21 std::string old_path; in AppendToPythonPath() local 28 if (!env->GetVar(kPythonPathEnv, &old_path)) { in AppendToPythonPath() 30 } else if (old_path.find(dir_path) == std::string::npos) { in AppendToPythonPath() 31 std::string new_path(old_path); in AppendToPythonPath()
|
/external/chromium_org/tools/telemetry/ |
D | PRESUBMIT.py | 39 old_path = sys.path 42 sys.path = prepended_path + old_path 45 sys.path = old_path
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | path_util.cc | 51 const base::FilePath& old_path, in MigratePathFromOldFormat() argument 94 if (old_path == old_base || in MigratePathFromOldFormat() 95 old_base.AppendRelativePath(old_path, &relative)) { in MigratePathFromOldFormat() 97 return old_path != *new_path; in MigratePathFromOldFormat()
|
D | path_util.h | 51 const base::FilePath& old_path,
|
/external/chromium_org/chrome/browser/ |
D | PRESUBMIT.py | 47 old_path = sys.path 50 sys.path = [cwd] + old_path 73 sys.path = old_path
|
/external/chromium-trace/trace-viewer/ |
D | PRESUBMIT.py | 66 old_path = sys.path 69 sys.path = prepended_path + old_path 72 sys.path = old_path
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | exec_cmd.c | 84 const char *old_path = getenv("PATH"); in setup_path() local 90 if (old_path) in setup_path() 91 strbuf_addstr(&new_path, old_path); in setup_path()
|
/external/chromium_org/tools/valgrind/drmemory/ |
D | PRESUBMIT.py | 17 old_path = sys.path 23 sys.path = old_path
|
/external/chromium_org/chrome/browser/media/ |
D | wv_test_license_server_config.cc | 81 std::string old_path; in GetServerCommandLine() local 82 if (env->GetVar(kLibraryPathEnvVarName, &old_path)) in GetServerCommandLine() 83 library_paths.append(":").append(old_path); in GetServerCommandLine()
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
D | crazy_linker_proc_maps.cpp | 152 const char* old_path = entry.path; in Open() local 153 if (old_path) { in Open() 155 ::memcpy(new_path, old_path, entry.path_len); in Open()
|
/external/chromium_org/media/tools/layout_tests/ |
D | test_expectations_history.py | 103 old_path = TestExpectationsHistory.GetTestExpectationsPathForRevision( 107 url_or_path=old_path,
|
/external/chromium_org/tools/git/ |
D | move_source_file.py | 128 def UpdateIncludeGuard(old_path, new_path): argument 135 old_guard = MakeIncludeGuardName(old_path)
|
/external/chromium_org/tools/perf_expectations/tests/ |
D | perf_expectations_unittest.py | 22 old_path = sys.path 59 sys.path = old_path
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
D | builtin-help.c | 313 const char *old_path = getenv("MANPATH"); in setup_man_path() local 321 if (old_path) in setup_man_path() 322 strbuf_addstr(&new_path, old_path); in setup_man_path()
|