/external/libchrome/base/files/ |
D | file_util.h | 86 BASE_EXPORT bool Move(const FilePath& from_path, const FilePath& to_path); 95 const FilePath& to_path, 118 BASE_EXPORT bool CopyFile(const FilePath& from_path, const FilePath& to_path); 130 const FilePath& to_path, 136 const FilePath& to_path, 484 const FilePath& to_path); 492 const FilePath& to_path);
|
D | file_util_posix.cc | 181 const FilePath& to_path, in DoCopyDirectory() argument 188 DCHECK(to_path.value().find('*') == std::string::npos); in DoCopyDirectory() 196 FilePath real_to_path = to_path; in DoCopyDirectory() 225 if (recursive && DirectoryExists(to_path)) { in DoCopyDirectory() 239 FilePath target_path(to_path); in DoCopyDirectory() 385 const FilePath& to_path, in ReplaceFile() argument 388 if (rename(from_path.value().c_str(), to_path.value().c_str()) == 0) in ReplaceFile() 396 const FilePath& to_path, in CopyDirectory() argument 398 return DoCopyDirectory(from_path, to_path, recursive, false); in CopyDirectory() 402 const FilePath& to_path, in CopyDirectoryExcl() argument [all …]
|
D | file_util.cc | 46 bool Move(const FilePath& from_path, const FilePath& to_path) { in Move() argument 47 if (from_path.ReferencesParent() || to_path.ReferencesParent()) in Move() 49 return internal::MoveUnsafe(from_path, to_path); in Move()
|
/external/rust/crates/remain/src/ |
D | check.rs | 57 Some(item.to_path()) in collect_paths() 77 fn to_path(&self) -> Result<Path>; in to_path() method 82 fn to_path(&self) -> Result<Path> { in to_path() method 93 fn to_path(&self) -> Result<Path> { in to_path() method 104 fn to_path(&self) -> Result<Path> { in to_path() method
|
/external/rust/crates/tokio/tests/ |
D | fs_copy.rs | 27 let to_path = dir.path().join("bar.txt"); in copy_permissions() localVariable 34 tokio::fs::copy(from_path, &to_path).await.unwrap(); in copy_permissions() 36 let to_perms = tokio::fs::metadata(to_path).await.unwrap().permissions(); in copy_permissions()
|
/external/google-breakpad/src/common/linux/tests/ |
D | crash_generator.cc | 264 char from_path[PATH_MAX], to_path[PATH_MAX]; in CopyProcFiles() local 271 num_chars = snprintf(to_path, PATH_MAX, "%s/%s", in CopyProcFiles() 276 if (!CopyFile(from_path, to_path)) in CopyProcFiles()
|
/external/google-breakpad/src/common/tests/ |
D | file_utils.cc | 44 bool CopyFile(const char* from_path, const char* to_path) { in CopyFile() argument 51 int outfile = HANDLE_EINTR(creat(to_path, 0666)); in CopyFile()
|
D | file_utils.h | 39 bool CopyFile(const char* from_path, const char* to_path);
|
/external/autotest/client/cros/faft/utils/ |
D | os_interface.py | 162 def copy_file(self, from_path, to_path): argument 164 cmd = 'cp -f %s %s' % (from_path, to_path) 167 def copy_dir(self, from_path, to_path): argument 169 cmd = 'cp -rf %s %s' % (from_path, to_path)
|
/external/llvm-project/libcxx/test/support/ |
D | filesystem_test_helper.h | 228 fs::path to_path, 232 std::string to = to_path.string(); 242 fs::path to_path, 244 return create_file_dir_symlink(source_path, to_path, sanitize_source, 249 fs::path to_path, 251 return create_file_dir_symlink(source_path, to_path, sanitize_source, 255 std::string create_hardlink(fs::path source_path, fs::path to_path) { in create_hardlink() 257 std::string to = to_path.string(); in create_hardlink()
|
/external/rust/crates/protobuf-codegen/src/ |
D | rust_name.rs | 30 pub fn to_path(&self) -> RustIdentWithPath { in to_path() method 258 pub fn to_path(&self) -> RustPath { in to_path() method 271 fmt::Display::fmt(&self.to_path(), f) in fmt()
|
/external/skqp/src/pdf/ |
D | SkPDFDevice.cpp | 66 static SkPath to_path(const SkRect& r) { in to_path() function 211 return Op(to_path(bounds), invPath, kIntersect_SkPathOp, outPath); in calculate_inverse_path() 268 if (Op(clipPath, to_path(outsetBounds), kIntersect_SkPathOp, &clipPath)) { in append_clip() 518 SkPath path = to_path(rect); in drawAnnotation() 682 this->drawPath(to_path(r), paint, true); in drawRect() 1291 content.setShape(to_path(SkRect::Make(SkIRect::MakeXYWH(x, y, dim.width(), dim.height())))); in drawDevice() 1897 SkPath path = to_path(dst); // handles non-integral clipping. in internalDrawImageRect() 1919 SkPath perspectiveOutline = to_path(imageBounds); in internalDrawImageRect() 1931 SkPath physicalPerspectiveOutline = to_path(imageBounds); in internalDrawImageRect() 1994 SkPath shape = to_path(SkRect::Make(subset)); in internalDrawImageRect()
|
/external/rust/crates/bstr/src/ |
D | ext_slice.rs | 535 fn to_path(&self) -> Result<&Path, Utf8Error> { in to_path() method
|