Home
last modified time | relevance | path

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

12

/external/rust/crates/remove_dir_all/tests/
Dwindows.rs19 fs::create_dir_all("./empty").unwrap(); in removes_empty()
28 fs::create_dir_all("./files").unwrap(); in removes_files()
49 fs::create_dir_all(&path).unwrap(); in removes_dirs()
64 fs::create_dir_all(&path).unwrap(); in removes_read_only()
/external/rust/crates/tokio/src/fs/
Dmod.rs33 mod create_dir_all; module
34 pub use self::create_dir_all::create_dir_all;
Dcreate_dir_all.rs50 pub async fn create_dir_all(path: impl AsRef<Path>) -> io::Result<()> { in create_dir_all() function
52 asyncify(move || std::fs::create_dir_all(path)).await in create_dir_all()
/external/rust/cxx/gen/build/src/
Dout.rs20 create_dir_error = fs::create_dir_all(parent).err(); in write()
40 create_dir_error = fs::create_dir_all(parent).err(); in symlink_file()
60 create_dir_error = fs::create_dir_all(parent).err(); in symlink_dir()
Dlib.rs454 if !dst_created && fs::create_dir_all(dst).is_err() { in best_effort_copy_headers()
/external/rust/crates/tempfile/tests/
Dtempdir.rs164 t!(fs::create_dir_all(&path)); in recursive_mkdir_rel()
170 t!(fs::create_dir_all(&dot)); in recursive_mkdir_dot()
172 t!(fs::create_dir_all(&dotdot)); in recursive_mkdir_dot()
184 t!(fs::create_dir_all(&path)); in recursive_mkdir_rel_2()
194 t!(fs::create_dir_all(&path2)); in recursive_mkdir_rel_2()
/external/rust/crates/zip/examples/
Dextract.rs35 fs::create_dir_all(&outpath).unwrap(); in real_main()
45 fs::create_dir_all(&p).unwrap(); in real_main()
/external/libchromeos-rs/src/
Dscoped_path.rs6 use std::fs::{create_dir_all, remove_dir_all};
31 create_dir_all(p.as_ref())?; in create()
/external/crosvm/base/src/unix/
Dscoped_path.rs6 use std::fs::{create_dir_all, remove_dir_all};
39 create_dir_all(p.as_ref())?; in create()
/external/crosvm/common/sys_util/src/
Dscoped_path.rs6 use std::fs::{create_dir_all, remove_dir_all};
39 create_dir_all(p.as_ref())?; in create()
/external/rust/crates/libz-sys/
Dbuild.rs134 fs::create_dir_all(dst.join("include")).unwrap(); in build_zlib()
138 fs::create_dir_all(lib.join("pkgconfig")).unwrap(); in build_zlib()
/external/rust/cxx/gen/src/
Dfs.rs47 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> { in create_dir_all() function
49 match std::fs::create_dir_all(path) { in create_dir_all()
/external/crosvm/devices/src/
Dsoftware_tpm.rs22 fs::create_dir_all(storage.as_ref()).context("failed to create directory for simulator")?; in new()
/external/rust/crates/walkdir/src/tests/
Dutil.rs119 fs::create_dir_all(&full) in mkdirp()
240 fs::create_dir_all(&path).map_err(|e| { in new()
/external/rust/cxx/tools/cargo/
Dbuild.rs63 if fs::create_dir_all(&original_dir).is_ok() in main()
/external/crosvm/protos/
Dbuild.rs84 fs::create_dir_all(&out_dir)?; in protoc()
/external/rust/crates/tokio/tests/
Dfs_dir.rs27 assert_ok!(fs::create_dir_all(new_dir).await); in create_all()
/external/rust/crates/criterion/src/
Dfs.rs44 fs::create_dir_all(path.as_ref()).map_err(|inner| Error::AccessError { in mkdirp()
/external/rust/crates/same-file/src/
Dlib.rs432 fs::create_dir_all(&path).map_err(|e| { in new()
/external/toolchain-utils/llvm_tools/patch_sync/src/
Dpatch_parsing.rs345 std::fs::create_dir_all(to_parent)?; in copy_create_parents()
/external/rust/crates/zip/src/
Dread.rs452 fs::create_dir_all(&outpath)?; in extract()
456 fs::create_dir_all(&p)?; in extract()
/external/rust/crates/plotters-svg/src/
Dsvg.rs593 fs::create_dir_all(DST_DIR).unwrap(); in checked_save_file()
/external/rust/cxx/book/src/build/
Dcargo.md219 fs::create_dir_all(&foo).unwrap();
/external/crosvm/common/p9/src/server/
Dtests.rs119 fs::create_dir_all(&**dir).expect("failed to create directory"); in create()
/external/crosvm/src/linux/
Ddevice_helpers.rs332 fs::create_dir_all(&tpm_storage).with_context(|| { in create_software_tpm_device()

12