Home
last modified time | relevance | path

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

123

/third_party/python/Lib/distutils/
Darchive_util.py55 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
109 tar.add(base_dir, filter=_set_uid_gid)
127 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument
148 spawn(["zip", zipoptions, zip_filename, base_dir],
159 zip_filename, base_dir)
170 if base_dir != os.curdir:
171 path = os.path.normpath(os.path.join(base_dir, ''))
174 for dirpath, dirnames, filenames in os.walk(base_dir):
206 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
231 if base_dir is None:
[all …]
Dutil.py326 prefix=None, base_dir=None, argument
421 """ % (optimize, force, prefix, base_dir, verbose))
460 if base_dir:
461 dfile = os.path.join(base_dir, dfile)
/third_party/python/Lib/distutils/command/
Dsdist.py362 base_dir = self.distribution.get_fullname()
365 self.filelist.exclude_pattern(None, prefix=base_dir)
418 def make_release_tree(self, base_dir, files): argument
430 self.mkpath(base_dir)
431 dir_util.create_tree(base_dir, files, dry_run=self.dry_run)
442 msg = "making hard links in %s..." % base_dir
445 msg = "copying files to %s..." % base_dir
455 dest = os.path.join(base_dir, file)
458 self.distribution.metadata.write_pkg_info(base_dir)
470 base_dir = self.distribution.get_fullname()
[all …]
/third_party/jsoncpp/devtools/
Dtarball.py12 def make_tarball(tarball_path, sources, base_dir, prefix_dir=''): argument
21 base_dir = os.path.normpath(os.path.abspath(base_dir))
25 common_path = os.path.commonprefix((base_dir, path))
48 def decompress(tarball_path, base_dir): argument
52 tar.extractall(base_dir)
/third_party/python/Lib/distutils/tests/
Dtest_archive_util.py304 base_dir = self._create_files()
306 res = make_archive(base_name, 'tar', base_dir, 'dist')
313 base_dir = self._create_files()
315 res = make_archive(base_name, 'gztar', base_dir, 'dist')
322 base_dir = self._create_files()
324 res = make_archive(base_name, 'bztar', base_dir, 'dist')
331 base_dir = self._create_files()
333 res = make_archive(base_name, 'xztar', base_dir, 'dist')
347 base_dir = self._create_files()
350 res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
[all …]
/third_party/lz4/tests/
Dtest-lz4-abi.py65 base_dir = os.getcwd() + '/..' # /path/to/lz4 variable
66 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/lz4/tests/versionsTest
68 lib_dir = base_dir + '/lib' # /path/to/lz4/lib
69 test_dir = base_dir + '/tests'
94 os.chdir(base_dir)
Dtest-lz4-versions.py57 base_dir = os.getcwd() + '/..' # /path/to/lz4 variable
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)
/third_party/jerryscript/tools/
Dsrcmerger.py173 def match_files(base_dir, pattern): argument
181 for path, _, files in os.walk(base_dir):
187 def collect_files(base_dir, pattern): argument
197 for fname in match_files(base_dir, pattern):
210 h_files = collect_files(args.base_dir, '*.h')
211 c_files = collect_files(args.base_dir, '*.c')
/third_party/skia/infra/bots/recipes/
Dtest_canvaskit.py40 base_dir = api.vars.build_dir
43 'src': base_dir.join('canvaskit.js'),
47 'src': base_dir.join('canvaskit.wasm'),
Dperf_pathkit.py44 base_dir = api.vars.build_dir
51 'src': base_dir.join('pathkit.js'),
55 'src': base_dir.join(bundle_name),
Dtest_pathkit.py44 base_dir = api.vars.build_dir
55 'src': base_dir.join('pathkit.js'),
60 'src': base_dir.join(bundle_name),
/third_party/flutter/skia/modules/skottie/utils/
DSkottieUtils.cpp80 sk_sp<FileResourceProvider> FileResourceProvider::Make(SkString base_dir) { in Make() argument
81 return sk_isdir(base_dir.c_str()) in Make()
82 ? sk_sp<FileResourceProvider>(new FileResourceProvider(std::move(base_dir))) in Make()
86 FileResourceProvider::FileResourceProvider(SkString base_dir) : fDir(std::move(base_dir)) {} in FileResourceProvider() argument
/third_party/skia/bin/
Dtry-clients8 base_dir=$(dirname "$0")
10 python "$base_dir/try.py" "mac_chromium_compile_dbg|G3_Framework|Android_Framework|Build-.*-Flutter"
/third_party/flutter/skia/bin/
Dtry8 base_dir=$(dirname "$0")
10 python "$base_dir/try.py" "$@"
Dtry-clients8 base_dir=$(dirname "$0")
10 python "$base_dir/try.py" "mac_chromium_compile_dbg|G3_Framework|Android_Framework|Build-.*-Flutter"
/third_party/flutter/skia/tools/
Dchrome_release_branch8 base_dir=$(dirname "$0")
10 PYTHONDONTWRITEBYTECODE=1 exec python -u "$base_dir/chrome_release_branch.py" "$@"
/third_party/skia/modules/skresources/src/
DSkResources.cpp176 sk_sp<FileResourceProvider> FileResourceProvider::Make(SkString base_dir, bool predecode) { in Make() argument
177 return sk_isdir(base_dir.c_str()) in Make()
178 ? sk_sp<FileResourceProvider>(new FileResourceProvider(std::move(base_dir), predecode)) in Make()
182 FileResourceProvider::FileResourceProvider(SkString base_dir, bool predecode) in FileResourceProvider() argument
183 : fDir(std::move(base_dir)) in FileResourceProvider()
/third_party/cef/libcef/common/
Dfile_util_impl.cc55 bool CefCreateTempDirectoryInDirectory(const CefString& base_dir, in CefCreateTempDirectoryInDirectory() argument
61 if (base::CreateTemporaryDirInDir(base_dir, prefix, &result)) { in CefCreateTempDirectoryInDirectory()
/third_party/python/Lib/test/
Dtest_shutil.py781 base_dir = self.mkdtemp()
782 self.addCleanup(shutil.rmtree, base_dir, ignore_errors=True)
783 src_dir = os.path.join(base_dir, "t", "pg")
1310 root_dir, base_dir = self._create_files('')
1349 def _create_files(self, base_dir='dist'): argument
1352 dist = os.path.join(root_dir, base_dir)
1359 if base_dir:
1361 return root_dir, base_dir
1367 root_dir, base_dir = self._create_files()
1369 tarball = make_archive(base_name, 'gztar', root_dir, base_dir)
[all …]
/third_party/python/Lib/
Dshutil.py879 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument
938 tar.add(base_dir, filter=_set_uid_gid)
944 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument
963 zip_filename, base_dir)
968 path = os.path.normpath(base_dir)
973 for dirpath, dirnames, filenames in os.walk(base_dir):
1039 def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0, argument
1057 sys.audit("shutil.make_archive", base_name, format, root_dir, base_dir)
1066 if base_dir is None:
1067 base_dir = os.curdir
[all …]
/third_party/flutter/skia/infra/bots/recipes/
Dtest_canvaskit.py39 base_dir = api.vars.build_dir
83 args=[copy_dest, base_dir, bundle_name, out_dir],
Dperf_canvaskit.py39 base_dir = api.vars.build_dir
83 args=[copy_dest, base_dir, bundle_name, out_dir],
Dperf_pathkit.py42 base_dir = api.vars.build_dir
88 args=[copy_dest, base_dir, bundle_name, out_dir],
Dtest_pathkit.py42 base_dir = api.vars.build_dir
93 args=[copy_dest, base_dir, bundle_name, out_dir],
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/scripts/
Dupdate.py230 for base_dir, dirnames, filenames in os.walk(src):
233 relative = path.relpath(base_dir, src_base)
234 yield (path.join(base_dir, filename),

123