Home
last modified time | relevance | path

Searched refs:old_path (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/webrtc/base/
Dfileutils.h155 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 …]
Dunixfilesystem.cc222 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 …]
Dwin32filesystem.cc231 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 …]
Dwin32filesystem.h46 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);
Dunixfilesystem.h67 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;
Dfileutils_mock.h177 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
Dfileutils.cc156 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/elfutils/tests/
Dtest-wrapper.sh41 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/dashboard/dashboard/
Dmigrate_test_names.py150 old_path = utils.TestPath(test.key)
151 new_path = _GetNewTestPath(old_path, new_pattern)
171 def _GetNewTestPath(old_path, new_pattern): argument
196 assert '*' not in old_path, '* should never appear in actual test paths.'
197 old_path_parts = old_path.split('/')
207 'part in old test path %s' % old_path)
/external/chromium-trace/catapult/experimental/bisect_lib/test_data/
DMOCK_INFO_RESPONSE_FILE24 "old_path": "chrome/browser/extensions/extension_context_menu_model.cc",
33 "old_path": "chrome/browser/extensions/extension_context_menu_model_unittest.cc",
42 "old_path": "chrome/browser/ui/views/toolbar/chevron_menu_button.cc",
/external/webrtc/tools/valgrind-webrtc/drmemory/
DPRESUBMIT.py27 old_path = sys.path
33 sys.path = old_path
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page_graph_state.cpp129 CPDF_Path old_path = pData->m_pPathList[pData->m_PathCount - 1]; in AppendPath() local
130 if (old_path.IsRect()) { in AppendPath()
131 CPDF_Rect old_rect(old_path.GetPointX(0), old_path.GetPointY(0), in AppendPath()
132 old_path.GetPointX(2), old_path.GetPointY(2)); in AppendPath()
/external/selinux/policycoreutils/sepolicy/sepolicy/
Dmanpage.py188 self.old_path = path + "/"
189 self.new_path = self.old_path + self.os_version + "/"
210 … convert_manpage_to_html((self.new_path + d.split("_selinux")[0] + ".html"), self.old_path + d)
215 … convert_manpage_to_html((self.new_path + r.split("_selinux")[0] + ".html"), self.old_path + r)
218 index = self.old_path + "index.html"
335 style_css = self.old_path + "style.css"
/external/chromium-trace/catapult/catapult_build/
Djs_checks.py64 old_path = sys.path
83 sys.path = old_path
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_test.py867 for old_path, new_path in [('wxyyw', 'xyzzy'), ('/abccb', 'cdeed')]:
868 self.filesystem.CreateFile('%s/plugh' % old_path, contents='test')
869 self.assertTrue(self.filesystem.Exists(old_path))
871 self.os.rename(old_path, new_path)
872 self.assertFalse(self.filesystem.Exists(old_path))
/external/v8/test/mjsunit/asm/embenchen/
Dcopy.js2798 },rename:function (old_path, new_path) { argument
2799 var old_dirname = PATH.dirname(old_path);
2801 var old_name = PATH.basename(old_path);
2806 lookup = FS.lookupPath(old_path, { parent: true });
2820 var relative = PATH.relative(old_path, new_dirname);
Dprimes.js2812 },rename:function (old_path, new_path) { argument
2813 var old_dirname = PATH.dirname(old_path);
2815 var old_name = PATH.basename(old_path);
2820 lookup = FS.lookupPath(old_path, { parent: true });
2834 var relative = PATH.relative(old_path, new_dirname);
Dcorrections.js2798 },rename:function (old_path, new_path) { argument
2799 var old_dirname = PATH.dirname(old_path);
2801 var old_name = PATH.basename(old_path);
2806 lookup = FS.lookupPath(old_path, { parent: true });
2820 var relative = PATH.relative(old_path, new_dirname);
Dmemops.js2906 },rename:function (old_path, new_path) { argument
2907 var old_dirname = PATH.dirname(old_path);
2909 var old_name = PATH.basename(old_path);
2914 lookup = FS.lookupPath(old_path, { parent: true });
2928 var relative = PATH.relative(old_path, new_dirname);
Dfannkuch.js2937 },rename:function (old_path, new_path) { argument
2938 var old_dirname = PATH.dirname(old_path);
2940 var old_name = PATH.basename(old_path);
2945 lookup = FS.lookupPath(old_path, { parent: true });
2959 var relative = PATH.relative(old_path, new_dirname);
Dfasta.js3181 },rename:function (old_path, new_path) { argument
3182 var old_dirname = PATH.dirname(old_path);
3184 var old_name = PATH.basename(old_path);
3189 lookup = FS.lookupPath(old_path, { parent: true });
3203 var relative = PATH.relative(old_path, new_dirname);
Dzlib.js2907 },rename:function (old_path, new_path) { argument
2908 var old_dirname = PATH.dirname(old_path);
2910 var old_name = PATH.basename(old_path);
2915 lookup = FS.lookupPath(old_path, { parent: true });
2929 var relative = PATH.relative(old_path, new_dirname);
Dlua_binarytrees.js2944 },rename:function (old_path, new_path) { argument
2945 var old_dirname = PATH.dirname(old_path);
2947 var old_name = PATH.basename(old_path);
2952 lookup = FS.lookupPath(old_path, { parent: true });
2966 var relative = PATH.relative(old_path, new_dirname);
5869 function _rename(old_path, new_path) { argument
5872 old_path = Pointer_stringify(old_path);
5875 FS.rename(old_path, new_path);
Dbox2d.js3155 },rename:function (old_path, new_path) { argument
3156 var old_dirname = PATH.dirname(old_path);
3158 var old_name = PATH.basename(old_path);
3163 lookup = FS.lookupPath(old_path, { parent: true });
3177 var relative = PATH.relative(old_path, new_dirname);
/external/v8/test/mjsunit/asm/poppler/
Dpoppler.js2831 },rename:function (old_path, new_path) { argument
2832 var old_dirname = PATH.dirname(old_path);
2834 var old_name = PATH.basename(old_path);
2839 lookup = FS.lookupPath(old_path, { parent: true });
2853 var relative = PATH.relative(old_path, new_dirname);