/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 54 'base_dir'. 63 The output tar file will be named 'base_dir' + ".tar", possibly plus 103 tar.add(base_dir, filter=_set_uid_gid) 121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): 122 """Create a zip file from all the files under 'base_dir'. 147 spawn(["zip", zipoptions, zip_filename, base_dir], 159 zip_filename, base_dir) 165 for dirpath, dirnames, filenames in os.walk(base_dir): 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 54 'base_dir'. 63 The output tar file will be named 'base_dir' + ".tar", possibly plus 103 tar.add(base_dir, filter=_set_uid_gid) 121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): 122 """Create a zip file from all the files under 'base_dir'. 147 spawn(["zip", zipoptions, zip_filename, base_dir], 159 zip_filename, base_dir) 165 for dirpath, dirnames, filenames in os.walk(base_dir): 193 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0 [all...] |
/test/vts/utils/python/io/ |
file_util_test.py | 61 base_dir = ''.join( 64 self._dirs.append(base_dir) 67 result = file_util.MakeTempDir(base_dir) 68 self.assertTrue(os.path.join(base_dir, "tmp"))
|
/external/tensorflow/tensorflow/contrib/session_bundle/ |
gc_test.py | 98 base_dir = os.path.join(test.get_temp_dir(), "paths_parse") 99 self.assertFalse(gfile.Exists(base_dir)) 101 gfile.MakeDirs(os.path.join(base_dir, "%d" % p)) 103 gfile.MakeDirs(os.path.join(base_dir, "ignore")) 107 match = re.match("^" + base_dir + "/(\\d+)$", path.path) 114 base_dir, parser=parser), [ 115 gc.Path(os.path.join(base_dir, "0"), 0), 116 gc.Path(os.path.join(base_dir, "1"), 1), 117 gc.Path(os.path.join(base_dir, "2"), 2)
|
gc.py | 34 base_dir = "/tmp" 37 os.mkdir("%s/%d" % (base_dir, e), 0o755) 41 match = re.match("^" + base_dir + "/(\\d+)$", path.path) 191 def get_paths(base_dir, parser): 195 base_dir: directory. 210 raw_paths = gfile.ListDirectory(base_dir) 213 p = parser(Path(os.path.join(base_dir, r), None))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/command/ |
sdist.py | 333 base_dir = self.distribution.get_fullname()
336 self.filelist.exclude_pattern(None, prefix=base_dir)
388 def make_release_tree(self, base_dir, files):
391 'files' are created under 'base_dir', and then we hard link or copy
397 # Create all the directories under 'base_dir' necessary to
400 self.mkpath(base_dir)
401 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
405 # corresponding location under 'base_dir', or copying each file
406 # that's out-of-date in 'base_dir'. (Usually, all files will be
407 # out-of-date, because by default we blow away 'base_dir' when [all...] |
/external/python/cpython2/Lib/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/external/python/cpython3/Lib/distutils/command/ |
sdist.py | 323 base_dir = self.distribution.get_fullname() 326 self.filelist.exclude_pattern(None, prefix=base_dir) 380 def make_release_tree(self, base_dir, files): 383 'files' are created under 'base_dir', and then we hard link or copy 389 # Create all the directories under 'base_dir' necessary to 392 self.mkpath(base_dir) 393 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 397 # corresponding location under 'base_dir', or copying each file 398 # that's out-of-date in 'base_dir'. (Usually, all files will be 399 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/command/ |
sdist.py | 342 base_dir = self.distribution.get_fullname() 345 self.filelist.exclude_pattern(None, prefix=base_dir) 401 def make_release_tree(self, base_dir, files): 404 'files' are created under 'base_dir', and then we hard link or copy 410 # Create all the directories under 'base_dir' necessary to 413 self.mkpath(base_dir) 414 dir_util.create_tree(base_dir, files, dry_run=self.dry_run) 418 # corresponding location under 'base_dir', or copying each file 419 # that's out-of-date in 'base_dir'. (Usually, all files will be 420 # out-of-date, because by default we blow away 'base_dir' whe [all...] |
/external/chromium-trace/ |
systrace.py | 20 def RemoveAllStalePycFiles(base_dir): 22 for dirname, _, filenames in os.walk(base_dir):
|
/external/lz4/tests/ |
test-lz4-versions.py | 57 base_dir = os.getcwd() + '/..' # /path/to/lz4 58 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest 60 programs_dir = base_dir + '/programs' # /path/to/lz4/programs 67 shutil.copy2(base_dir + '/' + test_dat_src, tmp_dir + '/' + test_dat) 77 os.chdir(base_dir)
|
/external/autotest/client/cros/ |
cros_disks.py | 443 def create(self, base_dir): 447 base_dir: The base directory where the test object is created. 452 if not self._create(base_dir): 454 os.path.join(base_dir, self._path)) 458 def verify(self, base_dir): 462 base_dir: The base directory where the test object is expected to be 469 if not self._verify(base_dir): 471 os.path.join(base_dir, self._path)) 475 def _create(self, base_dir): 478 def _verify(self, base_dir) [all...] |
/art/runtime/ |
class_loader_context.h | 91 std::string EncodeContextForOatFile(const std::string& base_dir, 98 std::string EncodeContextForDex2oat(const std::string& base_dir) const; 210 std::string EncodeContext(const std::string& base_dir,
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/ |
gc.py | 34 base_dir = "/tmp" 37 os.mkdir("%s/%d" % (base_dir, e), 0o755) 40 path_regex = "^" + re.escape(base_dir) + "/(\\d+)$" 182 def get_paths(base_dir, parser): 186 base_dir: directory. 201 raw_paths = gfile.ListDirectory(base_dir) 204 p = parser(Path(os.path.join(compat.as_str_any(base_dir),
|
/external/tensorflow/tensorflow/python/estimator/ |
gc.py | 34 base_dir = "/tmp" 37 os.mkdir("%s/%d" % (base_dir, e), 0o755) 40 path_regex = "^" + re.escape(base_dir) + "/(\\d+)$" 182 def _get_paths(base_dir, parser): 186 base_dir: directory. 201 raw_paths = gfile.ListDirectory(base_dir) 204 p = parser(Path(os.path.join(compat.as_str_any(base_dir),
|
/external/tensorflow/tensorflow/tools/docs/ |
generate_lib_test.py | 87 base_dir = os.path.dirname(__file__) 102 base_dir=base_dir)
|
/external/pdfium/testing/tools/ |
common.py | 100 self.base_dir = self.pdfium_dir 101 one_up_dir = os.path.dirname(self.base_dir) 105 self.base_dir = two_up_dir 106 self.build_dir = os.path.join(self.base_dir, build_location)
|
/system/tools/aidl/ |
io_delegate.h | 55 const std::string& base_dir,
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-cygwin/ |
exe-export.exp | 39 global base_dir
43 set dlltool [findfile $base_dir/../binutils/dlltool]
|
/external/python/cpython2/Lib/ |
shutil.py | 338 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 341 'base_dir'. 393 tar.add(base_dir, filter=_set_uid_gid) 399 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): 408 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) 417 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): 418 """Create a zip file from all the files under 'base_dir'. 443 _call_external_zip(base_dir, zip_filename, verbose, dry_run) 447 zip_filename, base_dir) 452 path = os.path.normpath(base_dir) [all...] |
/external/python/cpython3/Lib/distutils/tests/ |
test_archive_util.py | 303 base_dir = self._create_files() 305 res = make_archive(base_name, 'tar', base_dir, 'dist') 312 base_dir = self._create_files() 314 res = make_archive(base_name, 'gztar', base_dir, 'dist') 321 base_dir = self._create_files() 323 res = make_archive(base_name, 'bztar', base_dir, 'dist') 330 base_dir = self._create_files() 332 res = make_archive(base_name, 'xztar', base_dir, 'dist') 346 base_dir = self._create_files() 349 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner [all...] |
/external/autotest/client/common_lib/cros/ |
test_webrtc_peer_connection.py | 165 base_dir = os.path.commonprefix( 167 base_dir = base_dir.rstrip('/') 168 own_script_url = own_script_path[len(base_dir):] 169 common_script_url = common_script_path[len(base_dir):]
|