/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/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/dashboard/dashboard/ |
D | migrate_test_names.py | 150 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/ |
D | MOCK_INFO_RESPONSE_FILE | 24 "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/ |
D | PRESUBMIT.py | 27 old_path = sys.path 33 sys.path = old_path
|
/external/pdfium/core/src/fpdfapi/fpdf_page/ |
D | fpdf_page_graph_state.cpp | 129 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/ |
D | manpage.py | 188 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/ |
D | js_checks.py | 64 old_path = sys.path 83 sys.path = old_path
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_test.py | 867 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/ |
D | copy.js | 2798 },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);
|
D | primes.js | 2812 },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);
|
D | corrections.js | 2798 },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);
|
D | memops.js | 2906 },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);
|
D | fannkuch.js | 2937 },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);
|
D | fasta.js | 3181 },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);
|
D | zlib.js | 2907 },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);
|
D | lua_binarytrees.js | 2944 },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);
|
D | box2d.js | 3155 },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/ |
D | poppler.js | 2831 },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);
|