HomeSort by relevance Sort by last modified time
    Searched refs:old_path (Results 1 - 25 of 34) sorted by null

1 2

  /bionic/libc/bionic/
link.cpp 32 int link(const char* old_path, const char* new_path) {
33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0);
rename.cpp 32 int rename(const char* old_path, const char* new_path) {
33 return renameat(AT_FDCWD, old_path, AT_FDCWD, new_path);
symlink.cpp 32 int symlink(const char* old_path, const char* new_path) {
33 return symlinkat(old_path, AT_FDCWD, new_path);
  /external/python/cpython3/Tools/scripts/
update_file.py 13 def main(old_path, new_path):
14 with open(old_path, 'rb') as f:
19 os.replace(new_path, old_path)
  /external/elfutils/tests/
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/webrtc/webrtc/base/
fileutils.h 150 // This moves a file from old_path to new_path, where "old_path" is a
151 // plain file. This ASSERTs and returns false if old_path points to a
155 virtual bool MoveFolder(const Pathname &old_path,
158 // This moves a directory from old_path to new_path, where "old_path" is a
159 // directory. This ASSERTs and returns false if old_path points to a plain
163 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path) = 0;
165 // This attempts to move whatever is located at old_path to new_path,
167 bool MoveFileOrFolder(const Pathname &old_path, const Pathname &new_path)
    [all...]
win32filesystem.h 42 // This moves a file from old_path to new_path. If the new path is on a
46 virtual bool MoveFile(const Pathname &old_path, const Pathname &new_path);
48 // Moves a folder from old_path to new_path. If the new path is on a different
51 virtual bool MoveFolder(const Pathname &old_path, const Pathname &new_path);
53 // This copies a file from old_path to _new_path
55 virtual bool CopyFile(const Pathname &old_path, const Pathname &new_path);
unixfilesystem.cc 222 bool UnixFilesystem::MoveFile(const Pathname &old_path,
224 if (!IsFile(old_path)) {
225 ASSERT(IsFile(old_path));
228 LOG(LS_VERBOSE) << "Moving " << old_path.pathname()
230 if (rename(old_path.pathname().c_str(), new_path.pathname().c_str()) != 0) {
233 if (!CopyFile(old_path, new_path))
235 if (!DeleteFile(old_path))
241 bool UnixFilesystem::MoveFolder(const Pathname &old_path,
243 if (!IsFolder(old_path)) {
244 ASSERT(IsFolder(old_path));
    [all...]
unixfilesystem.h 64 // This moves a file from old_path to new_path, where "file" can be a plain
67 bool MoveFile(const Pathname& old_path, const Pathname& new_path) override;
68 bool MoveFolder(const Pathname& old_path, const Pathname& new_path) override;
70 // This copies a file from old_path to _new_path where "file" can be a plain
73 bool CopyFile(const Pathname& old_path, const Pathname& new_path) override;
win32filesystem.cc 231 bool Win32Filesystem::MoveFile(const Pathname &old_path,
233 if (!IsFile(old_path)) {
234 ASSERT(IsFile(old_path));
237 LOG(LS_INFO) << "Moving " << old_path.pathname()
239 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(),
243 bool Win32Filesystem::MoveFolder(const Pathname &old_path,
245 if (!IsFolder(old_path)) {
246 ASSERT(IsFolder(old_path));
249 LOG(LS_INFO) << "Moving " << old_path.pathname()
251 if (::MoveFile(ToUtf16(old_path.pathname()).c_str()
    [all...]
fileutils.cc 156 bool FilesystemInterface::CopyFolder(const Pathname &old_path,
159 VERIFY(IsFolder(old_path));
163 old_dir.SetFolder(old_path.pathname());
fileutils_mock.h 177 bool MoveFolder(const Pathname &old_path, const Pathname &new_path) {
181 bool MoveFile(const Pathname &old_path, const Pathname &new_path) {
185 bool CopyFile(const Pathname &old_path, const Pathname &new_path) {
  /external/chromium-trace/catapult/common/py_utils/py_utils/
shell_util.py 15 old_path = _os.getcwd()
21 _os.chdir(old_path)
22 print '> cd', old_path
  /external/webrtc/tools/valgrind-webrtc/drmemory/
PRESUBMIT.py 27 old_path = sys.path
33 sys.path = old_path
  /external/ltp/testcases/kernel/fs/mongo/
mongo_slinks.c 22 char *old_path; local
40 old_path = strtok(line_buffer, "\t ");
43 if (!old_path || !new_path) /* empty lines at the end of file */
47 if (symlink(old_path, new_path) != 0) {
  /external/autotest/server/site_tests/firmware_Cr50RejectUpdate/
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/pdfium/core/fpdfapi/page/
cpdf_clippath.cpp 81 const CPDF_Path& old_path = pData->m_PathAndTypeList.back().first; local
82 if (old_path.IsRect()) {
83 CFX_PointF point0 = old_path.GetPoint(0);
84 CFX_PointF point2 = old_path.GetPoint(2);
  /external/python/cpython3/Lib/test/
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)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_posixpath.py 227 old_path = abspath('.')
240 os.chdir(old_path)
251 old_path = abspath('.')
259 os.chdir(old_path)
273 old_path = abspath('.')
286 os.chdir(old_path)
297 old_path = abspath('.')
307 os.chdir(old_path)
  /external/python/cpython2/PC/VS9.0/
build_ssl.py 170 old_path = os.environ['PATH']
171 os.environ['PATH'] = os.pathsep.join([nasm_dir, old_path])
  /external/u-boot/tools/binman/
entry.py 94 old_path = sys.path
105 sys.path = old_path
  /external/swiftshader/third_party/subzero/pydir/
szbuild.py 11 def NewerThanOrNotThere(old_path, new_path):
12 """Returns whether old_path is newer than new_path.
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/python/setuptools/setuptools/command/
test.py 156 old_path = sys.path[:]
168 sys.path[:] = old_path
  /external/selinux/python/sepolicy/sepolicy/
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"
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/
test_sdist.py 66 self.old_path = os.getcwd()
77 os.chdir(self.old_path)

Completed in 1905 milliseconds

1 2