| /external/toolchain-utils/ |
| D | auto_delete_nightly_test_data.py | 35 def CleanNumberedDir(s, dry_run=False): argument 45 if misc.DeleteChromeOsTree(cd, dry_run=dry_run): 69 if dry_run: 83 def CleanDatedDir(dated_dir, dry_run=False): argument 92 if not CleanNumberedDir(s, dry_run): 105 "--dry_run", 106 dest="dry_run", 128 dry_run: bool, 165 if dry_run: 206 chroot_tmp: str, days_to_preserve: int, dry_run: bool [all …]
|
| /external/python/parse_type/tasks/ |
| D | _tasklet_cleanup.py | 45 def clean(ctx, dry_run=False): 82 def execute_cleanup_tasks(ctx, cleanup_tasks, dry_run=False): argument 85 REQUIRES: ``clean(ctx, dry_run=False)`` signature in cleanup tasks. 89 :param dry_run: Indicates dry-run mode (bool) 97 executor.execute((cleanup_task, dict(dry_run=dry_run))) 106 def cleanup_dirs(patterns, dry_run=False, workdir="."): argument 111 :param dry_run: Dry-run mode indicator (as bool). 135 if dry_run: 142 def cleanup_files(patterns, dry_run=False, workdir="."): argument 147 :param dry_run: Dry-run mode indicator (as bool). [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) 118 # def register_packages(ctx, repo=None, dry_run=False): 123 # if dry_run: 134 def upload(ctx, repo=None, repo_url=None, dry_run=False, argument 142 if dry_run: 173 # def upload_docs(ctx, repo=None, dry_run=False): 180 # if 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 88 'dry_run' flags are as for 'mkpath()'. 97 mkpath(dir, mode, verbose=verbose, dry_run=dry_run) 100 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument 109 return value is unaffected by 'update' or 'dry_run': it is simply 122 if not dry_run and not os.path.isdir(src): 128 if dry_run: 134 if not 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 | 94 # XXX A more explicit way to customize dry_run would be better. 96 if attr == 'dry_run': 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/python/setuptools/setuptools/_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 88 'dry_run' flags are as for 'mkpath()'. 97 mkpath(dir, mode, verbose=verbose, dry_run=dry_run) 100 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument 109 return value is unaffected by 'update' or 'dry_run': it is simply 122 if not dry_run and not os.path.isdir(src): 128 if dry_run: 134 if not 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 | 94 # XXX A more explicit way to customize dry_run would be better. 96 if attr == 'dry_run': 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/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 90 'dry_run' flags are as for 'mkpath()'. 101 mkpath(dir, mode, verbose=verbose, dry_run=dry_run) 104 preserve_symlinks=0, update=0, verbose=1, dry_run=0): argument 113 return value is unaffected by 'update' or 'dry_run': it is simply 126 if not dry_run and not os.path.isdir(src): 132 if dry_run: 138 if not 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 28 must be the exact path to the executable. If 'dry_run' is true, 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 [all …]
|
| D | cmd.py | 96 # XXX A more explicit way to customize dry_run would be better. 98 if attr == 'dry_run': 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,
|
| /external/jsoncpp/devtools/ |
| D | licenseupdater.py | 16 def update_license(path, dry_run, show_diff): argument 20 dry_run: if True, just print the path of the file that would be updated, 35 if not dry_run: 46 def update_license_in_source_directories(source_dirs, dry_run, show_diff): argument 51 dry_run: if True, just print the path of the file that would be updated, 63 update_license(source, dry_run, show_diff) 80 parser.add_option('-n', '--dry-run', dest="dry_run", action='store_true', default=False, 86 update_license_in_source_directories(args, options.dry_run, options.show_diff)
|
| /external/pdfium/testing/tools/coverage/ |
| D | coverage_report.py | 75 self.dry_run = args['dry_run'] 110 if not self.dry_run: 120 def check_output(self, args, dry_run=False, env=None): argument 122 if dry_run: 132 def call(self, args, dry_run=False, env=None): argument 134 if dry_run: 144 def call_silent(self, args, dry_run=False, env=None): argument 146 if dry_run: 188 return self.call(call_args, dry_run=self.dry_run) == 0 224 if self.call(binary_args, dry_run=self.dry_run, env=env) and self.verbose:
|
| /external/autotest/site_utils/stable_images/ |
| D | stable_version.py | 91 def __init__(self, afe, dry_run): argument 93 self._dry_run = dry_run 250 def _create_version_map_handler(image_type, afe, dry_run): argument 251 return _IMAGE_TYPE_HANDLERS[image_type](afe, dry_run) 331 def set_mapping(afe, image_type, key, version, dry_run): argument 342 @param dry_run Whether the `-n` option was supplied. 344 if dry_run: 346 handler = _create_version_map_handler(image_type, afe, dry_run) 369 def delete_mapping(afe, image_type, key, dry_run): argument 379 @param dry_run Whether the `-n` option was supplied. [all …]
|
| /external/crosvm/tools/chromeos/ |
| D | merge_bot | 199 for dry_run in list_active_dry_runs(): 200 print(dry_run.pretty_info()) 254 for dry_run in list_active_dry_runs(): 255 cq_votes = dry_run.get_votes("Commit-Queue") 257 print(dry_run, "CQ is still running.") 261 luci_messages = dry_run.get_messages_by(LUCI_EMAIL) 263 print(dry_run, "No luci messages yet.") 270 dry_run.review( 280 dry_run.review( 288 dry_run.abandon("Dry completed.") [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 322 If `dry_run` is true, perform no changes, but log the `atest` 325 @param dry_run Whether the logging is for a dry run or 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, [all …]
|
| /external/python/setuptools/setuptools/command/ |
| D | bdist_egg.py | 149 kw.setdefault('dry_run', self.dry_run) 177 if not self.dry_run: 201 if not self.dry_run: 209 if not self.dry_run: 227 dry_run=self.dry_run, mode=self.gen_header()) 229 remove_tree(self.bdist_dir, dry_run=self.dry_run) 426 def make_zipfile(zip_filename, base_dir, verbose=0, dry_run=0, compress=True, argument 436 mkpath(os.path.dirname(zip_filename), dry_run=dry_run) 444 if not dry_run: 449 if not dry_run:
|
| D | build_ext.py | 101 dry_run=self.dry_run 166 compiler=self.compiler, dry_run=self.dry_run, force=self.force 245 if not self.dry_run: 280 force=True, dry_run=self.dry_run) 284 force=True, dry_run=self.dry_run) 285 if os.path.exists(stub_file) and not self.dry_run:
|
| /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/python/setuptools/setuptools/_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/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/toolchain-utils/cros_utils/ |
| D | file_utils.py | 20 DRY_RUN = False variable in FileUtils 23 def Configure(cls, dry_run): argument 24 cls.DRY_RUN = dry_run 28 if cls.DRY_RUN:
|