/external/llvm-project/lldb/scripts/ |
D | install_custom_python.py | 30 def copy_one_file(dest_dir, source_dir, filename): argument 32 dest_path = os.path.join(dest_dir, filename) 38 dest_dir, argument 44 copy_one_file(dest_dir, source_dir, file + '.' + ext) 46 copy_one_file(dest_dir, source_dir, file + '_d.' + ext) 49 def copy_subdirectory(dest_dir, source_dir, subdir): argument 50 dest_dir = os.path.join(dest_dir, subdir) 52 print('Copying directory %s ==> %s...' % (source_dir, dest_dir)) 53 shutil.copytree(source_dir, dest_dir) 56 def copy_distro(dest_dir, dest_subdir, source_dir, source_prefix): argument [all …]
|
/external/autotest/client/bin/ |
D | local_host_unittest.py | 211 dest_dir = os.path.join(self.tmpdir.name, 'dest') 213 host.get_file(source_dir, dest_dir) 215 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file'))) 226 dest_dir = os.path.join(self.tmpdir.name, 'dest') 227 os.mkdir(dest_dir) 229 host.get_file(source_dir, dest_dir) 231 self.assertTrue(os.path.isfile(os.path.join(dest_dir, 'dir', 'file'))) 242 dest_dir = os.path.join(self.tmpdir.name, 'dest') 243 os.mkdir(dest_dir) 244 os.mkdir(os.path.join(dest_dir, 'dir')) [all …]
|
D | site_sysinfo.py | 205 def _copy_new_data_in_file(self, file_path, src_dir, dest_dir): argument 229 target_path = os.path.join(dest_dir, 240 def _log_diff(self, src_dir, dest_dir): argument 251 dest_dir = os.path.join(dest_dir, dir) 253 if not os.path.exists(dest_dir): 254 os.makedirs(dest_dir) 257 self._copy_new_data_in_file(src_file, src_dir, dest_dir)
|
/external/tensorflow/tensorflow/lite/micro/tools/make/ |
D | download_and_extract.sh | 36 local dest_dir=${am_dir}/boards/apollo3_evb/examples/hello_world/gcc_patched 38 rm -rf ${dest_dir} 39 mkdir ${dest_dir} 41 cp "${src_dir}/startup_gcc.c" "${dest_dir}/startup_gcc.c" 42 cp "${src_dir}/hello_world.ld" "${dest_dir}/apollo3evb.ld" 44 sed -i -e '114s/1024/1024\*20/g' "${dest_dir}/startup_gcc.c" 47 sed -i -e '3s/hello_world.ld/apollo3evb.ld/g' "${dest_dir}/apollo3evb.ld" 48 sed -i -e '3s/startup_gnu/startup_gcc/g' "${dest_dir}/apollo3evb.ld" 49 …\* XXX Currently not doing anything for global destructors. \*\/\\\n/g' "${dest_dir}/apollo3evb.ld" 50 ….o)\\\n \* to denote the HEAP start.\\\n \*\/\\\n end = .;/g' "${dest_dir}/apollo3evb.ld"
|
/external/python/cpython3/kokoro/ |
D | build.py | 104 def package_target(host, install_dir, dest_dir, build_id): argument 106 package_path = os.path.join(dest_dir, package_name) 108 os.makedirs(dest_dir, exist_ok=True) 141 def package_logs(out_dir, dest_dir): argument 142 os.makedirs(dest_dir, exist_ok=True) 145 with tarfile.open(os.path.join(dest_dir, "logs.tar.bz2"), "w:bz2") as tar: 152 dest_dir = argv[3] 161 package_target(host, install_dir, dest_dir, build_id) 164 package_logs(build_dir, dest_dir)
|
/external/python/oauth2client/scripts/ |
D | fetch_gae_sdk.py | 53 dest_dir = argv[1] if len(argv) > 1 else '.' 54 if not os.path.exists(dest_dir): 55 os.makedirs(dest_dir) 57 if os.path.exists(os.path.join(dest_dir, 'google_appengine')): 58 print('GAE SDK already installed at {0}, exiting.'.format(dest_dir)) 78 zip_contents.extractall(dest_dir)
|
/external/rust/crates/grpcio-sys/grpc/tools/profiling/microbenchmarks/bm_diff/ |
D | bm_build.py | 67 def _build_config_and_copy(cfg, benchmarks, dest_dir): argument 70 cfg_dir = dest_dir + '/%s' % cfg 79 dest_dir = 'bm_diff_%s' % name 80 shutil.rmtree(dest_dir, ignore_errors=True) 81 _build_config_and_copy('opt', benchmarks, dest_dir) 83 _build_config_and_copy('counters', benchmarks, dest_dir)
|
/external/skia/tools/svg/ |
D | svg_downloader.py | 30 dest_dir = os.path.join(output_dir, os.path.dirname(rel_file)) 32 dest_dir = output_dir 34 dest_file = os.path.join(dest_dir, prefix + os.path.basename(file_url)) 35 if not os.path.exists(dest_dir): 36 os.makedirs(dest_dir)
|
/external/pigweed/pw_arduino_build/py/pw_arduino_build/ |
D | file_operations.py | 131 def extract_zipfile(archive_file: str, dest_dir: str): 133 destination_path = Path(dest_dir) 136 archive.extract(info.filename, path=dest_dir) 142 def extract_tarfile(archive_file: str, dest_dir: str): 144 archive.extractall(path=dest_dir) 148 dest_dir: str, 175 _LOG.info("Installing into: %s", relative_or_absolute_path(dest_dir)) 189 dest_file = os.path.join(dest_dir, file_name) 196 return list(Path(dest_dir).rglob("*"))
|
/external/vulkan-validation-layers/build-android/ |
D | build.py | 252 dest_dir = os.path.join(installdir, properties['dest_dir']) 255 dst = os.path.join(dest_dir, d) 260 print(source_dir, ':', dest_dir, ":", f) 265 install_file(f, source_dir, dest_dir) 267 print(source_dir, ':', dest_dir, ":", f, "SKIPPED") 306 dest_dir = os.path.join(installdir, properties['dest_dir']) 308 dst = os.path.join(dest_dir, d)
|
/external/tensorflow/tensorflow/lite/ios/ |
D | extract_object_files_test.py | 52 dest_dir = self.create_tempdir().full_path 57 extract_object_files.extract_object_files(archive_file, dest_dir) 60 self.assertCountEqual(object_files, os.listdir(dest_dir)) 64 actual = pathlib.Path(os.path.join(dest_dir, file)).read_bytes()
|
D | extract_object_files.py | 49 dest_dir: str) -> None: 64 if not os.path.exists(dest_dir): 65 os.makedirs(dest_dir) 84 with open(os.path.join(dest_dir, final_name), 'wb') as object_file:
|
D | extract_object_files_main.py | 32 dest_dir = argv[2] 34 extract_object_files.extract_object_files(archive_file, dest_dir)
|
/external/autotest/client/cros/video/ |
D | chameleon_screenshot_capturer.py | 23 def __init__(self, chameleon_board, interface, display_facade, dest_dir, argument 39 self.dest_dir = dest_dir 97 fullpath = os.path.join(self.dest_dir, filename)
|
/external/llvm-project/clang/tools/scan-build-py/tests/unit/ |
D | test_intercept.py | 53 def create_csrutil(dest_dir, status): argument 54 filename = os.path.join(dest_dir, 'csrutil') 58 def create_sestatus(dest_dir, status): argument 59 filename = os.path.join(dest_dir, 'sestatus')
|
/external/skqp/tools/skp/ |
D | webpages_playback.py | 327 self._local_skp_dir, dest_dir=dest_dir_name) 440 def upload_dir_contents(self, source_dir, dest_dir): argument 471 def upload_dir_contents(self, source_dir, dest_dir): argument 473 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 489 def upload_dir_contents(self, source_dir, dest_dir): argument 490 def copytree(source_dir, dest_dir): argument 491 if not os.path.exists(dest_dir): 492 os.makedirs(dest_dir) 495 dest = os.path.join(dest_dir, item) 500 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/external/clang/tools/scan-build-py/tests/unit/ |
D | test_intercept.py | 54 def create_csrutil(dest_dir, status): argument 55 filename = os.path.join(dest_dir, 'csrutil') 59 def create_sestatus(dest_dir, status): argument 60 filename = os.path.join(dest_dir, 'sestatus')
|
/external/skia/tools/skp/ |
D | webpages_playback.py | 369 self._local_skp_dir, dest_dir=dest_dir_name) 493 def upload_dir_contents(self, source_dir, dest_dir): argument 524 def upload_dir_contents(self, source_dir, dest_dir): argument 526 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 542 def upload_dir_contents(self, source_dir, dest_dir): argument 543 def copytree(source_dir, dest_dir): argument 544 if not os.path.exists(dest_dir): 545 os.makedirs(dest_dir) 548 dest = os.path.join(dest_dir, item) 553 copytree(source_dir, os.path.join(self._base_dir, dest_dir))
|
/external/tflite-support/third_party/tensorflow/ |
D | tf_configure.bzl | 129 dest_dir, 142 dest_dir: directory to create symlink in. 161 dest_dir = _norm_path(dest_dir) 174 # If we have only one file to link we do not want to use the dest_dir, as 176 … dest = "$(@D)/" + dest_dir + dest_files[i] if len(dest_files) != 1 else "$(@D)/" + dest_files[i] 181 outs.append(' "' + dest_dir + dest_files[i] + '",') 182 dest_dir = "abc"
|
/external/toolchain-utils/llvm_tools/ |
D | bisect_clang_crashes.py | 48 dest_dir = os.path.join(temporary_directory, buildbucket_id) 49 dest_file = os.path.join(dest_dir, os.path.basename(url)) 53 subprocess.check_output(['tar', '-xJf', dest_file], cwd=dest_dir) 54 for src, script in get_crash_reproducers(dest_dir):
|
/external/autotest/utils/ |
D | packager.py | 90 def get_build_dir(name, dest_dir, pkg_type): argument 105 base_build_dir = os.path.join(dest_dir, 'client') 115 action, dest_dir=None): argument 145 build_dir = get_build_dir(name, dest_dir, pkg_type) 374 action=cur_action, dest_dir=options.output_dir) 378 action=cur_action, dest_dir=options.output_dir) 382 action=cur_action, dest_dir=options.output_dir)
|
/external/e2fsprogs/debugfs/ |
D | dump.c | 330 char *dest_dir; in do_rdump() local 338 dest_dir = argv[argc - 1]; in do_rdump() 342 if (stat(dest_dir, &st) == -1) { in do_rdump() 343 com_err("rdump", errno, "while statting %s", dest_dir); in do_rdump() 347 com_err("rdump", 0, "%s is not a directory", dest_dir); in do_rdump() 367 rdump_inode(ino, &inode, basename, dest_dir); in do_rdump()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | data_utils_test.py | 40 dest_dir = self.get_temp_dir() 59 untar=True, cache_subdir=dest_dir) 65 untar=True, cache_subdir=dest_dir) 68 extract=True, cache_subdir=dest_dir) 82 extract=True, cache_subdir=dest_dir) 85 extract=True, cache_subdir=dest_dir)
|
/external/zlib/google/ |
D | zip.cc | 175 bool Unzip(const base::FilePath& src_file, const base::FilePath& dest_dir) { in Unzip() argument 177 src_file, dest_dir, base::BindRepeating(&ExcludeNoFilesFilter), true); in Unzip() 181 const base::FilePath& dest_dir, in UnzipWithFilterCallback() argument 191 base::BindRepeating(&CreateFilePathWriterDelegate, dest_dir), in UnzipWithFilterCallback() 192 base::BindRepeating(&CreateDirectory, dest_dir), filter_cb, in UnzipWithFilterCallback()
|
/external/tensorflow/tensorflow/tools/pip_package/ |
D | build_pip_package.sh | 30 local dest_dir=$2 35 mkdir -p "${dest_dir}/$(dirname ${f})" 36 cp "${f}" "${dest_dir}/$(dirname ${f})/" 40 mkdir -p "${dest_dir}/local_config_cuda/cuda/cuda/" 41 …cp "${src_dir}/local_config_cuda/cuda/cuda/cuda_config.h" "${dest_dir}/local_config_cuda/cuda/cuda…
|