Home
last modified time | relevance | path

Searched refs:from_dir (Results 1 – 6 of 6) sorted by relevance

/external/autotest/client/bin/
Dsite_sysinfo_unittest.py170 self.from_dir = os.path.join(self.tempdir, 'from')
172 os.mkdir(self.from_dir)
175 def _destination_path(self, relative_path, from_dir=None): argument
177 if from_dir is None:
178 from_dir = self.from_dir
179 return '%s%s' % (self.to_dir, os.path.join(from_dir, relative_path))
185 os.mkdir(os.path.join(self.from_dir, 'fubar'))
186 logdir = site_sysinfo.logdir(self.from_dir)
193 os.mkdir(os.path.join(self.from_dir, 'real'))
194 os.symlink(os.path.join(self.from_dir, 'real'),
[all …]
Dsite_sysinfo.py84 from_dir = os.path.realpath(self.dir)
85 if os.path.exists(from_dir):
86 parent_dir = os.path.dirname(from_dir)
90 "--exclude=%s" % self._anchored_exclude_pattern(from_dir, x)
96 % (" ".join(excludes), from_dir, log_dir, parent_dir))
99 def _anchored_exclude_pattern(self, from_dir, pattern): argument
100 return '/%s/%s' % (os.path.basename(from_dir), pattern)
/external/autotest/utils/frozen_chromite/lib/
Dosutils.py446 def CopyDirContents(from_dir, to_dir, symlinks=False, allow_nonempty=False): argument
486 if not os.path.isdir(from_dir):
487 raise BadPathsException('Source directory %s does not exist.' % from_dir)
493 for name in os.listdir(from_dir):
494 from_path = os.path.join(from_dir, name)
/external/f2fs-tools/fsck/
Dsload.c188 if (c.fixed_time == -1 && c.from_dir) in set_inode_metadata()
364 ret = build_directory(sbi, c.from_dir, "/", in f2fs_sload()
Dmain.c685 c.from_dir = absolute_path(optarg); in f2fs_parse_options()
1032 if (!c.from_dir) { in do_sload()
/external/f2fs-tools/include/
Df2fs_fs.h549 char *from_dir; member