Home
last modified time | relevance | path

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

/external/rust/crates/tokio/tests/
Dfs_dir.rs13 let new_dir = base_dir.path().join("foo"); in create_dir() localVariable
14 let new_dir_2 = new_dir.clone(); in create_dir()
16 assert_ok!(fs::create_dir(new_dir).await); in create_dir()
24 let new_dir = base_dir.path().join("foo").join("bar"); in create_all() localVariable
25 let new_dir_2 = new_dir.clone(); in create_all()
27 assert_ok!(fs::create_dir_all(new_dir).await); in create_all()
34 let new_dir = base_dir.path().join("foo").join("bar"); in build_dir() localVariable
35 let new_dir_2 = new_dir.clone(); in build_dir()
37 assert_ok!(fs::DirBuilder::new().recursive(true).create(new_dir).await); in build_dir()
51 let new_dir = base_dir.path().join("foo"); in remove() localVariable
[all …]
/external/llvm-project/lldb/examples/customization/pwd-cd-and-system/
Dutils.py27 new_dir = args.strip()
28 if not new_dir:
29 new_dir = os.path.expanduser('~')
30 elif new_dir == '-':
36 new_dir = Holder.prev_dir()
39 os.chdir(new_dir)
/external/rust/crates/criterion/src/analysis/
Dmod.rs133 let mut new_dir = criterion.output_directory.clone(); in common() localVariable
134 new_dir.push(id.as_directory_name()); in common()
135 new_dir.push("new"); in common()
136 fs::mkdirp(&new_dir) in common()
342 let new_dir = root_dir.join("new"); in copy_new_dir_to_base() localVariable
344 if !new_dir.exists() { in copy_new_dir_to_base()
353 &new_dir.join("estimates.json"), in copy_new_dir_to_base()
357 &new_dir.join("sample.json"), in copy_new_dir_to_base()
361 &new_dir.join("tukey.json"), in copy_new_dir_to_base()
365 &new_dir.join("benchmark.json"), in copy_new_dir_to_base()
[all …]
/external/llvm-project/lldb/test/API/functionalities/load_unload/
DTestLoadUnload.py105 new_dir = os.path.join(self.getBuildDir(), "hidden")
108 new_dylib = os.path.join(new_dir, dylibName)
119 (self.getBuildDir(), new_dir))
122 substrs=[self.getBuildDir(), new_dir])
128 substrs=[new_dir])
133 env_cmd_string = "settings replace target.env-vars " + self.dylibPath + "=" + new_dir
177 new_dir = os.path.join(wd, special_dir)
195 (self.dylibPath, new_dir,
/external/toolchain-utils/cros_utils/
Dmisc.py303 def WorkingDirectory(new_dir): argument
306 if old_dir != new_dir:
307 msg = 'cd %s' % new_dir
309 os.chdir(new_dir)
310 yield new_dir
311 if old_dir != new_dir:
/external/tensorflow/tensorflow/core/platform/
Dfile_system_helper.cc96 StringPiece new_dir(io::Dirname(dir)); in AllDirectoryPrefixes() local
100 if (dir == new_dir) break; in AllDirectoryPrefixes()
101 dir = new_dir; in AllDirectoryPrefixes()
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py169 new_dir = tempfile.mkdtemp()
171 os.chdir(new_dir)
173 os.rmdir(new_dir)
180 os.rmdir(new_dir)
/external/squashfs-tools/squashfs-tools/
Dunsquash-1.c214 struct dir_ent *new_dir; in squashfs_opendir_1() local
292 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_1()
294 if(new_dir == NULL) in squashfs_opendir_1()
297 dir->dirs = new_dir; in squashfs_opendir_1()
Dunsquash-4.c260 struct dir_ent *new_dir; in squashfs_opendir_4() local
328 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_4()
330 if(new_dir == NULL) in squashfs_opendir_4()
333 dir->dirs = new_dir; in squashfs_opendir_4()
Dunsquash-3.c291 struct dir_ent *new_dir; in squashfs_opendir_3() local
370 new_dir = realloc(dir->dirs, (dir->dir_count + in squashfs_opendir_3()
372 if(new_dir == NULL) in squashfs_opendir_3()
375 dir->dirs = new_dir; in squashfs_opendir_3()
/external/libyuv/files/tools_libyuv/valgrind/
Dlibyuv_tests.py66 new_dir = os.path.join(checkout_src, 'tools', 'valgrind')
70 add_suppressions.append(token.replace(script_dir, new_dir))
/external/llvm-project/clang/utils/analyzer/
DSATestBuild.py778 new_dir = os.path.join(directory, OUTPUT_DIR_NAME)
782 new_list = glob.glob(new_dir + "/*")
788 new_list.remove(os.path.join(new_dir, LOG_DIR_NAME))
804 for ref_dir, new_dir in zip(ref_list, new_list):
805 assert(ref_dir != new_dir)
813 new_results = CmpRuns.ResultsDirectory(new_dir, patched_source)
/external/boringssl/src/crypto/x509/
Dby_dir.c93 static int new_dir(X509_LOOKUP *lu);
100 new_dir, /* new */
144 static int new_dir(X509_LOOKUP *lu) in new_dir() function
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dby_dir.c93 static int new_dir(X509_LOOKUP *lu);
100 new_dir, /* new */
144 static int new_dir(X509_LOOKUP *lu) in new_dir() function
/external/rust/crates/nix/test/
Dtest_fcntl.rs54 let new_dir = tempfile::tempdir().unwrap(); in test_renameat() localVariable
55 let new_dirfd = open(new_dir.path(), OFlag::empty(), Mode::empty()).unwrap(); in test_renameat()
61 assert!(new_dir.path().join("new").exists()); in test_renameat()
/external/swiftshader/third_party/llvm-10.0/scripts/
Dupdate.py125 def pushd(new_dir): argument
127 os.chdir(new_dir)
/external/libchrome/base/files/
Dfile_util_posix.cc666 FilePath* new_dir) { in CreateTemporaryDirInDirImpl() argument
681 *new_dir = FilePath(dtemp); in CreateTemporaryDirInDirImpl()
687 FilePath* new_dir) { in CreateTemporaryDirInDir() argument
690 return CreateTemporaryDirInDirImpl(base_dir, mkdtemp_template, new_dir); in CreateTemporaryDirInDir()
Dfile_util.h298 FilePath* new_dir);
Dfile_util_unittest.cc2455 FilePath new_dir; in TEST_F() local
2458 &new_dir)); in TEST_F()
2459 EXPECT_TRUE(PathExists(new_dir)); in TEST_F()
2460 EXPECT_TRUE(temp_dir_.GetPath().IsParent(new_dir)); in TEST_F()
2461 EXPECT_TRUE(DeleteFile(new_dir, false)); in TEST_F()
/external/tpm2-tss/src/tss2-fapi/
Difapi_helpers.c938 char *new_dir; in create_dirs() local
940 TSS2_RC r = ifapi_path_string_n(&new_dir, supdir, dir_list, NULL, i); in create_dirs()
942 LOG_TRACE("Check file: %s", new_dir); in create_dirs()
943 int rc = mkdir(new_dir, mode); in create_dirs()
945 LOG_ERROR("mkdir not possible: %i %s", rc, new_dir); in create_dirs()
946 free(new_dir); in create_dirs()
949 free(new_dir); in create_dirs()
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py2110 new_dir, new_name = self.splitpath(new_file_path)
2111 if not self.exists(new_dir):
2112 self.raise_os_error(errno.ENOENT, new_dir)
2114 new_dir_object = self.resolve(new_dir)
2287 new_dir = FakeDirectory(component, filesystem=self)
2288 new_dirs.append(new_dir)
2289 current_dir.add_entry(new_dir)
2290 current_dir = new_dir
2300 for new_dir in new_dirs:
2301 new_dir.st_mode = S_IFDIR | perm_bits
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_test.py454 new_dir = self.filesystem.get_object(path)
455 self.assertEqual(os.path.basename(path), new_dir.name)
456 self.assertTrue(stat.S_IFDIR & new_dir.st_mode)
467 new_dir = self.filesystem.get_object(path)
468 self.assertEqual(os.path.basename(path), new_dir.name)
469 self.assertTrue(stat.S_IFDIR & new_dir.st_mode)
474 new_dir = self.filesystem.get_object(path)
475 self.assertEqual(os.path.basename(path), new_dir.name)
476 self.assertTrue(stat.S_IFDIR & new_dir.st_mode)
Dfake_os_test.py1642 new_dir = self.os.path.join(link_path, 'new_dir')
1643 self.os.mkdir(new_dir)
1644 self.assertTrue(self.os.path.exists(new_dir))
1690 new_dir = self.os.path.join(link_dir, 'f')
1691 self.os.makedirs(name=new_dir)
1692 self.assertTrue(self.os.path.exists(new_dir))
/external/autotest/client/common_lib/
Dbase_job.py900 new_dir = self._job_directory(
903 self._resultdir = new_dir
/external/python/cpython3/Lib/test/
Dtest_ftplib.py813 new_dir = self.client.mkd('/non-ascii dir \xAE')
814 self.check_data(new_dir, '/non-ascii dir \xAE')