/external/webrtc/webrtc/base/ |
D | fileutils.h | 155 virtual bool MoveFolder(const Pathname &old_path, 163 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0; 167 bool MoveFileOrFolder(const Pathname &old_path, const Pathname &new_path) { in MoveFileOrFolder() argument 168 if (IsFile(old_path)) { in MoveFileOrFolder() 169 return MoveFile(old_path, new_path); in MoveFileOrFolder() 171 return MoveFolder(old_path, new_path); in MoveFileOrFolder() 178 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path) = 0; 181 bool CopyFolder(const Pathname &old_path, const Pathname &new_path); 183 bool CopyFileOrFolder(const Pathname &old_path, const Pathname &new_path) { in CopyFileOrFolder() argument 184 if (IsFile(old_path)) in CopyFileOrFolder() [all …]
|
D | unixfilesystem.cc | 222 bool UnixFilesystem::MoveFile(const Pathname &old_path, in MoveFile() argument 224 if (!IsFile(old_path)) { in MoveFile() 225 ASSERT(IsFile(old_path)); in MoveFile() 228 LOG(LS_VERBOSE) << "Moving " << old_path.pathname() in MoveFile() 230 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) { in MoveFile() 233 if (!CopyFile(old_path, new_path)) in MoveFile() 235 if (!DeleteFile(old_path)) in MoveFile() 241 bool UnixFilesystem::MoveFolder(const Pathname &old_path, in MoveFolder() argument 243 if (!IsFolder(old_path)) { in MoveFolder() 244 ASSERT(IsFolder(old_path)); in MoveFolder() [all …]
|
D | win32filesystem.cc | 231 bool Win32Filesystem::MoveFile(const Pathname &old_path, in MoveFile() argument 233 if (!IsFile(old_path)) { in MoveFile() 234 ASSERT(IsFile(old_path)); in MoveFile() 237 LOG(LS_INFO) << "Moving " << old_path.pathname() in MoveFile() 239 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(), in MoveFile() 243 bool Win32Filesystem::MoveFolder(const Pathname &old_path, in MoveFolder() argument 245 if (!IsFolder(old_path)) { in MoveFolder() 246 ASSERT(IsFolder(old_path)); in MoveFolder() 249 LOG(LS_INFO) << "Moving " << old_path.pathname() in MoveFolder() 251 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 bool MoveFile(const Pathname& old_path, const Pathname& new_path) override; 68 bool MoveFolder(const Pathname& old_path, const Pathname& new_path) override; 73 bool CopyFile(const Pathname& old_path, const Pathname& new_path) override;
|
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 | 156 bool FilesystemInterface::CopyFolder(const Pathname &old_path, in DirectoryIterator() argument 159 VERIFY(IsFolder(old_path)); in DirectoryIterator() 163 old_dir.SetFolder(old_path.pathname()); in DirectoryIterator()
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | mongo_slinks.c | 22 char *old_path; in main() local 40 old_path = strtok(line_buffer, "\t "); in main() 43 if (!old_path || !new_path) /* empty lines at the end of file */ in main() 47 if (symlink(old_path, new_path) != 0) { in main()
|
/external/elfutils/tests/ |
D | test-wrapper.sh | 41 old_path="${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" 50 LD_LIBRARY_PATH="$built_library_path$old_path" 55 LD_LIBRARY_PATH="${libdir}:${libdir}/elfutils$old_path"
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | shell_util.py | 15 old_path = _os.getcwd() 21 _os.chdir(old_path) 22 print '> cd', old_path
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_clippath.cpp | 81 const CPDF_Path& old_path = pData->m_PathAndTypeList.back().first; in AppendPath() local 82 if (old_path.IsRect()) { in AppendPath() 83 CFX_PointF point0 = old_path.GetPoint(0); in AppendPath() 84 CFX_PointF point2 = old_path.GetPoint(2); in AppendPath()
|
/external/autotest/server/site_tests/firmware_Cr50RejectUpdate/ |
D | firmware_Cr50RejectUpdate.py | 43 self.old_path = self.download_cr50_release_image(self.OLD_IMAGE_VER)[0] 96 self.try_update('-u', self.old_path, stdout='nothing to do') 100 self.try_update('', self.old_path, err=8)
|
/external/webrtc/tools/valgrind-webrtc/drmemory/ |
D | PRESUBMIT.py | 27 old_path = sys.path 33 sys.path = old_path
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 313 old_path = os.path.join(TEST_DIR, 'a', 'module.py') 317 replace_paths=[(old_path, new_path)]) 319 expected = "co_filename %r changed to %r" % (old_path, new_path)
|
D | test_pkgutil.py | 355 self.old_path = sys.path[:] 358 sys.path[:] = self.old_path
|
/external/skia/infra/bots/ |
D | win_toolchain_utils.py | 51 def abstract(win_toolchain_json, old_path): argument 53 _replace_in_file(win_toolchain_json, old_path, PLACEHOLDER)
|
/external/skqp/infra/bots/ |
D | win_toolchain_utils.py | 51 def abstract(win_toolchain_json, old_path): argument 53 _replace_in_file(win_toolchain_json, old_path, PLACEHOLDER)
|
/external/trappy/tests/ |
D | test_results.py | 59 old_path = os.path.join(self.out_dir, "results.csv") 61 os.rename(old_path, new_path)
|
/external/selinux/python/sepolicy/sepolicy/ |
D | manpage.py | 193 self.old_path = path + "/" 194 self.new_path = self.old_path + self.os_version + "/" 215 … convert_manpage_to_html((self.new_path + d.rsplit("_selinux", 1)[0] + ".html"), self.old_path + d) 220 … convert_manpage_to_html((self.new_path + r.rsplit("_selinux", 1)[0] + ".html"), self.old_path + r) 223 index = self.old_path + "index.html" 340 style_css = self.old_path + "style.css"
|
/external/python/cpython2/PC/VS9.0/ |
D | build_ssl.py | 182 old_path = os.environ['PATH'] 183 os.environ['PATH'] = os.pathsep.join([nasm_dir, old_path])
|
/external/swiftshader/third_party/subzero/pydir/ |
D | szbuild.py | 11 def NewerThanOrNotThere(old_path, new_path): argument 16 if not (os.path.exists(old_path) and os.path.exists(new_path)): 18 return os.path.getmtime(old_path) > os.path.getmtime(new_path)
|
/external/ltp/lib/ |
D | tst_test.c | 865 char *old_path = getenv("PATH"); in add_paths() local 871 if (old_path) in add_paths() 872 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir); in add_paths()
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_sdist.py | 64 self.old_path = os.getcwd() 75 os.chdir(self.old_path)
|
/external/python/cpython3/Lib/distutils/ |
D | _msvccompiler.py | 498 old_path = os.getenv('path') 503 os.environ['path'] = old_path
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_sdist.py | 62 self.old_path = os.getcwd() 73 os.chdir(self.old_path)
|