/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/python/cpython3/Tools/scripts/ |
D | update_file.py | 13 def main(old_path, new_path): argument 14 with open(old_path, 'rb') as f: 19 os.replace(new_path, old_path)
|
/external/elfutils/tests/ |
D | test-wrapper.sh | 41 old_path="${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" 51 LD_LIBRARY_PATH="$built_library_path$old_path" 56 LD_LIBRARY_PATH="${libdir}:${libdir}/elfutils$old_path"
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | shell_util.py | 17 old_path = _os.getcwd() 23 _os.chdir(old_path) 24 print('> cd', old_path)
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_clippath.cpp | 80 const CPDF_Path& old_path = pData->m_PathAndTypeList.back().first; in AppendPath() local 81 if (old_path.IsRect()) { in AppendPath() 82 CFX_PointF point0 = old_path.GetPoint(0); in AppendPath() 83 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] 93 self.try_update('-u', self.old_path, stdout='nothing to do') 97 self.try_update('', self.old_path, err=8)
|
/external/python/cpython3/Lib/test/test_zoneinfo/ |
D | _support.py | 90 old_path = self.module.TZPATH 100 self.module.reset_tzpath(old_path)
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 393 old_path = os.path.join(TEST_DIR, 'a', 'module.py') 397 replace_paths=[(old_path, new_path)]) 399 expected = "co_filename %r changed to %r" % (old_path, new_path)
|
D | test_pkgutil.py | 455 self.old_path = sys.path[:] 458 sys.path[:] = self.old_path
|
/external/crosvm/bin/ |
D | sync_ebuild_files | 99 old_path = ebuild_file_path(package, old_version) 102 os.rename(old_path, new_path)
|
/external/llvm-project/clang/utils/analyzer/ |
D | SATestBenchmark.py | 77 def compare(old_path: str, new_path: str, plot_file: str): 82 old = _load(old_path)
|
/external/python/cpython2/PC/VS9.0/ |
D | build_ssl.py | 170 old_path = os.environ['PATH'] 171 os.environ['PATH'] = os.pathsep.join([nasm_dir, old_path])
|
/external/python/cpython3/Lib/ |
D | ntpath.py | 558 old_path = path 566 if not islink(old_path): 567 path = old_path 569 path = normpath(join(dirname(old_path), path))
|
/external/selinux/python/sepolicy/sepolicy/ |
D | manpage.py | 192 self.old_path = path + "/" 193 self.new_path = self.old_path + self.os_version + "/" 214 … convert_manpage_to_html((self.new_path + d.rsplit("_selinux", 1)[0] + ".html"), self.old_path + d) 219 … convert_manpage_to_html((self.new_path + r.rsplit("_selinux", 1)[0] + ".html"), self.old_path + r) 222 index = self.old_path + "index.html" 339 style_css = self.old_path + "style.css"
|
/external/python/setuptools/setuptools/command/ |
D | test.py | 156 old_path = sys.path[:] 168 sys.path[:] = old_path
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_os_test.py | 1009 for old_path, new_path in [('wxyyw', 'xyzzy'), ('abccb', 'cdeed')]: 1010 old_path = self.make_path(old_path) 1012 self.create_file(self.os.path.join(old_path, 'plugh'), 1014 self.assertTrue(self.os.path.exists(old_path)) 1016 self.os.rename(old_path, new_path) 1017 self.assertFalse(self.os.path.exists(old_path)) 1043 old_path = self.make_path('foo', 'bar') 1045 self.create_dir(old_path) 1047 self.assert_raises_os_error(errno.EEXIST, self.os.rename, old_path, 1077 old_path = self.make_path('foo', 'bar') [all …]
|
/external/python/cpython3/Lib/distutils/ |
D | _msvccompiler.py | 504 old_path = os.getenv('path') 509 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)
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_sdist.py | 64 self.old_path = os.getcwd() 75 os.chdir(self.old_path)
|
/external/rust/crates/nix/test/ |
D | test_fcntl.rs | 52 let old_path = old_dir.path().join("old"); in test_renameat() localVariable 53 File::create(&old_path).unwrap(); in test_renameat()
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_pathlib.py | 125 lambda fs, old_path, new_path: FakeFilesystem.rename( 126 fs, old_path, new_path, force_replace=True))
|
D | fake_filesystem.py | 2632 def link(self, old_path, new_path, follow_symlinks=True): argument 2661 if self.ends_with_path_separator(old_path): 2663 self.raise_os_error(error, old_path) 2666 self.raise_os_error(errno.ENOENT, old_path) 2670 old_file = self.resolve(old_path, follow_symlinks=follow_symlinks) 2672 self.raise_os_error(errno.ENOENT, old_path) 2676 errno.EACCES if self.is_windows_fs else errno.EPERM, old_path)
|
/external/ltp/lib/ |
D | tst_test.c | 1065 char *old_path = getenv("PATH"); in add_paths() local 1071 if (old_path) in add_paths() 1072 SAFE_ASPRINTF(&new_path, "%s::%s", old_path, start_dir); in add_paths()
|
/external/rust/crates/nix/src/ |
D | fcntl.rs | 192 old_path: &P1, in renameat() 196 let res = old_path.with_nix_path(|old_cstr| { in renameat()
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectProcess.cpp | 419 char old_path[PATH_MAX]; in DoExecute() local 421 old_exec_module_sp->GetFileSpec().GetPath(old_path, PATH_MAX); in DoExecute() 425 "Executable module changed from \"%s\" to \"%s\".\n", old_path, in DoExecute()
|