/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 | 402 def create(self, base_dir): 406 base_dir: The base directory where the test object is created. 411 if not self._create(base_dir): 413 os.path.join(base_dir, self._path)) 417 def verify(self, base_dir): 421 base_dir: The base directory where the test object is expected to be 428 if not self._verify(base_dir): 430 os.path.join(base_dir, self._path)) 434 def _create(self, base_dir): 437 def _verify(self, base_dir) [all...] |
/external/autotest/site_utils/ |
team_extract.py | 19 base_dir = os.path.realpath(os.path.abspath(os.path.join( 42 return options, args, base_dir 92 options, args, base_dir = ParseArgs(argv)
|
/system/tools/aidl/ |
io_delegate.h | 55 const std::string& base_dir,
|
/toolchain/binutils/binutils-2.25/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/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 for dirpath, dirnames, filenames in os.walk(base_dir): [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
shutil.py | 334 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
337 'base_dir'.
388 tar.add(base_dir, filter=_set_uid_gid)
394 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False):
403 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run)
412 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None):
413 """Create a zip file from all the files under 'base_dir'.
438 _call_external_zip(base_dir, zip_filename, verbose, dry_run)
442 zip_filename, base_dir)
448 for dirpath, dirnames, filenames in os.walk(base_dir): [all...] |
/external/autotest/client/tests/dma_memtest/ |
dma_memtest.py | 96 base_dir = os.path.join(self.tmpdir, 'linux.orig') 97 utils.extract_tarball_to_dir(self.tarball, base_dir) 154 shutil.rmtree(base_dir)
|
/external/toolchain-utils/deprecated/ |
compare_benchmarks.py | 113 base_dir = options.args[0] 120 basebenches_glob = BENCHDIRS % base_dir 125 tmp = resbench.replace(res_dir, base_dir, 1)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
shutil.py | 337 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 340 'base_dir'. 392 tar.add(base_dir, filter=_set_uid_gid) 398 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): 407 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) 416 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): 417 """Create a zip file from all the files under 'base_dir'. 442 _call_external_zip(base_dir, zip_filename, verbose, dry_run) 446 zip_filename, base_dir) 452 for dirpath, dirnames, filenames in os.walk(base_dir) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
shutil.py | 337 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 340 'base_dir'. 392 tar.add(base_dir, filter=_set_uid_gid) 398 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): 407 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) 416 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): 417 """Create a zip file from all the files under 'base_dir'. 442 _call_external_zip(base_dir, zip_filename, verbose, dry_run) 446 zip_filename, base_dir) 452 for dirpath, dirnames, filenames in os.walk(base_dir) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
shutil.py | 337 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 340 'base_dir'. 392 tar.add(base_dir, filter=_set_uid_gid) 398 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): 407 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) 416 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): 417 """Create a zip file from all the files under 'base_dir'. 442 _call_external_zip(base_dir, zip_filename, verbose, dry_run) 446 zip_filename, base_dir) 452 for dirpath, dirnames, filenames in os.walk(base_dir) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
shutil.py | 337 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, 340 'base_dir'. 392 tar.add(base_dir, filter=_set_uid_gid) 398 def _call_external_zip(base_dir, zip_filename, verbose=False, dry_run=False): 407 spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) 416 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): 417 """Create a zip file from all the files under 'base_dir'. 442 _call_external_zip(base_dir, zip_filename, verbose, dry_run) 446 zip_filename, base_dir) 452 for dirpath, dirnames, filenames in os.walk(base_dir) [all...] |
/external/jsoncpp/scons-tools/ |
targz.py | 32 common_path = os.path.commonprefix( (base_dir, path) ) 42 base_dir = os.path.normpath( env.get('TARGZ_BASEDIR', env.Dir('.')).abspath )
|
/external/trappy/tests/ |
test_copyright.py | 68 base_dir = os.path.dirname(tests_dir) 71 for root, dirs, files in os.walk(base_dir):
|
/external/trappy/trappy/plotter/ |
IPythonConf.py | 78 base_dir = os.path.dirname(__file__) 79 from_path = os.path.join(base_dir, from_path)
|
/external/python/cpython2/Lib/test/ |
test_shutil.py | 377 root_dir, base_dir = self._create_files('') 416 def _create_files(self, base_dir='dist'): 419 dist = os.path.join(root_dir, base_dir) 427 if base_dir: 429 return root_dir, base_dir 435 root_dir, base_dir = self._create_files() 437 tarball = make_archive(base_name, 'gztar', root_dir, base_dir) 445 tar_cmd = ['tar', '-cf', 'archive2.tar', base_dir] 453 tarball = make_archive(base_name, 'tar', root_dir, base_dir) 458 tarball = make_archive(base_name, 'tar', root_dir, base_dir, [all...] |
test_site.py | 99 site.addpackage(pth_file.base_dir, pth_file.filename, set()) 164 site.addsitedir(pth_file.base_dir, set()) 258 self.base_dir = os.path.abspath('') 259 self.file_path = os.path.join(self.base_dir, self.filename) 263 self.good_dir_path = os.path.join(self.base_dir, self.good_dirname) 264 self.bad_dir_path = os.path.join(self.base_dir, self.bad_dirname)
|
/device/linaro/bootloader/edk2/BaseTools/gcc/ |
mingw-gcc-build.py | 58 self.base_dir = os.getcwd() 80 default = os.path.join(self.base_dir, 'src'), 86 default = os.path.join(self.base_dir, 'build'), 92 default = os.path.join(self.base_dir, 'install'), 110 default = os.path.join(self.base_dir, 'symlinks'), 155 print " ", self.base_dir 183 if path.startswith(self.base_dir): 184 return '.' + path[len(self.base_dir):] 446 base_dir = os.getcwd() 481 os.chdir(base_dir) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_archive_util.py | 223 base_dir, root_dir, base_name = self._create_files()
225 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
229 res = make_archive(base_name, 'zip', root_dir, base_dir)
232 res = make_archive(base_name, 'tar', root_dir, base_dir,
236 res = make_archive(base_name, 'tar', root_dir, base_dir,
|
/art/runtime/ |
class_loader_context.cc | 305 std::string ClassLoaderContext::EncodeContextForDex2oat(const std::string& base_dir) const { 306 return EncodeContext(base_dir, /*for_dex2oat*/ true); 309 std::string ClassLoaderContext::EncodeContextForOatFile(const std::string& base_dir) const { 310 return EncodeContext(base_dir, /*for_dex2oat*/ false); 313 std::string ClassLoaderContext::EncodeContext(const std::string& base_dir, 353 if (!base_dir.empty() && location.substr(0, base_dir.length()) == base_dir) { 354 out << location.substr(base_dir.length() + 1).c_str(); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_site.py | 94 site.addpackage(pth_file.base_dir, pth_file.filename, set())
159 site.addsitedir(pth_file.base_dir, set())
262 self.base_dir = os.path.abspath('')
263 self.file_path = os.path.join(self.base_dir, self.filename)
267 self.good_dir_path = os.path.join(self.base_dir, self.good_dirname)
268 self.bad_dir_path = os.path.join(self.base_dir, self.bad_dirname)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_site.py | 94 site.addpackage(pth_file.base_dir, pth_file.filename, set()) 159 site.addsitedir(pth_file.base_dir, set()) 264 self.base_dir = os.path.abspath('') 265 self.file_path = os.path.join(self.base_dir, self.filename) 269 self.good_dir_path = os.path.join(self.base_dir, self.good_dirname) 270 self.bad_dir_path = os.path.join(self.base_dir, self.bad_dirname)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_site.py | 94 site.addpackage(pth_file.base_dir, pth_file.filename, set()) 159 site.addsitedir(pth_file.base_dir, set()) 264 self.base_dir = os.path.abspath('') 265 self.file_path = os.path.join(self.base_dir, self.filename) 269 self.good_dir_path = os.path.join(self.base_dir, self.good_dirname) 270 self.bad_dir_path = os.path.join(self.base_dir, self.bad_dirname)
|