/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 | 204 def _copy_new_data_in_file(self, file_path, src_dir, dest_dir): argument 228 target_path = os.path.join(dest_dir, 239 def _log_diff(self, src_dir, dest_dir): argument 250 dest_dir = os.path.join(dest_dir, dir) 252 if not os.path.exists(dest_dir): 253 os.makedirs(dest_dir) 256 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/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/vulkan-validation-layers/build-android/ |
D | build.py | 247 dest_dir = os.path.join(installdir, properties['dest_dir']) 250 dst = os.path.join(dest_dir, d) 255 print(source_dir, ':', dest_dir, ":", f) 260 install_file(f, source_dir, dest_dir) 262 print(source_dir, ':', dest_dir, ":", f, "SKIPPED") 301 dest_dir = os.path.join(installdir, properties['dest_dir']) 303 dst = os.path.join(dest_dir, d)
|
/external/toolchain-utils/deprecated/ |
D | remote_gcc_build.py | 236 def ReplaceSysroot(chromeos_root, dest_dir, target): argument 245 command = 'sudo mv {0} {1}'.format(dest_dir, board_dir) 307 dest_dir): argument 312 local_flag = '--local -r {0}'.format(dest_dir) 438 args.chrome_version, args.dest_dir) 439 if args.local or not args.dest_dir: 450 dest_dir = misc.CanonicalizePath(args.dest_dir) 461 DownloadImage(target, build_id, dest_dir, chromeos_version) 462 ret = UnpackImage(dest_dir) 469 ret = ReplaceSysroot(chromeos_root, args.dest_dir, target)
|
D | repo_to_repo.py | 77 def _RsyncExcludingRepoDirs(self, source_dir, dest_dir): argument 81 dest_file = os.path.join(dest_dir, f) 86 command = 'rsync -a %s %s' % (source_file, dest_dir) 90 def MapSources(self, dest_dir): argument 92 return self._RsyncExcludingRepoDirs(self._root_dir, 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/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/toolchain-utils/deprecated/fdo_scripts/ |
D | profile_cycler.py | 68 dest_dir = os.path.join(self._profile_dir, 71 if os.path.exists(dest_dir): 72 command = 'rm -rf %s' % dest_dir 79 command = 'mkdir -p %s' % dest_dir 82 dest_dir,
|
/external/skia/tools/skp/ |
D | webpages_playback.py | 367 self._local_skp_dir, dest_dir=dest_dir_name) 492 def upload_dir_contents(self, source_dir, dest_dir): argument 523 def upload_dir_contents(self, source_dir, dest_dir): argument 525 'gsutil', 'cp', '-r', source_dir, '/'.join((self._url, dest_dir))]) 541 def upload_dir_contents(self, source_dir, dest_dir): argument 542 def copytree(source_dir, dest_dir): argument 543 if not os.path.exists(dest_dir): 544 os.makedirs(dest_dir) 547 dest = os.path.join(dest_dir, item) 552 copytree(source_dir, os.path.join(self._base_dir, 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/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…
|
/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()
|
D | zip.h | 157 const base::FilePath& dest_dir, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/external/v8/third_party/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()
|
D | zip.h | 157 const base::FilePath& dest_dir, 177 bool Unzip(const base::FilePath& zip_file, const base::FilePath& dest_dir);
|
/external/autotest/server/cros/servo/ |
D | servo.py | 41 def _extract_image_from_tarball(tarball, dest_dir, image_candidates): argument 53 if not os.path.exists(dest_dir): 54 os.mkdir(dest_dir) 65 ('tar xf %s -C %s %s' % (tarball, dest_dir, image)), 1237 dest_dir = os.path.join(os.path.dirname(tarball_path), 'EC') 1238 ec_image = _extract_image_from_tarball(tarball_path, dest_dir, 1243 return os.path.join(dest_dir, ec_image) 1265 dest_dir = os.path.join(os.path.dirname(tarball_path), 'BIOS') 1266 bios_image = _extract_image_from_tarball(tarball_path, dest_dir, 1271 return os.path.join(dest_dir, bios_image)
|
/external/autotest/client/common_lib/ |
D | packages.py | 822 def tar_package(self, pkg_name, src_dir, dest_dir, exclude_string=None): argument 828 tarball_path = os.path.join(dest_dir, pkg_name) 848 def untar_required(self, tarball_path, dest_dir): argument 854 checksum_path = os.path.join(dest_dir, '.checksum') 866 def untar_pkg(self, tarball_path, dest_dir): argument 875 (tarball_path, dest_dir)) 879 pkg_checksum_path = os.path.join(dest_dir,
|
/external/grpc-grpc/third_party/py/ |
D | python_configure.bzl | 106 dest_dir, 117 dest_dir = _normalize_path(dest_dir) 127 # If we have only one file to link we do not want to use the dest_dir, as 129 dest = '$(@D)/' + dest_dir + dest_files[i] if len( 134 outs.append(' "' + dest_dir + dest_files[i] + '",')
|
/external/toolchain-utils/deprecated/automation/common/ |
D | command.py | 223 def UnTar(tar_file, dest_dir): argument 225 MakeDir(dest_dir), Shell('tar', '-x', '-f', tar_file, '-C', dest_dir))
|
/external/autotest/client/cros/chameleon/ |
D | chameleon_video_capturer.py | 124 def write_images(self, frame_indices, dest_dir, image_format): argument 140 path = os.path.join(dest_dir, str(i) + '.' + image_format)
|