/external/autotest/client/site_tests/platform_FileNum/ |
D | platform_FileNum.py | 42 create_dir = os.path.join(target_dir, 'createdir') 44 if os.path.exists(create_dir): 45 shutil.rmtree(create_dir) 47 os.makedirs(create_dir) 50 f = open(os.path.join(create_dir, '%d.txt' % i), 'w') 54 total_created = len(os.listdir(create_dir)) 56 shutil.rmtree(create_dir)
|
/external/rust/crates/tokio/tests/ |
D | fs_dir.rs | 11 async fn create_dir() { in create_dir() function 16 assert_ok!(fs::create_dir(new_dir).await); in create_dir() 54 std::fs::create_dir(new_dir.clone()).unwrap(); in remove() 65 std::fs::create_dir(p.join("aa")).unwrap(); in read_inherent() 66 std::fs::create_dir(p.join("bb")).unwrap(); in read_inherent() 67 std::fs::create_dir(p.join("cc")).unwrap(); in read_inherent()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/ |
D | temp_directory_path.pass.cpp | 50 const path dir_perms = env.create_dir("bad_perms_dir"); in TEST_CASE() 51 const path nested_dir = env.create_dir("bad_perms_dir/nested"); in TEST_CASE() 58 {"TMPDIR", env.create_dir("dir1")}, in TEST_CASE() 59 {"TMP", env.create_dir("dir2")}, in TEST_CASE() 60 {"TEMP", env.create_dir("dir3")}, in TEST_CASE() 61 {"TEMPDIR", env.create_dir("dir4")} in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/ |
D | temp_directory_path.pass.cpp | 51 const path dir_perms = env.create_dir("bad_perms_dir"); in TEST_CASE() 52 const path nested_dir = env.create_dir("bad_perms_dir/nested"); in TEST_CASE() 59 {"TMPDIR", env.create_dir("dir1")}, in TEST_CASE() 60 {"TMP", env.create_dir("dir2")}, in TEST_CASE() 61 {"TEMP", env.create_dir("dir3")}, in TEST_CASE() 62 {"TEMPDIR", env.create_dir("dir4")} in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ |
D | increment.pass.cpp | 148 env.create_dir("dir1"), in TEST_CASE() 149 env.create_dir("dir1/dir2"), in TEST_CASE() 247 env.create_dir("dir1"), in TEST_CASE() 248 env.create_dir("dir1/dir2"), in TEST_CASE() 249 env.create_dir("dir1/dir2/dir3"), in TEST_CASE() 328 env.create_dir("dir1"), in TEST_CASE() 330 env.create_dir("sym_dir"), in TEST_CASE() 331 env.create_dir("sym_dir/nested_sym_dir"), in TEST_CASE() 333 env.create_dir("sym_dir/dir1"), in TEST_CASE() 334 env.create_dir("sym_dir/dir1/dir2"), in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ |
D | increment.pass.cpp | 145 env.create_dir("dir1"), in TEST_CASE() 146 env.create_dir("dir1/dir2"), in TEST_CASE() 244 env.create_dir("dir1"), in TEST_CASE() 245 env.create_dir("dir1/dir2"), in TEST_CASE() 246 env.create_dir("dir1/dir2/dir3"), in TEST_CASE() 326 env.create_dir("dir1"), in TEST_CASE() 328 env.create_dir("sym_dir"), in TEST_CASE() 329 env.create_dir("sym_dir/nested_sym_dir"), in TEST_CASE() 331 env.create_dir("sym_dir/dir1"), in TEST_CASE() 332 env.create_dir("sym_dir/dir1/dir2"), in TEST_CASE() [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
D | create_directory_with_attributes.pass.cpp | 42 const path dir = env.create_dir("dir1"); in TEST_CASE() 43 const path dir2 = env.create_dir("dir2"); in TEST_CASE() 66 const path attr_dir = env.create_dir("dir2"); in TEST_CASE() 84 const path attr_dir = env.create_dir("attr_dir"); in TEST_CASE() 96 const path attr_dir = env.create_dir("attr_dir"); in TEST_CASE() 123 const path dir = env.create_dir("dir"); in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/ |
D | create_directory_with_attributes.pass.cpp | 41 const path dir = env.create_dir("dir1"); in TEST_CASE() 42 const path dir2 = env.create_dir("dir2"); in TEST_CASE() 65 const path attr_dir = env.create_dir("dir2"); in TEST_CASE() 83 const path attr_dir = env.create_dir("attr_dir"); in TEST_CASE() 95 const path attr_dir = env.create_dir("attr_dir"); in TEST_CASE() 122 const path dir = env.create_dir("dir"); in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/ |
D | remove_all.pass.cpp | 56 const path non_empty_dir = env.create_dir("dir"); in TEST_CASE() 58 const path bad_perms_dir = env.create_dir("bad_dir"); in TEST_CASE() 98 env.create_dir("empty_dir"), in TEST_CASE() 113 const path dir = env.create_dir("dir"); in TEST_CASE() 131 const path dir = env.create_dir("dir"); in TEST_CASE() 132 const path dir1 = env.create_dir(dir / "dir1"); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/ |
D | remove_all.pass.cpp | 57 const path non_empty_dir = env.create_dir("dir"); in TEST_CASE() 59 const path bad_perms_dir = env.create_dir("bad_dir"); in TEST_CASE() 99 env.create_dir("empty_dir"), in TEST_CASE() 114 const path dir = env.create_dir("dir"); in TEST_CASE() 132 const path dir = env.create_dir("dir"); in TEST_CASE() 133 const path dir1 = env.create_dir(dir / "dir1"); in TEST_CASE()
|
/external/selinux/libsemanage/utils/ |
D | semanage_migrate_store | 31 def create_dir(dst, mode): function 104 create_dir("%s/%s" % (newroot_path(), store), 0o755) 105 create_dir(newstore, 0o700) 106 create_dir(newmodules, 0o700) 107 create_dir(bottomdir, 0o700) 108 create_dir(disabledmodules, 0o700) 269 create_dir(newroot_path(), 0o755)
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/ |
D | copy.pass.cpp | 69 const path dir = env.create_dir("dir"); in TEST_CASE() 154 const path dir = env.create_dir("dir"); in TEST_CASE() 180 const path dest_dir = env.create_dir("dest_dir"); in TEST_CASE() 208 const path dir = env.create_dir("dir"); in TEST_CASE() 210 const path nested_dir = env.create_dir("dir/dir2"); in TEST_CASE() 230 const path dest = env.create_dir("dest_dir2"); in TEST_CASE() 267 const path dir = env.create_dir("dir"); in TEST_CASE() 284 const path dir = env.create_dir("dir1"); in TEST_CASE() 305 const path dir = env.create_dir("dir1"); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/ |
D | copy.pass.cpp | 69 const path dir = env.create_dir("dir"); in TEST_CASE() 154 const path dir = env.create_dir("dir"); in TEST_CASE() 180 const path dest_dir = env.create_dir("dest_dir"); in TEST_CASE() 208 const path dir = env.create_dir("dir"); in TEST_CASE() 210 const path nested_dir = env.create_dir("dir/dir2"); in TEST_CASE() 230 const path dest = env.create_dir("dest_dir2"); in TEST_CASE() 267 const path dir = env.create_dir("dir"); in TEST_CASE() 284 const path dir = env.create_dir("dir1"); in TEST_CASE() 305 const path dir = env.create_dir("dir1"); in TEST_CASE()
|
/external/rust/crates/tokio/src/fs/ |
D | mod.rs | 30 mod create_dir; module 31 pub use self::create_dir::create_dir;
|
D | create_dir.rs | 49 pub async fn create_dir(path: impl AsRef<Path>) -> io::Result<()> { in create_dir() function 51 asyncify(move || std::fs::create_dir(path)).await in create_dir()
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_filesystem_glob_test.py | 28 self.fs.create_dir(directory) 29 self.fs.create_dir('%s/subdir' % directory) 30 self.fs.create_dir('%s/subdir2' % directory)
|
D | example_test.py | 104 self.fs.create_dir('/test/dir1/dir2a') 123 self.fs.create_dir('/test/dir1/dir2a') 140 self.fs.create_dir('/test/dir') 161 self.fs.create_dir('/test/dir')
|
D | fake_filesystem_test.py | 69 self.filesystem.create_dir(dir_path) 75 self.filesystem.create_dir(dir_path) 83 self.filesystem.create_dir(dir_path) 157 filesystem.create_dir(dirpath) 166 filesystem.create_dir('/foo') 453 self.filesystem.create_dir(path) 460 self.filesystem.create_dir(path) 462 errno.EEXIST, self.filesystem.create_dir, path) 466 self.filesystem.create_dir(path) 473 self.filesystem.create_dir(path) [all …]
|
D | fake_filesystem_unittest_test.py | 97 self.fs.create_dir('/test/dir1/dir2a') 103 self.fs.create_dir('/test/dir1/dir2b') 114 self.fs.create_dir('/test/dir1/dir2a') 115 self.fs.create_dir('/test/dir1/dir2b') 153 self.fs.create_dir(file_path) 159 self.fs.create_dir(file_path) 165 self.fs.create_dir(file_path) 197 self.fs.create_dir(file_path) 203 self.fs.create_dir(file_path) 364 self.fs.create_dir(dir_path, perm_bits=0o555) [all …]
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/ |
D | is_empty.pass.cpp | 69 const path dir = env.create_dir("dir"); in TEST_CASE() 70 const path dir2 = env.create_dir("dir/dir2"); in TEST_CASE() 83 const path dir = env.create_dir("dir"); in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/ |
D | is_empty.pass.cpp | 71 const path dir = env.create_dir("dir"); in TEST_CASE() 72 const path dir2 = env.create_dir("dir/dir2"); in TEST_CASE() 85 const path dir = env.create_dir("dir"); in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/ |
D | remove.pass.cpp | 57 const path non_empty_dir = env.create_dir("dir"); in TEST_CASE() 59 const path bad_perms_dir = env.create_dir("bad_dir"); in TEST_CASE() 97 env.create_dir("empty_dir"), in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/ |
D | remove.pass.cpp | 56 const path non_empty_dir = env.create_dir("dir"); in TEST_CASE() 58 const path bad_perms_dir = env.create_dir("bad_dir"); in TEST_CASE() 96 env.create_dir("empty_dir"), in TEST_CASE()
|
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/ |
D | create_directories.pass.cpp | 42 const path dir = env.create_dir("dir1"); in TEST_CASE() 71 const path root = env.create_dir("dir"); in TEST_CASE() 87 const path root = env.create_dir("dir"); in TEST_CASE()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/ |
D | create_directories.pass.cpp | 41 const path dir = env.create_dir("dir1"); in TEST_CASE() 70 const path root = env.create_dir("dir"); in TEST_CASE() 86 const path root = env.create_dir("dir"); in TEST_CASE()
|