/external/python/parse_type/tasks/ |
D | _tasklet_cleanup.py | 82 def execute_cleanup_tasks(ctx, cleanup_tasks, dry_run=False): argument 97 executor.execute((cleanup_task, dict(dry_run=dry_run))) 106 def cleanup_dirs(patterns, dry_run=False, workdir="."): argument 135 if dry_run: 142 def cleanup_files(patterns, dry_run=False, workdir="."): argument 163 if dry_run: 202 def clean(ctx, dry_run=False): argument 211 execute_cleanup_tasks(ctx, cleanup_tasks, dry_run=dry_run) 212 cleanup_dirs(directories, dry_run=dry_run) 213 cleanup_files(files, dry_run=dry_run) [all …]
|
D | release.py | 89 def bump_version(ctx, new_version, version_part=None, dry_run=False): argument 92 if dry_run: 107 dry_run=False): argument 111 dry_run=dry_run) 134 def upload(ctx, repo=None, repo_url=None, dry_run=False, argument 142 if dry_run:
|
/external/toolchain-utils/ |
D | auto_delete_nightly_test_data.py | 32 def CleanNumberedDir(s, dry_run=False): argument 42 if misc.DeleteChromeOsTree(cd, dry_run=dry_run): 63 if dry_run: 74 def CleanDatedDir(dated_dir, dry_run=False): argument 83 if not CleanNumberedDir(s, dry_run): 111 def CleanChromeOsTmpFiles(chroot_tmp, days_to_preserve, dry_run): argument 124 if dry_run: 139 dry_run): argument 154 if dry_run: 169 def CleanChromeOsTmpAndImages(days_to_preserve=1, dry_run=False): argument [all …]
|
/external/python/cpython2/Lib/distutils/ |
D | dir_util.py | 19 def mkpath(name, mode=0777, verbose=1, dry_run=0): argument 70 if not dry_run: 82 def create_tree(base_dir, files, mode=0777, verbose=1, dry_run=0): argument 101 mkpath(dir, mode, verbose=verbose, dry_run=dry_run) 104 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument 126 if not dry_run and not os.path.isdir(src): 132 if dry_run: 138 if not dry_run: 155 if not dry_run: 163 verbose=verbose, dry_run=dry_run)) [all …]
|
D | archive_util.py | 51 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 81 mkpath(os.path.dirname(archive_name), dry_run=dry_run) 100 if not dry_run: 116 spawn(cmd, dry_run=dry_run) 121 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument 136 mkpath(os.path.dirname(zip_filename), dry_run=dry_run) 148 dry_run=dry_run) 161 if not dry_run: 194 dry_run=0, owner=None, group=None): argument 215 if not dry_run: [all …]
|
D | spawn.py | 18 def spawn(cmd, search_path=1, verbose=0, dry_run=0): argument 38 _spawn_posix(cmd, search_path, dry_run=dry_run) 40 _spawn_nt(cmd, search_path, dry_run=dry_run) 42 _spawn_os2(cmd, search_path, dry_run=dry_run) 63 def _spawn_nt(cmd, search_path=1, verbose=0, dry_run=0): argument 70 if not dry_run: 87 def _spawn_os2(cmd, search_path=1, verbose=0, dry_run=0): argument 93 if not dry_run: 116 def _spawn_posix(cmd, search_path=1, verbose=0, dry_run=0): argument 118 if dry_run:
|
D | cmd.py | 349 util.execute(func, args, msg, dry_run=self.dry_run) 352 dir_util.mkpath(name, mode, dry_run=self.dry_run) 365 dry_run=self.dry_run) 377 dry_run=self.dry_run) 381 return file_util.move_file(src, dst, dry_run = self.dry_run) 386 spawn(cmd, search_path, dry_run= self.dry_run) 391 base_dir, dry_run=self.dry_run,
|
D | util.py | 293 def execute (func, args, msg=None, verbose=0, dry_run=0): argument 308 if not dry_run: 331 verbose=1, dry_run=0, argument 388 if not dry_run: 428 spawn(cmd, dry_run=dry_run) 430 dry_run=dry_run) 463 if not dry_run:
|
/external/python/cpython3/Lib/distutils/ |
D | dir_util.py | 17 def mkpath(name, mode=0o777, verbose=1, dry_run=0): argument 68 if not dry_run: 80 def create_tree(base_dir, files, mode=0o777, verbose=1, dry_run=0): argument 97 mkpath(dir, mode, verbose=verbose, dry_run=dry_run) 100 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument 122 if not dry_run and not os.path.isdir(src): 128 if dry_run: 134 if not dry_run: 151 if not dry_run: 159 verbose=verbose, dry_run=dry_run)) [all …]
|
D | archive_util.py | 55 def make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 87 mkpath(os.path.dirname(archive_name), dry_run=dry_run) 106 if not dry_run: 122 spawn(cmd, dry_run=dry_run) 127 def make_zipfile(base_name, base_dir, verbose=0, dry_run=0): argument 137 mkpath(os.path.dirname(zip_filename), dry_run=dry_run) 149 dry_run=dry_run) 161 if not dry_run: 207 dry_run=0, owner=None, group=None): argument 228 if not dry_run: [all …]
|
D | cmd.py | 335 util.execute(func, args, msg, dry_run=self.dry_run) 338 dir_util.mkpath(name, mode, dry_run=self.dry_run) 347 dry_run=self.dry_run) 356 not self.force, dry_run=self.dry_run) 360 return file_util.move_file(src, dst, dry_run=self.dry_run) 365 spawn(cmd, search_path, dry_run=self.dry_run) 370 dry_run=self.dry_run,
|
/external/autotest/site_utils/stable_images/ |
D | stable_version.py | 89 def __init__(self, afe, dry_run): argument 91 self._dry_run = dry_run 248 def _create_version_map_handler(image_type, afe, dry_run): argument 249 return _IMAGE_TYPE_HANDLERS[image_type](afe, dry_run) 329 def set_mapping(afe, image_type, key, version, dry_run): argument 342 if dry_run: 344 handler = _create_version_map_handler(image_type, afe, dry_run) 367 def delete_mapping(afe, image_type, key, dry_run): argument 379 if dry_run: 381 handler = _create_version_map_handler(image_type, afe, dry_run) [all …]
|
/external/autotest/site_utils/ |
D | balance_pools.py | 117 def _log_info(dry_run, message, *args): argument 132 if dry_run: 316 def _exchange_labels(dry_run, hosts, target_pool, spare_pool): argument 334 _log_info(dry_run, 'Transferring %d DUTs from %s to %s.', 363 if not dry_run: 410 dry_run = arguments.dry_run 413 _log_info(dry_run, 'Balancing %s %s pool:', labels, main_pool.pool) 414 _log_info(dry_run, 425 _log_info(dry_run, 'Target is %d working DUTs; %s.', 428 _log_info(dry_run, [all …]
|
/external/python/cpython3/Lib/distutils/command/ |
D | clean.py | 53 remove_tree(self.build_temp, dry_run=self.dry_run) 64 remove_tree(directory, dry_run=self.dry_run) 71 if not self.dry_run:
|
/external/python/cpython2/Lib/distutils/command/ |
D | clean.py | 55 remove_tree(self.build_temp, dry_run=self.dry_run) 66 remove_tree(directory, dry_run=self.dry_run) 73 if not self.dry_run:
|
/external/pdfium/testing/tools/coverage/ |
D | coverage_report.py | 64 self.dry_run = args['dry_run'] 99 if not self.dry_run: 109 def check_output(self, args, dry_run=False, env=None): argument 111 if dry_run: 121 def call(self, args, dry_run=False, env=None): argument 123 if dry_run: 133 def call_silent(self, args, dry_run=False, env=None): argument 135 if dry_run: 177 return self.call(call_args, dry_run=self.dry_run) == 0 213 if self.call(binary_args, dry_run=self.dry_run, env=env) and self.verbose:
|
/external/angle/scripts/ |
D | roll_chromium_deps.py | 562 def _EnsureUpdatedMasterBranch(dry_run): argument 566 if not dry_run: 573 def _CreateRollBranch(dry_run): argument 575 if not dry_run: 579 def _RemovePreviousRollBranch(dry_run): argument 585 if not dry_run: 590 def _LocalCommit(commit_msg, dry_run): argument 592 if not dry_run: 597 def _LocalCommitAmend(commit_msg, dry_run): argument 599 if not dry_run: [all …]
|
/external/jsoncpp/devtools/ |
D | licenseupdater.py | 16 def update_license(path, dry_run, show_diff): argument 35 if not dry_run: 46 def update_license_in_source_directories(source_dirs, dry_run, show_diff): argument 63 update_license(source, dry_run, show_diff) 86 update_license_in_source_directories(args, options.dry_run, options.show_diff)
|
/external/python/setuptools/setuptools/command/ |
D | bdist_egg.py | 156 kw.setdefault('dry_run', self.dry_run) 184 if not self.dry_run: 208 if not self.dry_run: 216 if not self.dry_run: 234 dry_run=self.dry_run, mode=self.gen_header()) 236 remove_tree(self.bdist_dir, dry_run=self.dry_run) 307 if not self.dry_run: 308 mkpath(os.path.dirname(self.egg_output), dry_run=self.dry_run) 471 def make_zipfile(zip_filename, base_dir, verbose=0, dry_run=0, compress=True, argument 481 mkpath(os.path.dirname(zip_filename), dry_run=dry_run) [all …]
|
D | build_ext.py | 100 dry_run=self.dry_run 163 compiler=self.compiler, dry_run=self.dry_run, force=self.force 242 if not self.dry_run: 273 force=True, dry_run=self.dry_run) 277 force=True, dry_run=self.dry_run) 278 if os.path.exists(stub_file) and not self.dry_run:
|
/external/libyuv/files/tools_libyuv/autoroller/ |
D | roll_deps.py | 365 def _EnsureUpdatedMasterBranch(dry_run): argument 370 if not dry_run: 377 def _CreateRollBranch(dry_run): argument 379 if not dry_run: 383 def _RemovePreviousRollBranch(dry_run): argument 389 if not dry_run: 394 def _LocalCommit(commit_msg, dry_run): argument 396 if not dry_run: 468 _RemovePreviousRollBranch(opts.dry_run) 471 _EnsureUpdatedMasterBranch(opts.dry_run) [all …]
|
/external/libchrome/build/ |
D | get_syzygy_binaries.py | 72 def _SaveState(output_dir, state, dry_run=False): argument 76 if dry_run: 194 def _CleanState(output_dir, state, dry_run=False): argument 228 if not dry_run: 237 if not dry_run: 314 if not options.dry_run: 339 if not options.dry_run: 357 if options.dry_run and relpath in deleted: 364 if not options.dry_run: 471 if not options.dry_run: [all …]
|
/external/python/cpython2/Lib/distutils/tests/ |
D | setuptools_build_ext.py | 69 dry_run=self.dry_run 128 compiler=self.compiler, dry_run=self.dry_run, force=self.force 213 if not self.dry_run: 240 force=True, dry_run=self.dry_run) 244 force=True, dry_run=self.dry_run) 245 if os.path.exists(stub_file) and not self.dry_run:
|
/external/toolchain-utils/afdo_tools/ |
D | run_afdo_tryjob.py | 90 dry_run = args.dry_run 105 if not dry_run: 166 if not dry_run:
|
/external/python/cpython2/Lib/ |
D | shutil.py | 352 def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0, argument 385 if not dry_run: 407 if not dry_run: 416 def _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger): argument 425 if dry_run: 438 def _make_zipfile(base_name, base_dir, verbose=0, dry_run=0, logger=None): argument 453 if not dry_run: 465 _call_external_zip(base_dir, zip_filename, verbose, dry_run, logger) 471 if not dry_run: 542 dry_run=0, owner=None, group=None, logger=None): argument [all …]
|