Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dupdate.py387 new_dir = tempfile.mkdtemp(dir=gsutil_bin_parent_dir)
389 dirs_to_remove.append(new_dir)
392 tf.extractall(path=new_dir)
406 for dirname, subdirs, filenames in os.walk(new_dir):
419 fd = os.open(os.path.join(new_dir, 'gsutil', 'gsutil'), os.O_RDONLY)
426 os.rename(os.path.join(new_dir, 'gsutil'), gslib.GSUTIL_DIR)
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dtest_helpers.py47 def change_dir(new_dir): argument
55 os.chdir(new_dir)
236 def chdir(self, new_dir): argument
239 os.chdir(new_dir)
/external/webrtc/webrtc/base/
Dfileutils.cc160 Pathname new_dir; in DirectoryIterator() local
161 new_dir.SetFolder(new_path.pathname()); in DirectoryIterator()
164 if (!CreateFolder(new_dir)) in DirectoryIterator()
/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/webrtc/tools/valgrind-webrtc/
Dwebrtc_tests.py78 new_dir = os.path.join(old_base, 'valgrind')
82 add_suppressions.append(token.replace(script_dir, new_dir))
/external/boringssl/src/crypto/x509/
Dby_dir.c96 static int new_dir(X509_LOOKUP *lu);
104 new_dir, /* new */
152 static int new_dir(X509_LOOKUP *lu) in new_dir() function
/external/libchrome/base/files/
Dfile_util_posix.cc536 FilePath* new_dir) { in CreateTemporaryDirInDirImpl() argument
551 *new_dir = FilePath(dtemp); in CreateTemporaryDirInDirImpl()
557 FilePath* new_dir) { in CreateTemporaryDirInDir() argument
560 return CreateTemporaryDirInDirImpl(base_dir, mkdtemp_template, new_dir); in CreateTemporaryDirInDir()
Dfile_util.h254 FilePath* new_dir);
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py895 new_dir = FakeDirectory(component, perm_bits)
896 current_dir.AddEntry(new_dir)
897 current_dir = new_dir
1568 new_dir, new_name = self.path.split(new_file)
1569 if not self.filesystem.Exists(new_dir):
1570 raise IOError(errno.ENOENT, 'No such fake directory', new_dir)
1574 new_dir_object = self.filesystem.ResolveObject(new_dir)
Dfake_filesystem_test.py367 new_dir = self.filesystem.GetObject(path)
368 self.assertEqual(os.path.basename(path), new_dir.name)
369 self.assertTrue(stat.S_IFDIR & new_dir.st_mode)
379 new_dir = self.filesystem.GetObject(path)
380 self.assertEqual(os.path.basename(path), new_dir.name)
381 self.assertTrue(stat.S_IFDIR & new_dir.st_mode)
386 new_dir = self.filesystem.GetObject(path)
387 self.assertEqual(os.path.basename(path), new_dir.name)
388 self.assertTrue(stat.S_IFDIR & new_dir.st_mode)
2683 new_dir = self.filesystem.GetObject('/foo/baz')
[all …]
/external/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py913 new_dir = FakeDirectory(component, perm_bits)
914 current_dir.AddEntry(new_dir)
915 current_dir = new_dir
1586 new_dir, new_name = self.path.split(new_file)
1587 if not self.filesystem.Exists(new_dir):
1588 raise IOError(errno.ENOENT, 'No such fake directory', new_dir)
1592 new_dir_object = self.filesystem.ResolveObject(new_dir)
/external/autotest/client/common_lib/
Dbase_job.py1070 new_dir = self._job_directory(
1073 self._resultdir = new_dir
/external/v8/test/mjsunit/asm/embenchen/
Dprimes.js1698 },rename:function (old_node, new_dir, new_name) { argument
1703 new_node = FS.lookupNode(new_dir, new_name);
1715 new_dir.contents[new_name] = old_node;
1716 old_node.parent = new_dir;
2818 var lookup, old_dir, new_dir;
2823 new_dir = lookup.node;
2828 if (old_dir.mount !== new_dir.mount) {
2846 new_node = FS.lookupNode(new_dir, new_name);
2863 FS.mayDelete(new_dir, new_name, isdir) :
2864 FS.mayCreate(new_dir, new_name);
[all …]
Dcopy.js1684 },rename:function (old_node, new_dir, new_name) { argument
1689 new_node = FS.lookupNode(new_dir, new_name);
1701 new_dir.contents[new_name] = old_node;
1702 old_node.parent = new_dir;
2804 var lookup, old_dir, new_dir;
2809 new_dir = lookup.node;
2814 if (old_dir.mount !== new_dir.mount) {
2832 new_node = FS.lookupNode(new_dir, new_name);
2849 FS.mayDelete(new_dir, new_name, isdir) :
2850 FS.mayCreate(new_dir, new_name);
[all …]
Dcorrections.js1684 },rename:function (old_node, new_dir, new_name) { argument
1689 new_node = FS.lookupNode(new_dir, new_name);
1701 new_dir.contents[new_name] = old_node;
1702 old_node.parent = new_dir;
2804 var lookup, old_dir, new_dir;
2809 new_dir = lookup.node;
2814 if (old_dir.mount !== new_dir.mount) {
2832 new_node = FS.lookupNode(new_dir, new_name);
2849 FS.mayDelete(new_dir, new_name, isdir) :
2850 FS.mayCreate(new_dir, new_name);
[all …]
Dfannkuch.js1823 },rename:function (old_node, new_dir, new_name) { argument
1828 new_node = FS.lookupNode(new_dir, new_name);
1840 new_dir.contents[new_name] = old_node;
1841 old_node.parent = new_dir;
2943 var lookup, old_dir, new_dir;
2948 new_dir = lookup.node;
2953 if (old_dir.mount !== new_dir.mount) {
2971 new_node = FS.lookupNode(new_dir, new_name);
2988 FS.mayDelete(new_dir, new_name, isdir) :
2989 FS.mayCreate(new_dir, new_name);
[all …]
Dmemops.js1792 },rename:function (old_node, new_dir, new_name) { argument
1797 new_node = FS.lookupNode(new_dir, new_name);
1809 new_dir.contents[new_name] = old_node;
1810 old_node.parent = new_dir;
2912 var lookup, old_dir, new_dir;
2917 new_dir = lookup.node;
2922 if (old_dir.mount !== new_dir.mount) {
2940 new_node = FS.lookupNode(new_dir, new_name);
2957 FS.mayDelete(new_dir, new_name, isdir) :
2958 FS.mayCreate(new_dir, new_name);
[all …]
Dfasta.js2067 },rename:function (old_node, new_dir, new_name) { argument
2072 new_node = FS.lookupNode(new_dir, new_name);
2084 new_dir.contents[new_name] = old_node;
2085 old_node.parent = new_dir;
3187 var lookup, old_dir, new_dir;
3192 new_dir = lookup.node;
3197 if (old_dir.mount !== new_dir.mount) {
3215 new_node = FS.lookupNode(new_dir, new_name);
3232 FS.mayDelete(new_dir, new_name, isdir) :
3233 FS.mayCreate(new_dir, new_name);
[all …]
Dzlib.js1793 },rename:function (old_node, new_dir, new_name) { argument
1798 new_node = FS.lookupNode(new_dir, new_name);
1810 new_dir.contents[new_name] = old_node;
1811 old_node.parent = new_dir;
2913 var lookup, old_dir, new_dir;
2918 new_dir = lookup.node;
2923 if (old_dir.mount !== new_dir.mount) {
2941 new_node = FS.lookupNode(new_dir, new_name);
2958 FS.mayDelete(new_dir, new_name, isdir) :
2959 FS.mayCreate(new_dir, new_name);
[all …]
Dbox2d.js2041 },rename:function (old_node, new_dir, new_name) { argument
2046 new_node = FS.lookupNode(new_dir, new_name);
2058 new_dir.contents[new_name] = old_node;
2059 old_node.parent = new_dir;
3161 var lookup, old_dir, new_dir;
3166 new_dir = lookup.node;
3171 if (old_dir.mount !== new_dir.mount) {
3189 new_node = FS.lookupNode(new_dir, new_name);
3206 FS.mayDelete(new_dir, new_name, isdir) :
3207 FS.mayCreate(new_dir, new_name);
[all …]
Dlua_binarytrees.js1830 },rename:function (old_node, new_dir, new_name) { argument
1835 new_node = FS.lookupNode(new_dir, new_name);
1847 new_dir.contents[new_name] = old_node;
1848 old_node.parent = new_dir;
2950 var lookup, old_dir, new_dir;
2955 new_dir = lookup.node;
2960 if (old_dir.mount !== new_dir.mount) {
2978 new_node = FS.lookupNode(new_dir, new_name);
2995 FS.mayDelete(new_dir, new_name, isdir) :
2996 FS.mayCreate(new_dir, new_name);
[all …]
/external/v8/test/mjsunit/asm/poppler/
Dpoppler.js1850 },rename:function (old_node, new_dir, new_name) { argument
1855 new_node = FS.lookupNode(new_dir, new_name);
1867 new_dir.contents[new_name] = old_node;
1868 old_node.parent = new_dir;
2837 var lookup, old_dir, new_dir;
2842 new_dir = lookup.node;
2847 if (old_dir.mount !== new_dir.mount) {
2865 new_node = FS.lookupNode(new_dir, new_name);
2882 FS.mayDelete(new_dir, new_name, isdir) :
2883 FS.mayCreate(new_dir, new_name);
[all …]